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

⌈⌋ ⎇ branch:  streamtuner2


Check-in [3c42414ef6]

Overview
Comment:Fix some links, add forgotten reddit help page.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 3c42414ef6e72f931cbcc75f8645e163331e3928
User & Date: mario on 2020-05-21 12:36:05
Other Links: manifest | tags
Context
2020-10-30
19:33
Update to pluginconf 0.7.0 - more independent fallback functions, fix `id` tuple (again?!) check-in: 499156b19b user: mario tags: trunk
2020-05-21
12:36
Fix some links, add forgotten reddit help page. check-in: 3c42414ef6 user: mario tags: trunk
11:55
refine dependency list check-in: 8aa9e67d20 user: mario tags: trunk
Changes

Added help/channel_reddit.page version [c813486940].

























































































































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
45
46
47
48
49
50
51
52
53
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
<page	xmlns="http://projectmallard.org/1.0/"
	type="guide"
	id="reddit">

<info>
	<link type="guide" xref="index#channels"/>
	<link type="guide" xref="channels#list"/>
	<link type="guide" xref="configuration#plugins"/>
        <desc>Music subreddit posts</desc>
</info>

<title><media type="image" src="img/channel_reddit.png" /> Reddit</title>
<subtitle><link href="http://reddit.com/r/Music">//reddit.com/r/Music</link></subtitle>

	<p>Reddit harbours a growing list of music-related communities.
        User-contributed audio files or audio/video links can be found
	across almost two hundred subreddit boards. There's always a
	mix of new bands or fresh releases to be found, along with
	links to all-time favourites etc.</p>

        <list>
          <item><p>Around <em>620</em> subreddits are queried. That's just a selected part
          though. Most others do not see as many audio posts / or are just for
          discussion and news.</p></item>
          <item><p>Besides youtube/mp3 files, this channel may also
          list Soundcloud/Mixcloud/Bandcamp links.</p></item>
          <item><p><link href="http://radioreddit.com/">Radioreddit.com</link>
          even provides streaming servers. Its categories are: main, random,
          rock, metal, indie, electronic, hiphop, talk, festival.</p></item>
          <item><p>Thumbnails are slightly larger (32x26) than regular favicons.</p></item>
          <item><p>All entries also show poster name and user votes.</p></item>
        </list>

        <p>See the config options if you want to keep regular webpage posts - instead
        of just showing playable content.</p>

        <section id="statusicons">
        <subtitle>Status icons</subtitle>
        <p>Station entries may contain a status icon (leftmost; where usually
        the bookmarks ✩ star goes).
        It's a quick indicator of what type of content is linked:</p>
        <terms>
          <item>
            <title>â–¶</title>
            <p>Directly playable entry (MP3, MP4, Youtube, MIDI)</p>
          </item>
          <item>
            <title>▶▶</title>
            <p>Walled garden (Soundcloud, Spotify, Bandcamp, Mixcloud) → playable</p>
          </item>
          <item>
            <title>▮▮</title>
            <p>Walled gardens without playback handler.</p>
          </item>
          <item>
            <title>📄</title>
            <p>Just a web-link. Those are kept with the ☒ keep all option.</p>
          </item>
        </terms>

        <p>Please note that <guiseq><gui>Channel</gui> <gui>Reload category
        tree</gui></guiseq> will retrieve a differently structured list of
        subreddits from the /r/music wiki.</p>

</section>


<section id="options">
 <title>Configuration</title>

 <p>There's a few options for the reddit plugin:</p>
 
  <terms>
  <item>
    <title><code>🔟  Number of pages to fetch </code></title>
    <p>Influences how many JSON requests are made to assemble a list of
    subreddit posts with playable content. (For this plugin that's
    configurable, because counting streams wouldn't work as reddit
    result lists vary wildly in their usable links.)</p>
  </item>
  <item>
    <title><code>🔰 Filter walled gardens </code></title>
    <p>Many music posts on reddit meanwhile point to one of Soundcloud,
    Spotify, Bandcamp, Mixcloud. Those are basically just links you had
    open in your browser. --
    Now those are labeled "walled gardens" here, because they're hording
    user content behind a paywall/registration-wall, fiddly NIH APIs,
    non-standard audio formats, web-only players and sessioning.</p>
    <p>There's a few players or tools for those better-known hosters. But
    smaller services fall under the radar. Which is why I think it's unfair
    to provide out-of-the-box support for just those four services.
    -- But anyway, you can disable filtering them, if you like. And then
    <link xref="config_apps">configure</link> a custom player:</p>
    <table shade="rows" rules="rows cols">
      <tr><td><p><app>audio/soundcloud</app></p></td><td><p><cmd><link href="https://github.com/rekado/soundCLI">soundcli %srv</link></cmd></p></td></tr>
      <tr><td><p><app>audio/spotify</app></p></td>   <td><p><cmd><link href="https://github.com/fabiofalci/sconsify">sconsify %srv</link></cmd></p></td></tr>
      <tr><td><p><app>audio/bandcamp</app></p></td>  <td><p><cmd><link href="https://rg3.github.io/youtube-dl/supportedsites.html">youtube-dl -g %srv</link></cmd></p></td></tr>
      <tr><td><p><app>audio/mixcloud</app></p></td>  <td><p><cmd><link href="https://rg3.github.io/youtube-dl/supportedsites.html">vlc $(youtube-dl -g %srv)</link></cmd></p></td></tr>
    </table>
    <p>Obviously you want to pipe <cmd>youtube-dl</cmd> to an actual audio player
    again. VLC also supports a few services directly or via plugins.</p>
  </item>
  <item>
    <title><code>💫 Keep all web links </code></title>
    <p>Besides audio/video links, some subreddits link to album art or
    are just news feeds. Enable the "keep all" option to retain them.
    Such entries will open in your web browser instead of an audio player,
    of course.</p>
  </item>
  </terms>

 <note style="info"><p>To utilize Soundcloud links, there's an <link
 xref="contrib_features">extra url_soundcloud plugin</link>. 
 It overrides the <file>audio/soundcloud</file> player config, and
 resolves such streams to MP3 urls (session typically times out
 quickly, so no bookmarking/export possible etc).</p></note>

</section>

</page>

Modified help/channel_shoutcast.page from [f6ed0fa198] to [91f42f9004].

13
14
15
16
17
18
19
20

21
22
23
24
25
26
27
28
29
30
13
14
15
16
17
18
19

20
21
22
23
24
25
26
27
28
29
30







-
+











	<p>SHOUTcast is the name of a MP3 streaming server software. It automatically collects all
	station lists on shoutcast.com.
        </p>

        <list>
		<item><p>Station entries usually provide current playing information.</p></item>
		<item><p>Stream links are plain <link xref="pls">PLS files</link>.</p></item>
		<item><p>Stream links are plain <link xref="filetypes#pls">PLS files</link>.</p></item>
		<item><p>Genres are subcategorized, so the main groups in the category
		list must be expanded to see the interesting entries.</p></item>
        </list>

        <p>Since being sold from AOL to Radionomy, the directory got cut down. There are no longer
        entries for currently played songs, and homepage links are largely gone. Hencewhy the
        Shoutcast channel is no longer considered a primary feature.</p>


</page>

Modified help/glossary_files.page from [99ea8c383e] to [1d1d5a03f7].

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
45
46
47
48
49
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
45
46
47
48
49







-
+











-
+














-
+







</info>

<title>File types</title>

<p>Streamtuner2 understands different playlist formats as used by various
directory services and audio players.</p>

<section>
<section id="m3u">
<title>.M3U files</title>
<info><desc>MP3-URL playlist file.</desc></info>
<p>M3U files are one of the simplest playlist types. They're often used by desktop audio players.</p>
<p>The MIME type of these files is <sys>audio/x-mpegurl</sys> and often contain just a list of URLs:</p>
<code mime="audio/x-mpegurl">
#M3U
http://123.45.67.189:8222/
http://123.45.67.222:7555/
</code>
</section>

<section>
<section id="pls">
<title>.PLS files</title>
<info><desc>Playlist file format.</desc></info>
<p>Playlist files often have the extension <file>.pls</file>. It's the primary station
stream link format of SHOUTcast, and was popularized by WinAmp.</p>
<p>The MIME type of these files is <sys>audio/x-scpls</sys> and they often look like: </p>
<code mime="audio/x-scpls">
[playlist]
numberofentries=1
File1=http://123.45.67.189:8222
Title1=(#1 - 555/2000) radio station Xyz - top 100 - all the hitzez
Length1=-1
</code>
</section>

<section>
<section id="json">
<title>.JSON files</title>
<info><desc>JavaScript Object-Notation</desc></info>
<p>JSON is a data representation format derived from Javascript (the browser embedded
programming language for websites). It's commonly used because it provides a
nice balance between terse and exact data representation, while still being
readable.</p>
<p>Streamtuner2 uses it to store all of its configuration and radio station data files.
57
58
59
60
61
62
63
64

65
66
67
68
69
70
71
57
58
59
60
61
62
63

64
65
66
67
68
69
70
71







-
+







  },
  { "title": "second" }
]
</code>
<p>It's also the basis for JSPF, the JSON variant of XSPF.</p>
</section>

<section>
<section id="xspf">
<title>.XSPF files</title>
<info><desc>Xiph Shareable Playlist File</desc></info>
<p>The Xiph foundation manages the Ogg streaming format, Vorbis and other
codecs, and introduced the "XML shareable playlist format" or "XSPF" for short.
They're hard to look at and not very widespread. On the upside they
contain more meta information than any other playlist store.</p>
<p>As MIME type <sys>application/xspf+xml</sys> and they often look like: </p>