Posts: 1,264
Joined: Mar 2011
Reputation:
80
Most add-ons will only need to update xbmc.translatePath as well as xbmc.LOGNOTICE and in case of repositories have their extensionpoints use <dir>
Posts: 1,264
Joined: Mar 2011
Reputation:
80
2022-09-08, 19:26
(This post was last modified: 2022-09-08, 19:27 by HeresJohnny.)
Me again with a feature request, don't hate me :-)
Add-ons like this one which update the properties of many single database objects cause ineffcient GUI refreshs. I am not sure if that is something that can be changed by the add-on or if it needs to done in Kodi core. In any case, when the add-on is running in the background and one tries to browse the library this comes almost to a halt because Kodi refreshes the GUI after each object is updated with the current rating.
To avoid these expensive refreshes it would be much better if some kind of queue or temp file could be used and values only written to the database after all updates are done. For example, comparisons between old and new ratings could be made and if the rating did not change, it would not need to be written to the database. If the value did change it could be held in memory/temp file and written to the db as a batch at the end of the run. That way you would first use the db only to read and in write mode only at the end. Not sure if those final commits could be concatenated into a single db command but that would be ideal.
Posts: 1,264
Joined: Mar 2011
Reputation:
80
Everything in the "background" section is set to off except for "Update Notifications".
Posts: 29
Joined: Apr 2018
Reputation:
0
is Kodi 17 still supported?
I'm using Kodi 17.6 dsplayer and the light imdb update ran, but no votes are showing.