Sirius on the PlayStation 3
First things first, a demonstration of the whole thing in action:
Sirius Internet Radio on PlayStation 3 with Mediatomb from Matthew Ernisse on Vimeo.
- Install Sipie (http://sipie.sourceforge.net/)
- Install VLC (http://www.videolan.org/vlc/)
- Grab a copy of mediatomb-sirius.py (http://bagend.ub3rgeek.net/cgi-bin/cvsweb.cgi/misc-scripts/mediatomb-sirius.py)
- Configure Mediatomb (see below)
- Create a directory in your shared folder to contain the Sirius channel list stub files
- In that directory, run mediatomb-sirius.py create to create the stub files.
Configuring Mediatomb:
In your mediatomb config.xml
- In the <extension-mimetype> container, add:
<map from="sirius" to="audio/x-sirius-playlist"/>
- In the <mimetype-contenttype> container, add:
<treat mimetype="audio/x-sirius-playlist" as="playlist"/>
- In the <mimetype-profile-mappings> container, add:
<transcode mimetype="audio/x-sirius-playlist" using="sirius"/>
- And finally in your <profile> container, add (editing the command option to include the path where you put mediatomb-sirius.py):
<profile name="sirius" enabled="yes" type="external"> <mimetype>audio/L16</mimetype> <first-resource>yes</first-resource> <accept-url>no</accept-url> <sample-frequency>44100</sample-frequency> <audio-channels>2</audio-channels> <hide-original-resource>yes</hide-original-resource> <agent command="mediatomb-sirius.py" arguments="%in %out"/> <buffer size="1048576" chunk-size="4096" fill-size="1024"/> </profile>