Re: [Freevo-devel] freevo2.0: TVguide

2007-07-24 Thread Dirk Meyer
Joost wrote: > Hi there, > > Recently I have been looking into the TVGuide menu. It responds very > slow, so I took a look and see if I could make it faster. > I saw that the real work of the menu is done in the tvlisting_area.py. > It even does all the epg acces. Not really gui area stuff! I know

[Freevo-devel] freevo2.0: TVguide

2007-07-23 Thread Joost
Hi there, Recently I have been looking into the TVGuide menu. It responds very slow, so I took a look and see if I could make it faster. I saw that the real work of the menu is done in the tvlisting_area.py. It even does all the epg acces. Not really gui area stuff! So in stead of making it faster

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Jason Tackaberry
On Sun, 2007-02-18 at 16:49 +0100, Tanja wrote: > 1.) I wonder, why we need to use a special format for the date element? > Why not use: > attr['date'] = child.content > instead of: > attr['date'] = int(time.mktime(time.strptime(child.content, fmt))) It's nice to normalize the date for searching p

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Tanja
1.) I wonder, why we need to use a special format for the date element? Why not use: attr['date'] = child.content instead of: attr['date'] = int(time.mktime(time.strptime(child.content, fmt))) 2.) Is the format of the date element in xmltv always either %Y-%m-%d or %Y? In the xmltv.dtd I found: "

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Tanja
The error is not, as I first thought, the format of the start and stop times but the 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

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Duncan Webb
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.

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Dirk Meyer
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)) Bu

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Tanja
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? LOG message 2007-02-18 15:17:55,668 INFO [ epg] __init__.py 1072: update backend xmltv 2007-02-18 15:17:55,672 IN

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Dirk Meyer
Tanja wrote: > OK, tvserver and tvdev are running. > > If I call freevo-epg update, I got the following: > > update scheduled > ERROR __init__(1072): kaa.epg client disconnected > INFO __init__(1072): delete server link > > Stupid log messages, you can ignore it. The update is now scheduled,

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Tanja
OK, tvserver and tvdev are running. If I call freevo-epg update, I got the following: update scheduled ERROR __init__(1072): kaa.epg client disconnected INFO __init__(1072): delete server link Tanja Dirk Meyer schrieb: > Tanja wrote: >> Hi >> >> I still have the problem, that the tvguid

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Dirk Meyer
Tanja wrote: > Hi > > I still have the problem, that the tvguide crashes, > although I now have the mapping in tvserver.conf and I have tvdev and > tvserver running and the servers and freevo see each other. > > > Do you have any idea what else I could be doing wrong? > What about freevo-epg? Do I

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Tanja
Hi I still have the problem, that the tvguide crashes, although I now have the mapping in tvserver.conf and I have tvdev and tvserver running and the servers and freevo see each other. Do you have any idea what else I could be doing wrong? What about freevo-epg? Do I have to do something with t

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-18 Thread Dirk Meyer
Tanja wrote: > Does that mean, that the guide is not shown, when there is not tv > hardware available in that PC. > I used to do programming and debugging on my laptop, which is without > any tv hardware... It works without a card. I'm not sure why it does not work without mapping ATM, I have to

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-17 Thread Tanja
Hello again, although I do now have those channel mappings in my tvserver.conf, I still get the same error when I try to open the tv guide. :-( freevo-tvserver and freevo-tvdev are running... ERROR __init__(1072): application.handler Traceback (most recent call last): File "/usr/local/freevo

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-17 Thread Tanja
OK, I just noticed, that after starting tvdev there are those lines for epg.mapping in the tvserver.conf file. Sorry! Tanja Tanja schrieb: > > Dirk Meyer schrieb: >> You need to map the DVB names (or whatever you use) to the >> epg names and only channels with a card and an epg entry are >>

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-17 Thread Tanja
> Dirk Meyer schrieb: > > You need to map the DVB names (or whatever you use) to the > epg names and only channels with a card and an epg entry are > shown. Does that mean, that the guide is not shown, when there is not tv hardware available in that PC. I used to do programming and debugging

Re: [Freevo-devel] freevo2.0 tvguide

2007-02-17 Thread Dirk Meyer
Tanja wrote: > Hi, > > freevo-tvserver is running now, but here comes the next problem. > > When I now select the TVGuide I get the following error and freevo shuts > down... > > ERROR __init__(1072): application.handler > Traceback (most recent call last): >File > "/usr/local/freevo-2.0//lib

[Freevo-devel] freevo2.0 tvguide

2007-02-16 Thread Tanja
Hi, freevo-tvserver is running now, but here comes the next problem. When I now select the TVGuide I get the following error and freevo shuts down... ERROR __init__(1072): application.handler Traceback (most recent call last): File "/usr/local/freevo-2.0//lib/python2.4/site-packages/freevo/