Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ ⎇ branch:  streamtuner2


Update of "player"

Overview

Artifact ID: 6a298885928d87b2b700ca29810830f3847746c1
Page Name:player
Date: 2015-04-10 16:33:44
Original User: mario
Parent: d3d604fac60abdd8190edb5ad4d7881da0d1691c (diff)
Next 1cb77299995555eef8b41c0e94f98ae28bc745a7
Content

Player config

See also Configuration Apps(doc/trunk/help/html/config_apps.html).

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:

%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).