scakemyer / quasar

Quasar daemon, for the add-on see

Home Page:https://github.com/scakemyer/plugin.video.quasar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix loading plugin performance on delay start up

carlosrpg opened this issue · comments

Please, fix the plugin delay on startup.

I managed to do a troubleshooting myself and the main reason is due a lot of Opening/Closing connections with the Kodi itself.

@ quasar/config/config.go there is a lot of calls for xbmc.GetSetting() that opens and closes the connection for each call.

Refactoring the quasar/xbmc/jsonrpc.go to allow multiple method calls within a single connection will probably fix this issue