The error is not, as I first thought, the format of the start and stop 
times but the <date> attribute. There has been a similar error reporting
on the list a few days ago by Stygen.

But he says, that he has problems with empty date elements, while my 
problem is probably because of the slash in 1994/95 ????


Tanja



Dirk Meyer schrieb:
> 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?
> 
> Looking at the code I see
> | secs = time.mktime(strptime.strptime(timestr, xmltv.date_format))
> 
> But I have no idea where it is defined or if it is even used. The part
> where you see the crash the mapping is
> | fmt = "%Y-%m-%d"
> | if len(child.content) == 4:
> |     fmt = "%Y"
> 
>> ValueError: time data did not match format:  data=1994/95  fmt=%Y-%m-%d
> 
> ... while this looks kind of strange (1994/95). Besides, it would be
> nice not to use your code to map epgdata.com -> XMLTV -> kaa.epg but
> to add a source grabber directly into kaa.epg.
> 
> 
> Dischi
> 
> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> 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

Reply via email to