mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-10-08 01:42:05 +00:00
Fix for db reset
setSetting() now works to reset the initial scan state. I also removed deprecated behavior from addon.xml
This commit is contained in:
parent
9d2d2788b2
commit
0ba24d8dbd
3 changed files with 8 additions and 3 deletions
|
@ -130,6 +130,12 @@ class Service():
|
|||
xbmc.log("Not authenticated yet")
|
||||
|
||||
utils.logMsg("MB3 Sync Service", "stopping Service",0)
|
||||
|
||||
# If user reset library database.
|
||||
WINDOW = xbmcgui.Window(10000)
|
||||
if WINDOW.getProperty("SyncInstallRunDone") == "false":
|
||||
addon = xbmcaddon.Addon('plugin.video.emby')
|
||||
addon.setSetting("SyncInstallRunDone", "false")
|
||||
|
||||
if (self.newWebSocketThread != None):
|
||||
ws.stopClient()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue