I figured out it was an issue with my account/password that produced the error in the log file. I had to play around some with combinations of activating the player and the XM_CMD variable to get it finally working.
I do not have the xmonline.cookies file. Could that be why after listening to 1 station and going to another I get the "You need to log back in.." message? If so, can I touch that file and it get used, or do I not have something enabled properly? This is great and thanks so much for the help. The next question is....."Has there been any effort to grab the song/artist metadata to show on the screen?" Thanks again, Joe Quoting Justin Wetherell <[EMAIL PROTECTED]>: > Do the following log files exists? > -rw-r--r-- 1 root root 429 2007-08-14 09:19 xmonline.cookies > -rw-r--r-- 1 root root 15723 2007-08-14 09:19 xmonlinelogin.out > -rw-r--r-- 1 root root 2703 2007-08-14 09:19 xmonlinestream.out > > Do you have curl installed? > > On 8/13/07, Joe Harris <[EMAIL PROTECTED]> wrote: > > > > Sorry I thought I put that in the initial post but clearly I didn't. I am > > running 1.7.2 on fedora core 6. When I initially installed the plugin, I > > was > > running 1.6.2 and upgraded to 1.6.3 then 1.7.2 thinking it may fix this > > error. > > > > I still have my logs back to original version and the error has remained > > the > > same. > > > > Thanks again for the hard work and the help. > > > > Joe > > > > Quoting Justin Wetherell <[EMAIL PROTECTED]>: > > > > > I guess we should start from the beginning. Which version of Freevo are > > you > > > using? > > > > > > On 8/13/07, Joe Harris <[EMAIL PROTECTED]> wrote: > > > > > > > > Any other thoughts on this? It would surely rock to be able to use > > > > xmradio > > > > through my freevo :) > > > > > > > > Here is my exact error at this time: > > > > > > > > <excerpt from main-0.log> > > > > File "/usr/lib/python2.4/site-packages/freevo/main.py", line 290, in > > > > eventhandler > > > > app.eventhandler(event) > > > > File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 673, in > > > > eventhandler > > > > action( arg=arg, menuw=self ) > > > > File > > "/usr/lib/python2.4/site-packages/freevo/audio/plugins/xmradio.py", > > > > line > > > > 140, in create_stations_menu > > > > station_items += [ radio_item ] > > > > UnboundLocalError: local variable 'radio_item' referenced before > > > > assignment > > > > </excerpt from main-0.log> > > > > > > > > > > > > Maybe the files I have are wrong(or possibly need to reside > > > > elsewhere). Here > > > > are the md5's if it helps(i don't think we ever get to the player one: > > > > > > > > [EMAIL PROTECTED] ~]# md5sum > > > > /usr/lib/python2.4/site-packages/freevo/audio/plugins/xmradio.py > > > > b79a20f067306891e3bda07627b6d8be > > > > /usr/lib/python2.4/site-packages/freevo/audio/plugins/xmradio.py > > > > > > > > [EMAIL PROTECTED] ~]# md5sum > > > > /usr/lib/python2.4/site-packages/freevo/audio/plugins/xmradioplayer.py > > > > e42c9d6407bc20f3bc5fd7ee95ac2ab6 > > > > /usr/lib/python2.4/site-packages/freevo/audio/plugins/xmradioplayer.py > > > > > > > > > > > > Quoting Joe Harris <[EMAIL PROTECTED]>: > > > > > > > > > I do have that section with the exception of having an extra line: > > > > > > > > > > XM_CMD='mplayer' > > > > > > > > > > under the activation of the plugin. Below is the excerpt: > > > > > > > > > > plugin.activate('audio.xmradio') > > > > > XM_CMD='mplayer' > > > > > XM_USER='[EMAIL PROTECTED]' > > > > > XM_PASS='my password' > > > > > XM_RATE='high' > > > > > XM_STATIONS = [ ('XMU', '43'), > > > > > ('Lucy', '54'), > > > > > ('Fred', '44'), > > > > > ('Ethel', '47'), > > > > > ('Cafe', '45')] > > > > > > > > > > Quoting Justin Wetherell <[EMAIL PROTECTED]>: > > > > > > > > > > > Do you have the channels defined in your "local_conf.py" file? > > Here is > > > > my > > > > > > relative entry in the "local_conf.py" file. > > > > > > > > > > > > plugin.activate('audio.xmradio') > > > > > > XM_USER='[EMAIL PROTECTED]' > > > > > > XM_PASS='MyPassword' > > > > > > XM_RATE='high' > > > > > > XM_STATIONS = [ ('The 60s', '6'), > > > > > > ('The 70s', '7'), > > > > > > ('The 80s', '8'), > > > > > > ('The 90s', '9'), > > > > > > ('X Country', '12'), > > > > > > ('Bluegrass Junction', '14'), > > > > > > ('Flight 26', '26'), > > > > > > ('Deep Tracks', '40'), > > > > > > ('XM Cafe', '45'), > > > > > > ('Music Lab', '51'), > > > > > > ('The Rhyme', '65'), > > > > > > ('Bluesville', '74'), > > > > > > ('The Virus', '202'), > > > > > > ('Home Ice', '204') ] > > > > > > > > > > > > On 8/7/07, Joe Harris <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > I am trying to get this plugin working and am getting an error: > > > > > > > > > > > > > > File "/usr/lib/python2.4/site-packages/freevo/main.py", line > > 290, > > > > in > > > > > > > eventhandler > > > > > > > app.eventhandler(event) > > > > > > > File "/usr/lib/python2.4/site-packages/freevo/menu.py", line > > 673, > > > > in > > > > > > > eventhandler > > > > > > > action( arg=arg, menuw=self ) > > > > > > > File > > > > > "/usr/lib/python2.4/site-packages/freevo/audio/plugins/xmradio.py", > > > > > > > line > > > > > > > 133, in create_channels_menu > > > > > > > > > > > > > > Any suggestions? > > > > > > > > > > > > > > Thanks in advance > > > > > > > > > > > > > > Joe > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > This SF.net email is sponsored by: Splunk Inc. > > > > > > > Still grepping through log files to find problems? Stop. > > > > > > > Now Search log events and configuration files using AJAX and a > > > > browser. > > > > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > > > _______________________________________________ > > > > > > > Freevo-users mailing list > > > > > > > Freevo-users@lists.sourceforge.net > > > > > > > https://lists.sourceforge.net/lists/listinfo/freevo-users > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > This SF.net email is sponsored by: Splunk Inc. > > > > > Still grepping through log files to find problems? Stop. > > > > > Now Search log events and configuration files using AJAX and a > > browser. > > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > > _______________________________________________ > > > > > Freevo-users mailing list > > > > > Freevo-users@lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/freevo-users > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Splunk Inc. > > > > Still grepping through log files to find problems? Stop. > > > > Now Search log events and configuration files using AJAX and a > > browser. > > > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > > _______________________________________________ > > > > Freevo-users mailing list > > > > Freevo-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/freevo-users > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > _______________________________________________ > > Freevo-users mailing list > > Freevo-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/freevo-users > > > ---------------------------------------------------------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users