Allow browsing to a show from the info menu

This commit is contained in:
Matt 2021-10-03 00:45:18 -04:00
parent a18ca8ab9e
commit 85410639df
1 changed files with 4 additions and 0 deletions

View File

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