Update of "player"
Artifact ID: | 976ea8394ac369a77208a4d17d4b01d4975a58d0 |
---|---|
Page Name: | player |
Date: | 2012-01-10 14:45:07 |
Original User: | mario |
Parent: | c716d010a0b61fda5b95df8018509ec0f26ecc6b (diff) |
Next | 80bb2fc4716ab3063411c16af8cc0b6338b0f991 |
Player config
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).
placeholders
Various placeholders can be specified after the command:
- %m3u
- Locally (downloaded/converted) .m3u file
- %f
- %g
- %m
- %g
- aliases to %m3u
- %pls
- Link to on.server .pls stream list (shoutcast default)
- %url
- %u
- %r
- %l
- %u
- Aliases for %pls and %url
- %srv
- Extracted direct link to streaming server (e.g. http://example.com/stream:25078)
- %d
- %s
- Aliases for %pls and %url
If no placeholder is specified in the configuration a default %m3u 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).