diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index f264c8ec..6187b163 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -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 diff --git a/resources/lib/variables.py b/resources/lib/variables.py index 24ae88d1..481eb242 100644 --- a/resources/lib/variables.py +++ b/resources/lib/variables.py @@ -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'):