[mythtv-users] Streaming from XM Radio Online - possibly mythstream issue?

Jarett Creason nobleiceman at gmail.com
Fri Feb 20 21:27:46 UTC 2009


On Fri, Feb 20, 2009 at 12:41 PM, Pete Cap <peteoutside at yahoo.com> wrote:

> I used the default script linked from the wiki.  This is on the latest
> MythDora so maybe that has something to do with it.
> The script does not copy library.xml over; I had to do that myself.
>
> So, I just went in and edited the script to remove the <depends> tag.  The
> menu item appears but when you select it nothing at all happens.
>
> On a hunch, I went and retried the install procedure after making sure user
> "mythtv" could sudo (before I had attempted the install as root).
> This seemed to solved the problem...sort of.  I now have this "Stream XM"
> menu option and I can browse through the different categories and channels.
>
> However, there is no song information, and it takes up to a full minute to
> change stations.  Also, I just quit mythfrontend and the music is still
> playing.  Not so great.  But I think this is less a technical issue and more
> one of presentation.
>
> Any ideas for improving it, or should I start playing with the plugin and
> try to see where I can help out?
>
> --Pete
>

Yes, the install script must be run as the user whom launches the
mythfrontend.  I think I had that note in the readme somewhere, but I've
gone ahead and updated the wiki page to clarify as it was probably too
hidden or easily missed.

As far as the no song information, what did you specify as your program to
pop up the song information (gmessage, xmessage, kdialog)?  Are you sure
that you have that program installed properly?  You can try troubleshooting
on the command line by just calling the "xamp" script directly so see if
there is any additional error information printed to the console.

Also, this is not a real MythTV plugin, but much more of a hack of seperate
scripts to allow launching them from the MythTV menus.  This is why when
exiting the frontend, the music continues, because it's not a native part of
Myth.

I added in an automatic menu option under the Stream XM menu at the very
bottom which says "Stop Listening".  This kills the streaming, and is the
only easy way to do so currently "out of the box".  For my own setup, I've
edited my .lircrc file and assigned a button on my remote to stop playback
using irexec, like this:

begin
    prog = irexec
    button = Home
    repeat = 0
    config = /usr/bin/xamp kill
end

The playback of the stream does often take some time to start, just like on
the xmradio webpage.  There is very little to do about that, as far as I
know.

Jarett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20090220/ee3c17b3/attachment.htm>


More information about the mythtv-users mailing list