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

⌈⌋ ⎇ branch:  streamtuner2


Diff

Differences From Artifact [bdce36aed8]:

To Artifact [99ea8c383e]:


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
</section>

<section>
<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 represantion, while still being
readable.</p>
<p>Streamtuner2 uses it to store all of its configuration and radio station data files.
The MIME type of these files is <sys>application/json</sys> and they often look like: </p>
<code mime="application/json">
[
  {
    "title": "Station title..",
    "url": "http://1.2.3.4:8000/",
    "homepage": "http://radio.org/",
  },
  { "title": "second" }
]
</code>
<p>It's also the basis for JSPF, the JSON variant of XSPF.</p>
</section>

<section>
<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 XML shareable playlist format "XSPF". 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>
<code mime="application/xspf+xml"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
  <trackList>
    <track>







|




















|
|







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
</section>

<section>
<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.
The MIME type of these files is <sys>application/json</sys> and they often look like: </p>
<code mime="application/json">
[
  {
    "title": "Station title..",
    "url": "http://1.2.3.4:8000/",
    "homepage": "http://radio.org/",
  },
  { "title": "second" }
]
</code>
<p>It's also the basis for JSPF, the JSON variant of XSPF.</p>
</section>

<section>
<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>
<code mime="application/xspf+xml"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
  <trackList>
    <track>
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102

<section>
<title>Uncommon formats</title>
<p>Various other file formats are in existence, but not widely used:</p>
<list>
  <item>
  <title>SMIL</title>
  <p>Synchronized Multimedia Integration Language is a HTML-style
  audio/video/stream-link format.</p>
  </item>
  <item>
  <title>ASX</title>
  <p>Is a Windows-only format, a variation of SMIL. There's an abhorrent
  number of similar formats, like .ASF and .WPL, basically doing the same
  thing. Nobody knows why.</p>







|







88
89
90
91
92
93
94
95
96
97
98
99
100
101
102

<section>
<title>Uncommon formats</title>
<p>Various other file formats are in existence, but not widely used:</p>
<list>
  <item>
  <title>SMIL</title>
  <p>Synchronized Multimedia Integration Language is an HTML-style
  audio/video/stream-link format.</p>
  </item>
  <item>
  <title>ASX</title>
  <p>Is a Windows-only format, a variation of SMIL. There's an abhorrent
  number of similar formats, like .ASF and .WPL, basically doing the same
  thing. Nobody knows why.</p>
114
115
116
117
118
119
120
121
122
123
124
125
126
  <p>*.desktop files can contain just one link.</p>
  </item>
  <item>
  <title>.url</title>
  <p>*.url (Internet Shortcut) files also are single-link containers.</p>
  </item>
</list>
<p>For a comparison of what various audio player support, see also
<link href="http://fossil.include-once.org/streamtuner2/wiki/Playlist+format+support">Playlist format support</link>
in the ST2 fossil wiki.</p>
</section>

</page>







|





114
115
116
117
118
119
120
121
122
123
124
125
126
  <p>*.desktop files can contain just one link.</p>
  </item>
  <item>
  <title>.url</title>
  <p>*.url (Internet Shortcut) files also are single-link containers.</p>
  </item>
</list>
<p>For a comparison of what various audio players support, see also
<link href="http://fossil.include-once.org/streamtuner2/wiki/Playlist+format+support">Playlist format support</link>
in the ST2 fossil wiki.</p>
</section>

</page>