Update of "player"
Artifact ID: | 1cb77299995555eef8b41c0e94f98ae28bc745a7 |
---|---|
Page Name: | player |
Date: | 2015-04-10 16:35:35 |
Original User: | mario |
Mimetype: | text/x-markdown |
Parent: | 6a298885928d87b2b700ca29810830f3847746c1 (diff) |
Next | cd66aaff542a4af1fb365d36879954656660d100 |
Player config
See also Configuration Apps.
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 can 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, rythmbox, gmusicbrowser, streamtuner2 itself) will not work.
After changing an application name, a green indicator should appear.
Placeholders
Various placeholders can be specified after the command:
<style> article .content table { width: 75%; margin: 5pt 15pt; } </style>
%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) |
%url | |
%u | Aliases for %pls and %url |
%r | |
%l | |
%srv | Extracted direct link to streaming server (e.g. http://example.com/stream:25078) |
%d | Aliases for %srv |
%s | |
%xspf | Xiph shareable playlist format (for newer apps) |
%x | Alias for %xspf |
%jspf | Not widely supported |
%smil | Not widely supported |
%asx | Outdated format |
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).