Make user switch always available
This commit is contained in:
parent
a3c2d21757
commit
b24fc0ea06
1 changed files with 4 additions and 5 deletions
|
@ -237,8 +237,7 @@ 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")
|
||||||
|
|
Loading…
Reference in a new issue