(2012-06-11 13:43)Claudio.Meldini Wrote:Code:
File "/home/adone/.xbmc/addons/script.program.pvrmanager/default.py", line 196, in getSysState
epgTime = curTime + datetime.timedelta(days=int(curTime.strftime('%j')) % int(__epg_interval__))
ZeroDivisionError: integer division or modulo by zero
Now i set 6 days on interval, but i'd like to set 0 days, can you tell me how resolve this error?
Have you also this error if you set 0 days?
thanks in advance.
I've not tested yet if interval ist set to 0. There's division by zero indeed if interval is set to "off".
I'll fix this and upload a new version this evening.
Thank you for your response.