Fix opening the addon menu from the settings page

This commit is contained in:
Matt 2022-04-03 10:04:57 -04:00
parent c3136752dd
commit 5da87c3f5c
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class Events(object):
backup() backup()
elif mode == 'restartservice': elif mode == 'restartservice':
window('jellyfin.restart.bool', True) window('jellyfin.restart.bool', True)
elif mode is None and not params: elif mode is None and not params and base_url != 'plugin://plugin.video.jellyfin/':
# Used when selecting "Browse" from a context menu, see #548 # Used when selecting "Browse" from a context menu, see #548
item_id = base_url.strip('/').split('/')[-1] item_id = base_url.strip('/').split('/')[-1]
browse('', item_id, None, server, api_client) browse('', item_id, None, server, api_client)