After much befuddlement and frustration, I've finally resolved this
problem.  I went back to earlier versions of mplayer.py in svn until I
found the latest version that would work displaying live TV (10609)
and did a diff with the version I was using from Freevo 1.8.3 to see
if I could figure out what's causing the recent versions to not work.
After much more tracing, I located the problem here:

240        #command = self.sort_filter(command)
241
242        command += ['%(url)s' % args]
243
244        _debug_(' '.join(command[1:]))
245
246        self.mode = mode

Although the debug statement in line 244 was showing the correct
mplayer command in my log:

/usr/bin/mplayer -slave -vo xv,sdl,x11, -ao oss:/dev/dsp -autosync 100
-nolirc -nojoystick -autoq 100 -screenw 800 -screenh 600 -fs -nocache
tv:// -tv 
driver=v4l2:freq=55.250:device=/dev/video0:input=0:norm=NTSC:width=640:height=480:outfmt=yuy2

this command is never actually constructed for execution.  That's why
when I copied this debug line from my log and pasted it into a
terminal session, it would work correctly.  In other works, debug
displays the correct syntax of the mplayer command that is presumed to
be executed, but that's not what is actually executed.  So, I just
added the following statement and now the mplayer plug-in displays the
correct channel for watching live TV:

245        command = (' '.join(command[1:]))

I don't know if this is the "right" way to fix the problem, but it
works for me and hopefully it may help others.

Art S R

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to