[mythtv-users] MythTV XM Satellite Radio Integration

Josh TwoOneSix at thatclothingco.com
Tue Apr 10 21:31:43 UTC 2007


Tom Flair wrote:
>
>
> On 4/9/07, *Josh* <TwoOneSix at thatclothingco.com 
> <mailto:TwoOneSix at thatclothingco.com>> wrote:
>
>     Tom Flair wrote:
>     >
>     > On 4/8/07, *Josh* <TwoOneSix at thatclothingco.com
>     <mailto:TwoOneSix at thatclothingco.com>
>     > <mailto:TwoOneSix at thatclothingco.com
>     <mailto:TwoOneSix at thatclothingco.com>>> wrote:
>     >
>     >     Inspired by feedback from my Integrate Sirius
>     >     (http://www.mythtv.org/wiki/index.php/Integrate_Sirius) Wiki
>     article I
>     >     decided to kill my weekend by Integrating XM in a similar
>     "hack."
>     >     Hopefully XM users find it useful. It works very much in the
>     same
>     >     way as
>     >     the Sirius hack only it doesn't require anything other then
>     MythTV and
>     >     mplayer to function. It may not be a full featured plug-in
>     but it
>     >     will
>     >     get you listening to your XM streams right from your MythTV
>     GUI. :-)
>     >
>     >     http://www.mythtv.org/wiki/index.php/Integrate_XM
>     >
>     >     ---
>     >     Josh
>     >
>     >
>     >
>     >     _______________________________________________
>     >     mythtv-users mailing list
>     >     mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>     <mailto:mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>>
>     >     http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>     >
>     >
>     >
>     > I've been having issues running the script.  I'm not a programmer by
>     > any stretch of the imagination, but I can copy/paste the code
>     with the
>     > best of them.  :P
>     >
>     > I try to run xamp setup but this is the error message that I
>     always get:
>     >
>     > ./xamp: line 167: syntax error near unexpected token `('
>     > ./xamp: line 167: `egrep "[(]Not .*? " xmonlinelogin.out >
>     /dev/null'
>     >
>     > Suggestions?
>     >
>     ------------------------------------------------------------------------
>     >
>     > _______________________________________________
>     > mythtv-users mailing list
>     > mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>     > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>     >
>     That normally happens when there is something like a " character
>     missing. Try to re-copy and paste the script from the wiki. It may
>     be a
>     dumb question because I don't know your level to familiarity with
>     vi (if
>     that is the editor you're using), but are you hitting 'insert' before
>     pasting the code? You could verify that by making sure the first 6
>     lines
>     of your code look like:
>     ~~~~~~~~~~~~~~~~~~~~
>     #!/bin/bash
>     # Thanks to B. Galliart
>     # Modified by Elisamuel Resto <user00265 at gmail.com
>     <mailto:user00265 at gmail.com>>
>     # Added config file, broke off song lookup,
>     # did a few other things, and tweaked for
>     # MythTV usage by Josh <TwoOneSix at thatclothingco.com
>     <mailto:TwoOneSix at thatclothingco.com>>
>     ~~~~~~~~~~~~~~~~~~~~
>
>     I just did a copy and paste and then did a diff on the files and they
>     came back identical so try the copy-and-paste again. If that doesn't
>     work hit me back with your distro and IDE.
>
>     --
>     Josh
>
>
>
>     _______________________________________________
>     mythtv-users mailing list
>     mythtv-users at mythtv.org <mailto:mythtv-users at mythtv.org>
>     http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>
> I don't know how it happened, but I managed to miss a " on line 43  
> (echo "kdialog: KDE only. ) This is after multiple copy/pastes of the 
> script, but oh well.  It works great!
>
> Thanks for the contribution!
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   

Sorry, that wasn't you. I think I fat fingered that line when I removed 
some text after I copy and pasted from my machine. Someone graciously 
went in and fixed it before I got a chance to look into it (man, I love 
Wiki's!).

Glad to hear you're up and running now.

-- 
Josh





More information about the mythtv-users mailing list