From 56c6db7e5da3f811e3739c2f71cae765d10af1ee Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sat, 8 Sep 2018 14:40:19 -0500 Subject: [PATCH] Fix strm Reset musicscan settings --- resources/lib/database/__init__.py | 1 + resources/lib/helper/playutils.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/database/__init__.py b/resources/lib/database/__init__.py index e420344a..99e9fff0 100644 --- a/resources/lib/database/__init__.py +++ b/resources/lib/database/__init__.py @@ -144,6 +144,7 @@ def reset(): xbmcvfs.delete(os.path.join(addon_data, "sync.json")) settings('MinimumSetup.bool', False) + settings('MusicRescan.bool', False) settings('SyncInstallRunDone.bool', False) dialog("ok", heading="{emby}", line1=_(33088)) xbmc.executebuiltin('RestartApp') diff --git a/resources/lib/helper/playutils.py b/resources/lib/helper/playutils.py index e39e4144..364026d7 100644 --- a/resources/lib/helper/playutils.py +++ b/resources/lib/helper/playutils.py @@ -234,7 +234,7 @@ class PlayUtils(object): API = api.API(self.item, self.info['ServerAddress']) 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']