Hello,
Hi!
I try to watch tv with the current snapshot, but I get these errors:
No problem. :)
File "/home/nebl/download/freevo/src/tv/channels.py", line 191, in tunerSetFreq
freq = tv.freq.CHANLIST[vg.tuner_chanlist][str(chan)]
KeyError: E2
In CVS we (I :P) have centralized the freevo channel handling code into this file (channels.py). It relies on a rather complicated config entry called VIDEO_GROUPS (containing VideoGroup objects). A "video group" is really a collection of devices and their properties including things like video / audio devs, tv norm, input types, etc.
The tunerSetFreq() method that failed here first checks your cusom frequency table for the channel you want (E2 in your case) and if it doesn't find it there (yours didn't) it will look it up in Freevo's frequency table for your configured norm. So, if you don't configure VIDEO_GROUPS I think it defaults to NTSC... E2 isn't in a freq table for NTSC so it failed.
I will make it so it won't crash like this when that happens, and maybe print a helpful message.
TV_CHANNELS , TV.xml is ok, I can watch tv with freevo 1.4.1.
Yep, there's a new one, VIDEO_GROUPS. I'm sorry but its a bit complicated. Hopefully we can sort that out. I'm looking forward to an XML based config file with some user friendly front-ends. :) All in due time.
Can please someone tell me where to search / what to change ?
Please search both lists for VIDEO_GROUPS and VideoGroup. I don't think there's a wiki item on it yet unfortunately. You should find some suitable examples. You may also look at src/config.py for VideoGroup and the sample logal_conf.py may have some info as well, maybe in src/tv/channels.py as well.
Hop this helps! -Rob
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Freevo-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-users
