Make user switch always available

This commit is contained in:
tomkat83 2016-03-10 16:04:01 +01:00
parent a3c2d21757
commit b24fc0ea06

View file

@ -237,11 +237,10 @@ def doMainListing():
elif path and not xbmc.getCondVisibility("Window.IsActive(VideoLibrary) | Window.IsActive(Pictures) | Window.IsActive(MusicLibrary)"): elif path and not xbmc.getCondVisibility("Window.IsActive(VideoLibrary) | Window.IsActive(Pictures) | Window.IsActive(MusicLibrary)"):
addDirectoryItem(label, path) addDirectoryItem(label, path)
# Plex user switch, if Plex home is in use # Plex user switch
if int(utils.settings('plexHomeSize')) > 1: addDirectoryItem(string(39200),
addDirectoryItem(string(39200), "plugin://plugin.video.plexkodiconnect/"
"plugin://plugin.video.plexkodiconnect/" "?mode=switchuser")
"?mode=switchuser")
#experimental live tv nodes #experimental live tv nodes
# addDirectoryItem("Live Tv Channels (experimental)", "plugin://plugin.video.plexkodiconnect/?mode=browsecontent&type=tvchannels&folderid=root") # addDirectoryItem("Live Tv Channels (experimental)", "plugin://plugin.video.plexkodiconnect/?mode=browsecontent&type=tvchannels&folderid=root")