MythTV and XMRadio

From JoatWiki
Jump to: navigation, search

The MythTV Wiki has a page on integrating XMRadio with MythTV but it's just a bit confusing. There's a couple things left unsaid which leaves the user with no audio streams (there's a missing step or two). Here's my notes:

1) Grab the tarball via

 wget http://creasonfamily.com/files/mythtv/mythtv_xm_stream_0.1.0.tar.gz

2) As root, untar the tarball and run the script via

tar -zxf mythtv_xm_stream_0.1.0.tar.gz
cd mythtv_xm_stream
perl install.pl

Just accept the defaults. You don't need the proper username and password just yet, you'll rerun this script again later.

3) (Here's the missing step) "su" to the mythtv user and then create the .xmonline folder via:

su - mythtv
mkdir /home/mythtv/.xmonline

Note: this assumes that MythTV runs as the mythtv user. Your mileage may vary here.

4) As the mythtv user, run "xamp 48" and answer the prompts. This time, you want to give the script a legitimate username and password.

5) If you run "xamp 48" again, you should get an error or two but the music should start playing. Stop the music by typing in "xamp kill".

6) Next, edit the files as directed under "Hack the default theme" at http://www.mythtv.org/wiki/index.php/Integrate_XM Note: where it tells you to add a button, be sure you locate it where you want it. XMRadio lists these in the same order as what's in mainmenu.xml.

7) Run your MythTV front-end. You should see a "Play XM Radio" button on the first menu.


<comments>MythTV_and_XMRadio</comments>

Personal tools