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

⌈⌋ ⎇ branch:  streamtuner2


Changes To player

Changes to "player" between 2014-04-14 00:16:17 and 2015-04-10 16:33:44

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
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
44


+
+
-
+

+
+
+
+
+
+
-
+
+
+
+




















-
+







<h2>Player config</h2>

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 reality you only need "audio/mpeg" (MP3) since that is the most common format.
The config dialog for player settings allows to associate different media playback apps for different audio streams. 

<img src="doc/tip/help/html/img/configapps.png" align=right style="margin:15pt; border: 5pt dashed #ddd">

  *  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) not a library app (banshee, rythmbox, gmusicbrowser, streamtuner2 itself).
  *  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.


<h3>placeholders</h3>

Various placeholders can be specified after the command:

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

<tr>
  <th>%pls</th> <th rowspan=2>Link to on-server .pls stream list (shoutcast default)</th>
  <th>%pls</th> <th rowspan=2>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)</th>
</tr>
<tr>
  <th>%url</th>
</tr>
<tr>
  <td>%u</td>  <td rowspan=3>Aliases for %pls and %url</td>
</tr>
43
44
45
46
47
48
49


















50
51
52
53
54
55
56
57

58


54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85

86
87
88
89







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+







-
+

+
+
</tr>
<tr>
  <td>%d</td>   <td rowspan=2>Aliases for %srv</td>
</tr>
<tr>
  <td>%s</td>
</tr>

<tr>
  <th>%xspf</th>  <th>Xiph shareable playlist format (for newer apps)</th>
</tr>
<tr>
  <td>%x</td>   <td>Alias for %xspf</td>
</tr>

<tr>
  <th>%jspf</th>  <th>Not widely supported</th>
</tr>
<tr>
  <th>%smil</th>  <th>Not widely supported</th>
</tr>
<tr>
  <th>%asx</th>  <th>Outdated format</th>
</tr>

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