Closed ThreeDeeJay closed 1 year ago
It seems that the function handle_deprecated_settings in the config.py file do a lot of setSettings calls that causes the CPU load. This function is only used to modify deprecated settings from older TIDAL2 versions. Please try to set the command "return" as the first command in the function handle_deprecated_settings. Let me know if this solves ths problem !
Thanks, the issue is now fixed! I was gonna submit a PR but then I realized this is just a temporary workaround, but here it is for anyone stumbling upon this issue https://github.com/ThreeDeeJay/plugin.audio.tidal2/commit/8ef1aa44d38dcb43c6821590d42629cdaece9456
Recently, I noticed Kodi's framerate would start dropping a lot, seemingly at random, so I checked Process Monitor and noticed this.
Seems like something's sending Tidal2 into an infinite loop, even if it's disabled, but uninstalling it fixes the framedrops. Also, if I try quitting Kodi, it freezes, and if I close the window, the loop keeps Kodi running in the background so I have to use task manager to kill it completely.
The only relevant thing I saw in the log was this:
I've barely even used the plugin and haven't even configured it with an account or anything. Also the readme only includes up to version 19 so perhaps the newer builds/python is what's causing it