Hi,
I'm not sure if this is possible but I think it worth bringing up the idea.
Every time that we made a change on the Emby addon settings (server address, use of local paths) that involves a path change for media in Kodi internal DBs, a DB reset/resync is required.
How complex or even possible is to instead of doing that, the addon will just change the paths on Kodi DB by executing a SQL query against them as is documented on Kodi wiki site for a library path change?
This will require sqlite3 binary on Kodi, that I'm not sure is always there (like in OpenELEC or other Kodi distros).
I did this in the path and to be honest it worked like a charm everytime. The advantage I see is that we will save the time it takes for a full resync on huge libraries with low end devices like RPi. Another benefit is that it will reduce the load on the server since it would not be needed at all.
Just my two cents.
Thanks.