Merge pull request #630 from mcarlton00/open-from-settings

Fix opening the addon menu from the settings page
This commit is contained in:
Odd Stråbø 2022-04-23 22:20:26 +02:00 committed by GitHub
commit 753aa2ce47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)