.
D 2012-01-10T14:45:07.979
L player
P c716d010a0b61fda5b95df8018509ec0f26ecc6b
U mario
W 1327
<h2>Player config</h2>
The config dialog for player settings allows to associate different media playback apps for different audio streams. In reality you only need "audio/mpeg" (MP3) since that is the most common format.
Note that you have to specify an actual player (audacious, vlc, exaile, mplayer, totem) not a library app (banshee, rythmbox, gmusicbrowser, streamtuner2 itself).
<h3>placeholders</h3>
Various placeholders can be specified after the command:
<dl>
<dt>%m3u
<dd>Locally (downloaded/converted) .m3u file
<dt>%f
<dt>%g
<dt>%m
<dd>aliases to %m3u
</dd>
<hr>
<dt>%pls
<dd>Link to on.server .pls stream list (shoutcast default)
<dt>%url
<dt>%u
<dt>%r
<dt>%l
<dd>Aliases for %pls and %url
</dd>
<hr>
<dt>%srv
<dd>Extracted direct link to streaming server (e.g. http://example.com/stream:25078)
<dt>%d
<dt>%s
<dd>Aliases for %pls and %url
</dd>
</dl>
If no placeholder is specified in the configuration a default %m3u is appended.
<h3>shell syntax</h3>
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).
Z 19e23163a2ba3129515fe983fad4785b