Reset musicscan settings
This commit is contained in:
angelblue05 2018-09-08 14:40:19 -05:00
parent 010dc3243a
commit 56c6db7e5d
2 changed files with 2 additions and 1 deletions

View file

@ -144,6 +144,7 @@ def reset():
xbmcvfs.delete(os.path.join(addon_data, "sync.json")) xbmcvfs.delete(os.path.join(addon_data, "sync.json"))
settings('MinimumSetup.bool', False) settings('MinimumSetup.bool', False)
settings('MusicRescan.bool', False)
settings('SyncInstallRunDone.bool', False) settings('SyncInstallRunDone.bool', False)
dialog("ok", heading="{emby}", line1=_(33088)) dialog("ok", heading="{emby}", line1=_(33088))
xbmc.executebuiltin('RestartApp') xbmc.executebuiltin('RestartApp')

View file

@ -234,7 +234,7 @@ class PlayUtils(object):
API = api.API(self.item, self.info['ServerAddress']) API = api.API(self.item, self.info['ServerAddress'])
self.info['Method'] = "DirectPlay" self.info['Method'] = "DirectPlay"
self.info['Path'] = API.get_file_path() self.info['Path'] = API.get_file_path(source.get('Path'))
return self.info['Path'] return self.info['Path']