Tanja wrote: > Hi > > Seems that I do have a problem with the time format here. > I guess I will have to look into this. > The grabber works perfectly with freevo-1.x. > Do you have any hints on this?
All I know about dates in xmltv data is that there are three different representations of dates. The first is version 5 in local time ie: date="20070218162001 +0100" next is dates in GMT ie: date="20070218152621 +0000" and the last is dates in version 6 ie: date="2007-02-18T15:27:15Z" As far as I know we use the first one in freevo-1 don't know what freevo-2 uses. Duncan > > > LOG message > 2007-02-18 15:17:55,668 INFO [ epg] __init__.py 1072: update > backend xmltv > 2007-02-18 15:17:55,672 INFO [ xmltv] __init__.py 1072: grabbing > listings using tv_grab_de_epgdata.py > --pin=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > 2007-02-18 15:17:56,698 INFO [ rpc] __init__.py 1072: close socket > for <kaa.rpc.Channel (server) 8> > 2007-02-18 15:17:56,699 WARNING [ epg] __init__.py 1072: disconnect > client <kaa.rpc.Channel (server) - > disconnected> > 2007-02-18 15:18:44,332 INFO [ xmltv] __init__.py 1072: not > configured to use tv_sort, skipping > 2007-02-18 15:18:44,333 INFO [ xmltv] __init__.py 1072: parse xml file > 2007-02-18 15:18:44,671 INFO [notifier] __init__.py 1072: create > thread notifier pipe > 2007-02-18 15:18:47,194 ERROR [notifier] __init__.py 1072: removed > timer 2 > Traceback (most recent call last): > File > "/usr/local/freevo-2.0//lib/python2.4/site-packages/notifier/nf_generic.py", > line 148, in step > if not timer[ CALLBACK ](): > File "/usr/lib/python2.4/site-packages/kaa/notifier/timer.py", line > 88, in __call__ > return super(Timer, self).__call__(*args, **kwargs) > File "/usr/lib/python2.4/site-packages/kaa/notifier/nf_wrapper.py", > line 96, in __call__ > ret = super(NotifierCallback, self).__call__(*args, **kwargs) > File "/usr/lib/python2.4/site-packages/kaa/notifier/callback.py", > line 168, in __call__ > result = cb(*cb_args, **cb_kwargs) > File "/usr/lib/python2.4/site-packages/kaa/epg/sources/xmltv.py", > line 268, in _update_process_step > parse_programme(info) > File "/usr/lib/python2.4/site-packages/kaa/epg/sources/xmltv.py", > line 163, in parse_programme > attr['date'] = int(time.mktime(time.strptime(child.content, fmt))) > File "_strptime.py", line 293, in strptime > raise ValueError("time data did not match format: data=%s fmt=%s" % > ValueError: time data did not match format: data=1994/95 fmt=%Y-%m-%d > > > Tanja > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Freevo-devel mailing list > Freevo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-devel > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel