Force-deactivate playlist sync for Microsoft UWP for Kodi 18
- Fixes #521
This commit is contained in:
parent
3fd40b64c6
commit
3bd9b3b5a4
2 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,7 @@ from . import music
|
||||||
from . import variables as v
|
from . import variables as v
|
||||||
from . import state
|
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
|
# Xbox cannot use watchdog, a dependency for PKC playlist features
|
||||||
from . import playlists
|
from . import playlists
|
||||||
PLAYLIST_SYNC_ENABLED = True
|
PLAYLIST_SYNC_ENABLED = True
|
||||||
|
|
|
@ -48,6 +48,8 @@ KODI_PROFILE = try_decode(xbmc.translatePath("special://profile"))
|
||||||
|
|
||||||
if xbmc.getCondVisibility('system.platform.osx'):
|
if xbmc.getCondVisibility('system.platform.osx'):
|
||||||
PLATFORM = "MacOSX"
|
PLATFORM = "MacOSX"
|
||||||
|
elif xbmc.getCondVisibility("system.platform.uwp"):
|
||||||
|
PLATFORM = "Microsoft UWP"
|
||||||
elif xbmc.getCondVisibility('system.platform.atv2'):
|
elif xbmc.getCondVisibility('system.platform.atv2'):
|
||||||
PLATFORM = "AppleTV2"
|
PLATFORM = "AppleTV2"
|
||||||
elif xbmc.getCondVisibility('system.platform.ios'):
|
elif xbmc.getCondVisibility('system.platform.ios'):
|
||||||
|
|
Loading…
Reference in a new issue