robweber / xbmclibraryautoupdate

Kodi Addon to update your video/music libraries on a schedule
MIT License
30 stars 22 forks source link

Crash on Manual Run #60

Closed benyjr closed 3 years ago

benyjr commented 3 years ago

I installed this addon on Kodi 19 Matrix running on Ubuntu 20.04 from the Kodi repo. I set it up with a simple 6 hour timer. When I run the addon manually, i get a popup message saying "Library Auto Update error. Check the log for more info."

The Kodi logs report the following errors:

2021-04-30 22:49:28.750 T:2377187 INFO : CActiveAESink::OpenSink - initialize sink 2021-04-30 22:49:28.753 T:2433259 INFO : initializing python engine. 2021-04-30 22:49:29.385 T:2433259 ERROR : EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--

robweber commented 3 years ago

Good catch. Looks like the new settings format returns the value selected, not the index of that value like the old one did. Any hourly values after 4hrs threw an error. Should be fixed now, will push to repo after some checks.