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

View file

@ -143,7 +143,7 @@ class Events(object):
backup()
elif mode == 'restartservice':
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
item_id = base_url.strip('/').split('/')[-1]
browse('', item_id, None, server, api_client)