This commit is contained in:
Croneter 2018-06-15 13:50:04 +02:00
parent 73403a8a7b
commit de846e7241
2 changed files with 2 additions and 3 deletions

View File

@ -121,7 +121,7 @@ class Main():
passwords_xml()
elif mode == 'switchuser':
entrypoint.switchPlexUser()
entrypoint.switch_plex_user()
elif mode in ('manualsync', 'repair'):
if window('plex_online') != 'true':

View File

@ -180,7 +180,7 @@ def show_main_menu(content_type=None):
xbmcplugin.endOfDirectory(HANDLE)
def switchPlexUser():
def switch_plex_user():
"""
Signs out currently logged in user (if applicable). Triggers sign-in of a
new user
@ -192,7 +192,6 @@ def switchPlexUser():
LOG.info("Plex home user switch requested")
if not __LogOut():
return
# First remove playlists of old user
from utils import delete_playlists, delete_nodes
delete_playlists()