mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-06-07 00:36:13 +00:00
alter the way the info mode is handled to not need a db rebuild -
currently only working from home widgets
This commit is contained in:
parent
24c4d267c4
commit
5ac32f467a
4 changed files with 18 additions and 22 deletions
14
default.py
14
default.py
|
@ -28,11 +28,17 @@ except:
|
|||
|
||||
##### Play items via plugin://plugin.video.emby/ #####
|
||||
if mode == "play":
|
||||
addonSettings = xbmcaddon.Addon(id='plugin.video.emby')
|
||||
selectAction = addonSettings.getSetting('selectAction')
|
||||
##### info only working from widgets currently #####
|
||||
if selectAction == "1" and xbmc.getCondVisibility("Window.IsActive(home)"):
|
||||
entrypoint.showInfo(id)
|
||||
else:
|
||||
entrypoint.doPlayback(id)
|
||||
|
||||
elif mode == "playnow":
|
||||
entrypoint.doPlayback(id)
|
||||
|
||||
elif mode == "info":
|
||||
entrypoint.showInfo(id)
|
||||
|
||||
|
||||
elif mode == "person":
|
||||
entrypoint.showPersonInfo(id,name)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue