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:
im85288 2015-05-07 16:05:04 +01:00
parent 24c4d267c4
commit 5ac32f467a
4 changed files with 18 additions and 22 deletions

View file

@ -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)