Alberto González Rodríguez wrote:
> Traceback (most recent call last):
>   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 493, in 
> eventhandler
>     if not isinstance(menu, Menu) and menu.eventhandler(event):
>   File "/usr/lib/python2.4/site-packages/freevo/tv/tvguide.py", line 
> 226, in eventhandler
>     pi.actions()[0][0](menuw=self.menuw)
>   File "/usr/lib/python2.4/site-packages/freevo/tv/programitem.py", line 
> 197, in play
>     self.parent.player('tv', self.prog.channel_id)
>   File "/usr/lib/python2.4/site-packages/freevo/tv/tvmenu.py", line 81, 
> in start_tv
>     plugin.getbyname(plugin.TV).Play(mode, tuner_id)
>   File "/usr/lib/python2.4/site-packages/freevo/tv/plugins/mplayer.py", 
> line 172, in Play
>     mpl = '--prio=%s %s -vo %s %s -ao %s %s -slave %s %s' % args
> TypeError: not enough arguments for format string
> 
> printing args:
> (-20, '/usr/bin/mplayer', 'xv,sdl,x11,', '', 'alsa', '-autosync 100 
> -nolirc -nojoystick -autoq 100 -screenw 1024 -screenh 768 -fs', 'tv:// 
> -tv driver=v4l2:freq= 
> 479.250:device=/dev/video0:input=0:norm=PAL:width=640:height=480:outfmt=yuy2 
> ')
> 
> if i removed the last %s works ok

There was a very similar problem reported on the list a couple of weeks 
ago. It was caused by the MPLAYER_ARGS in local_config out of date with 
the args in freevo_conf.py and so didn't have the correct number of 
arguments.

I should change this to use a dict and then it would be easier to read, 
like -vo %(vo)s -ao %(ao)s

Duncan


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to