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:
angelblue05 2015-04-12 04:49:02 -05:00
parent 9d2d2788b2
commit 0ba24d8dbd
3 changed files with 8 additions and 3 deletions

View file

@ -186,8 +186,7 @@ def reset():
cursor.close()
# reset the install run flag
addon = xbmcaddon.Addon(id='plugin.video.emby')
addon.setSetting("SyncInstallRunDone", "false") # this is not working for some reason
WINDOW.setProperty("SyncInstallRunDone", "false")
dialog = xbmcgui.Dialog()
dialog.ok('Emby Reset', 'Database reset has completed, kodi will now restart to apply the changes.')