TV_CHANNELS=None and use info from the DB. Before the last changes to tv/channels.py it used TV_CHANNELS to compliment data from the DB. Now it is all or nothing.
...
Since reading channels from memory is faster than querying the DB then we simply load the DB on bootup and merge it with TV_CHANNELS, or vice verca. In tv/channels.py there is the hook to pyepg so we can again have it check TV_CHANNELS when it creates or refreshes the ChannelList.
I see in src/config.py near the end it loops through TV_CHANNELS to figure out which devices to add particular channels to. I think it should be ChannelList that makes sure it contains everything from TV_CHANNELS. Then instead of going through TV_CHANNELS and adding channels to each device, we can go through ChannelList (actually tv.channels.get_channels()) and add channels to each device. If there are multiple access_ids (tuner id or dvb name) then we will have that info from TV_CHANNELS or TV_DEFAULT_SETTINGS if we only have the DB to go by.
bed time.... i may be repeating myself now.. -Rob
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel