Fix AttributeError

This commit is contained in:
croneter 2018-11-22 17:58:56 +01:00
parent d49ea8b383
commit 1b11c55d84

View file

@ -51,7 +51,7 @@ def playback_triage(plex_id=None, plex_type=None, path=None, resolve=True):
global RESOLVE global RESOLVE
# If started via Kodi context menu, we never resolve # If started via Kodi context menu, we never resolve
RESOLVE = resolve if not app.PLAYSTATE.context_menu_play else False RESOLVE = resolve if not app.PLAYSTATE.context_menu_play else False
if not app.CONN.authenticated: if not app.ACCOUNT.authenticated:
LOG.error('Not yet authenticated for PMS, abort starting playback') LOG.error('Not yet authenticated for PMS, abort starting playback')
# "Unauthorized for PMS" # "Unauthorized for PMS"
utils.dialog('notification', utils.lang(29999), utils.lang(30017)) utils.dialog('notification', utils.lang(29999), utils.lang(30017))