I have two systems, both use the same exact local_conf.py and the same Freevo release. I wrote a plugin to listen to XM radio online. The first system, the plugin works fine the second it doesn't work. I can't seem to find the problem.

Here is the log from the system that works:
mplayer.py (177): MPlayer.play(): Starting cmd=['--prio=-20', '/usr/local/bin/mplayer', '-slave', '-autosync', '100', '-nolirc', '-autoq', '100', '-screenw', '1024', '-screenh', '768', '-fs', '-vo', 'null', '-ao', 'alsa', '', '', '-cache', '100', '" http://player.xmradio.com/hotstream/metafile.jsp?op=xm_radio&ch=6&speed=high&s=1160532657623&e=1160532672623&h=9bc6afba30e2ec66e2f8bcfc28eb1865&partner=XMROUS "\n']
self.t1.isAlive()=True, self.t2.isAlive()=True
ChildApp.__init__(), pid=7837, app=/usr/local/bin/mplayer -slave -autosync 100 -nolirc -autoq 100 -screenw 1024 -screenh 768 -fs -vo null -ao alsa -cache 100 " http://player.xmradio.com/hotstream/metafile.jsp?op=xm_radio&ch=6&speed=high&s=1160532657623&e=1160532672623&h=9bc6afba30e2ec66e2f8bcfc28eb1865&partner=XMROUS "
, poll=-1
player.py (116): error, try next player
self.t1.isAlive()=True, self.t2.isAlive()=True
ChildApp.__init__(), pid=7844, app=/usr/local/bin/fbxine -V none -A alsa --stdctl --no-lirc " http://player.xmradio.com/hotstream/metafile.jsp?op=xm_radio&ch=6&speed=high&s=1160532657623&e=1160532672623&h=9bc6afba30e2ec66e2f8bcfc28eb1865&partner=XMROUS"
, poll=-1
player.py (116): error, try next player
mplayer -cache 100 -playlist " http://player.xmradio.com/hotstream/metafile.jsp?op=xm_radio&ch=6&speed=high&s=1160532657623&e=1160532672623&h=9bc6afba30e2ec66e2f8bcfc28eb1865&partner=XMROUS"

self.t1.isAlive()=True, self.t2.isAlive()=True
ChildApp.__init__(), pid=7861, app= mplayer -cache 100 -playlist " http://player.xmradio.com/hotstream/metafile.jsp?op=xm_radio&ch=6&speed=high&s=1160532657623&e=1160532672623&h=9bc6afba30e2ec66e2f8bcfc28eb1865&partner=XMROUS"
, poll=-1
Radio Player event handler PLAY_START

As you can see, after trying a couple of different players, mplayer finally starts (its the playlist option that makes this work) and the music begins to play.

On the other system, with everything set-up te same; It tries the first player and then quits, never trying the playlist option:
mplayer.py (177): MPlayer.play(): Starting cmd=['--prio=-20', '/usr/local/bin/mplayer', '-slave', '-autosync', '100', '-nolirc', '-autoq', '100', '-screenw', '1024', '-screenh', '768', '-fs', '-vo', 'null', '-ao', 'alsa', '', '', '-cache', '100', '" http://player.xmradio.com/hotstream/metafile.jsp?op=xm_radio&ch=7&speed=high&s=1160533696899&e=1160533711899&h=0085518c3adf26c928b912a5f8c73cdb&partner=XMROUS "\n']
self.t1.isAlive()=True, self.t2.isAlive()=True
ChildApp.__init__(), pid=7485, app=/usr/local/bin/mplayer -slave -autosync 100 -nolirc -autoq 100 -screenw 1024 -screenh 768 -fs -vo null -ao alsa -cache 100 " http://player.xmradio.com/hotstream/metafile.jsp?op=xm_radio&ch=7&speed=high&s=1160533696899&e=1160533711899&h=0085518c3adf26c928b912a5f8c73cdb&partner=XMROUS "
, poll=0
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Freevo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to