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

⌈⌋ ⎇ branch:  streamtuner2


Changes To player

Changes to "player" between 2012-01-10 14:45:07 and 2014-04-14 00:12:15

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17







18
19
20
21
22


23
24
25
26
27
28
29
30





31
32
33
34
35



36
37
38
39
40
41
42
43
1
2
3
4
5
6
7
8
9
10







11
12
13
14
15
16
17





18
19








20
21
22
23
24





25
26
27
28
29
30
31
32
33
34
35










-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+








<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
<table>
<tr>
  <th>%m3u</th> <td> Locally (downloaded/converted) .m3u file </td>
  <th>%f</th> <td rowspan=3>  aliases to %m3u </td>
  <th>%g</th>
  <th>%m</th>

  </dd>
<hr>
  <dt>%pls
    <dd>Link to on.server .pls stream list (shoutcast default)
  <dt>%url
  <th>%pls</th> <td rowspan=2>Link to on.server .pls stream list (shoutcast default)</td>
  <th>%url</th>
  <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)
  <th>%u</th>  <td rowspan=3>Aliases for %pls and %url</td>
  <th>%r</th>
  <th>%l</th>
   
  <th>%srv</th>  <td>Extracted direct link to streaming server (e.g. http://example.com/stream:25078)</td>
  <dt>%d
  <dt>%s
    <dd>Aliases for %pls and %url
  </dd>
</dl>
  <th>%d</th>   <td rowspan=2>Aliases for %pls and %url</td>
  <th>%s</th>
</table>

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