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

⌈⌋ branch:  streamtuner2

Artifact [1d1d5a03f7]

Artifact 1d1d5a03f745f1d1c712a7f6bcf1be24a3bf5fdf:

<page	xmlns=""

	<link type="guide" xref="glossary#filetypes"/>
        <desc>PLS, M3U, JSON files types.</desc>

<title>File types</title>

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

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

<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">
Title1=(#1 - 555/2000) radio station Xyz - top 100 - all the hitzez

<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
<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": "",
    "homepage": "",
  { "title": "second" }
<p>It's also the basis for JSPF, the JSON variant of XSPF.</p>

<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>
<code mime="application/xspf+xml"><![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="">
      <title>Top 500 hitz station XY</title>
      <info>Pop, Rock, Future-Jazz</info>
<p>A variation of this format exists as JSPF, using JSON (yay!) instead of XML.</p>

<title>Uncommon formats</title>
<p>Various other file formats are in existence, but not widely used:</p>
  <p>Synchronized Multimedia Integration Language is an HTML-style
  audio/video/stream-link format.</p>
  <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>
  <p>QuickTime Link files are also a variation of SMIL</p>
  <p>.B4S is a failed WinAmp XML playlist format.</p>
  <p>*.desktop files can contain just one link.</p>
  <p>*.url (Internet Shortcut) files also are single-link containers.</p>
<p>For a comparison of what various audio players support, see also
<link href="">Playlist format support</link>
in the ST2 fossil wiki.</p>