Force-deactivate playlist sync for Microsoft UWP for Kodi 18

- Fixes #521
This commit is contained in:
croneter 2018-08-07 20:02:44 +02:00
parent 3fd40b64c6
commit 3bd9b3b5a4
2 changed files with 3 additions and 1 deletions

View file

@ -23,7 +23,7 @@ from . import music
from . import variables as v
from . import state
if utils.settings('enablePlaylistSync') == 'true':
if v.PLATFORM != 'UWP' and utils.settings('enablePlaylistSync') == 'true':
# Xbox cannot use watchdog, a dependency for PKC playlist features
from . import playlists
PLAYLIST_SYNC_ENABLED = True

View file

@ -48,6 +48,8 @@ KODI_PROFILE = try_decode(xbmc.translatePath("special://profile"))
if xbmc.getCondVisibility('system.platform.osx'):
PLATFORM = "MacOSX"
elif xbmc.getCondVisibility("system.platform.uwp"):
PLATFORM = "Microsoft UWP"
elif xbmc.getCondVisibility('system.platform.atv2'):
PLATFORM = "AppleTV2"
elif xbmc.getCondVisibility('system.platform.ios'):