-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi

I did not test the patch; but I upgraded to a recent SVN 11493, and this
version works fine.

a.

ps: here follows the original discussion

Duncan Webb ha scritto:
> A Mennucc wrote:
>> hi,
>>
>> I am trying the latest SVN; I got backtraces when trying to record, or
>> to play, TV channels; the attched patch fixed those. The backtraces were
>> like:
>>
>>
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.5/site-packages/freevo/main.py", line 307, in
>> eventhandler
>>     app.eventhandler(event)
>>   File "/usr/share/pyshared/freevo/menu.py", line 779, in eventhandler
>>     if not isinstance(menu, Menu) and menu.eventhandler(event):
>>   File "/usr/share/pyshared/freevo/tv/tvguide.py", line 229, in eventhandler
>>     pi.actions()[0][0](menuw=self.menuw)
>>   File "/usr/share/pyshared/freevo/tv/programitem.py", line 172, in play
>>     self.parent.player('tv', self.prog.channel_id)
>>   File "/usr/share/pyshared/freevo/tv/tvmenu.py", line 82, in start_tv
>>     p.Play(mode, tuner_id)
>>   File "/usr/share/pyshared/freevo/tv/plugins/mplayer.py", line 83, in Play
>>     vg = self.current_vg = self.fc.getVideoGroup(tuner_channel, True)
>>   File "/usr/share/pyshared/freevo/tv/channels.py", line 125, in
>> getVideoGroup
>>     return config.TV_VIDEO_GROUPS[group]
>> IndexError: list index out of range
>>
>> adding some print statements, I saw that getVideoGroup was called with
>> chan=19, and was setting group=-19
> 
> 
> Hi Andrea,
> 
> Will you test this patch as I can't test it for numeric channels?
> 
> This should work and keep the same behaviour plus fix the '0' problem to
> allow the 0 video group to be used for play-back. This assumes that
> there is no TV channel 0, AFAICS TV channels always start at 1.
> 
> Thanks
> Duncan
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Freevo-devel mailing list
> Freevo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freevo-devel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoK5FoACgkQ9B/tjjP8QKTN0QCdFXnCV063t6lQsYCIl+Xen8Zc
OOgAn0DCQawyTQRx1u0BaahYOa8q8/Z9
=brNW
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Freevo-devel mailing list
Freevo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to