Hi,
I'm using Library Auto Update 1.2.2.
Might not be the right place to post this...
If not where can I post it?
Problem.
When changing the default interval (hours) e.g. from 2 -> 4 in any library.
The plug-in fails.
In the logs I found the following information:
Code
2021-04-19 17:38:14.592 T:1267 ERROR <general>: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'KeyError'>
Error Contents: '6'
Traceback (most recent call last):
File "/storage/.kodi/addons/service.libraryautoupdate/resources/lib/service.py", line 422, in onSettingsChanged
self.update_settings()
File "/storage/.kodi/addons/service.libraryautoupdate/resources/lib/service.py", line 172, in createSchedules
aSchedule.expression = self.checkTimer('video')
File "/storage/.kodi/addons/service.libraryautoupdate/resources/lib/service.py", line 217, in checkTimer
result = '0 */' + str(self.timer_amounts[utils.getSetting(settingName + "_timer")]) + ' * * *'
KeyError: '6'
-->End of Python script error report<--
Display More
Resetting the values to the default 2 hours the error goes away.
Sorry was missing vital information:
Using;
Libreelec (community)
nightly-20210416-ef1165
Generic.x86_64
Best regards
JA.