2012-06-11, 13:43
Hello _BJ1, your script is fantastic!!! thank you!!!!!!!!!!!!!!!!!
my htpc is now almost perfect!!
but there is a little problem with your script:
i don't want to use "turn on for epg update" because i use htpc all days and epg update start on every boot.
but if i select 0 in update interval the script stop works, this is my error (from log):
13:23:49 T:2917137264 NOTICE: -->Python Interpreter Initialized<--
13:23:49 T:2917137264 NOTICE: PVR Manager: no current recording(s)
13:23:49 T:2917137264 NOTICE: PVR Manager: next recording in 196 minutes
13:23:49 T:2917137264 ERROR: Error Type: <type 'exceptions.ZeroDivisionError'>
13:23:49 T:2917137264 ERROR: Error Contents: integer division or modulo by zero
13:23:49 T:2917137264 ERROR: Traceback (most recent call last):
File "/home/adone/.xbmc/addons/script.program.pvrmanager/default.py", line 263, in <module>
__bSysState__ = getSysState()
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.
my htpc is now almost perfect!!
but there is a little problem with your script:
i don't want to use "turn on for epg update" because i use htpc all days and epg update start on every boot.
but if i select 0 in update interval the script stop works, this is my error (from log):
13:23:49 T:2917137264 NOTICE: -->Python Interpreter Initialized<--
13:23:49 T:2917137264 NOTICE: PVR Manager: no current recording(s)
13:23:49 T:2917137264 NOTICE: PVR Manager: next recording in 196 minutes
13:23:49 T:2917137264 ERROR: Error Type: <type 'exceptions.ZeroDivisionError'>
13:23:49 T:2917137264 ERROR: Error Contents: integer division or modulo by zero
13:23:49 T:2917137264 ERROR: Traceback (most recent call last):
File "/home/adone/.xbmc/addons/script.program.pvrmanager/default.py", line 263, in <module>
__bSysState__ = getSysState()
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.