Regarding the first problem, you need to run epg_xmltv.py on the
command-line if you have an empty TV_CHANNELS, it'll generate a list
from the TV listings. 

As for the second problem, you can try the latest CVS which explicitly
skips over missing stop dates, though since I started using tv_sort,
it hasn't happened. 

The only situation I can think of is TV listings at the very end of
the guide (i.e. shows beginning at 11 but ending afterwards) cannot be
fixed by tv_sort, since xmltv doesn't know when they end.

The best bet is to try a snapshot of CVS where the 'stop' bug is fixed
as well as running epg_xmltv.py from the command line via 'freevo
execute'

On Thu, Mar 20, 2003 at 10:23:08PM -0600, K. Creason wrote:
> Greets-
> I've tried to pound my way through this, and I can't make it work.
> Yes- I've read the wiki and conf file. I've done the tv_grab_na|tv_sort.
> I've tried tv_sort --by-chan too.
> I've set TV_CHANNELS = 'None'; I've also tried '', and no quotes, and all
> lowercase. Slightly different results, but it's all broken.
> 
> I also think there is something wrong with my xmltv; I can create the
> TV_CHANNEL entries by hand to match the xmltv exactly, and I still get a
> corrupted database error.
> 
> After I get this fixed... then I can find out if there's a problem with the
> tuner module not being quite right. I get a tv module crash w/out a db
> trying to watch a channel.
> 
> Yeah, that's a total of three problems.
> Grr. Perhaps I going about it the wrong way. Tuner first?
> 
> 
> 
> epg_xmltv.py errors below.
> I've got the latest xmltv, and all the latest CPAN modules it required. Plus
> a few optionals.
> 
> here is setting "TV_CHANNELS = 'None' "
> Logging info in /var/log/freevo/internal-epg_xmltv-0.log
> ----------------------------------------------------------------------------
> ---
> Starting src/tv/epg_xmltv.py:stdin at Thu Mar 20 21:26:30 2003
> Logging info in /var/log/freevo/internal-epg_xmltv-0.log
> ----------------------------------------------------------------------------
> ---
> Starting src/tv/epg_xmltv.py:stderr at Thu Mar 20 21:26:30 2003
> Loading configure settings: /etc/freevo/freevo.conf
> Reading config file /etc/freevo/freevo.conf
> Cfg file data: "chanlist = us-bcast"
> Cfg file data: "display = x11"
> Cfg file data: "geometry = 800x600"
> Cfg file data: "jpegtran = /usr/bin/jpegtran"
> Cfg file data: "mplayer = ./runtime/apps/mplayer/mplayer"
> Cfg file data: "tv = ntsc"
> Cfg file data: "version = 1.0"
> Loading cfg: ./freevo_config.py
> Using MPlayer: ./runtime/apps/mplayer/mplayer
> Loading cfg overrides: /usr/local/freevo/local_conf.py
> Using MPlayer: ./runtime/apps/mplayer/mplayer
> ROM_DRIVES: Auto-detected and added "('/media/cdrom', '/dev/cdrom', 'CD-1')"
> ROM_DRIVES: Auto-detected that /dev/dvd is the same device as /dev/cdrom,
> skipping
> 
> WARNING: DVD protection override disabled! You will not be able to play
> protected DVDs!
> 
> 
> Getting the TV Guide, this can take a couple of minutes...
> 
> XMLTV, trying to read raw file (/tmp/TV.xml)
> epg_xmltv.py: Only adding channels in list
> Couldn't load the TV Guide, got an exception!
> 
> Traceback (most recent call last):
>   File "src/tv/epg_xmltv.py", line 143, in get_guide
>     cached_guide = load_guide()
>   File "src/tv/epg_xmltv.py", line 200, in load_guide
>     (id, disp, tunerid) = data[:3]
> ValueError: need more than 1 value to unpack
> -------------------------------------------------------
> here is "None"
> 
> <snip>
> Getting the TV Guide, this can take a couple of minutes...
> 
> XMLTV, trying to read raw file (/tmp/TV.xml)
> epg_xmltv.py: Adding all channels
> Couldn't load the TV Guide, got an exception!
> 
> Traceback (most recent call last):
>   File "src/tv/epg_xmltv.py", line 143, in get_guide
>     cached_guide = load_guide()
>   File "src/tv/epg_xmltv.py", line 234, in load_guide
>     xmltv_programs = xmltv.read_programmes(util.gzopen(config.XMLTV_FILE))
>   File "/src/tv/xmltv.py", line 329, in read_programmes
>     programmes.append(_node_to_programme(node))
>   File "/src/tv/xmltv.py", line 300, in _node_to_programme
>     programme[attr.encode(locale)] = node.attrs[(u'', attr)]
> KeyError: (u'', u'stop')
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Tablet PC.  
> Does your code think in ink? You could win a Tablet PC. 
> Get a free Tablet PC hat just for playing. What are you waiting for? 
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users


-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to