player

Player config

The config dialog for player settings allows to associate different media playback apps for different audio streams.

In practice you may want to define the same application for both.

You could even edit out all but the audio/* fallback entry.

Note that you have to specify an actual player (audacious, vlc, exaile, mplayer, totem). Playlist manager apps (banshee, rhythmbox, gmusicbrowser, streamtuner2 itself) will not work.

After changing an application name, a green indicator should appear.
This however does not apply to Windows. The automatic application detection is not supported on this platform.

Note also that on Windows any path containing spaces must be enclosed in double quotes ("P:\Mozilla Firefox\firefox.exe", e.g) (which is of course not an audio player, but can also be configured on this settings page). You may also consider to add any path to your audio/video player application or preferred internet browser to the %Path% environment variable.

Placeholders

Various placeholders can be specified after the command:

%m3u

Locally (downloaded/converted) .m3u file

%f

aliases to %m3u

%g

%m

%pls

Link to on-server .pls stream list (default, works with most players, and is often faster as ST2 does not need to convert the playlist)

If no placeholder is specified in the configuration a default %pls is appended.

Shell syntax

The commands are mostly free-form. You can use various shell idioms. For example pkill vlc ; vlc %url to only have one running instance of players that would otherwise run in parallel (VLC also has an option for that, which would apply globally then).

Notes for Windows: Shell commands are invoked using the Windows Start command. If they are targeting a non-GUI-application like streamripper.exe the syntax is:

Configuration samples for selected Windows players

While for the common players on Linux no special config options are needed there are differences when using players on the Windows platform. The following table is a non-representative selection of some.

VLC Media Player

[Path]\vlc.exe --one-instance

You can omit the --one-instance parameter if you set Allow only one instance in the VLC preferences.(Applies likewise to the Linux version of VLC)

Windows Media Player

[Path]\wmplayer.exe %asx

The Path parameter is usually not needed

Media Player Classic

/D [Path] mpc-hc64.exe /D [Path] mpc-hc.exe

In order to reuse any open MP Classic instance set Use the same player for each media file in the player's options.

AIMP3

[Path]\aimp.exe /ADD_PLAY "%pls"

The %pls placeholder must be given enclosed in double quotes. Some stations therefore will not play.