Open DialogVideoInfo.xml for a specified movie?
#1
I am trying to open the WINDOW_DIALOG_VIDEO_INFO dialog for an existing movie after click on an item in a list.  Basically the same behavior as the built-in search when clicking on an Actor or Director and then on a search result.

It seems like something like this won't work...

python:
ActivateWindow(12003,"videodb://movies/4131/",return)

...because this window only seems to open for the currently selected list item, and the secondary parameter seems to be ignored.

I found an older post https://forum.kodi.tv/showthread.php?tid...ight=12003 where @ronie pointed someone to xbmcgui.Dialog().info(listitem).

But I'm still having trouble using that to open DialogVideoInfo.xml for a specified movie.

Something like...

python:
li = cntrl.getSelectedItem()
label = li.getLabel()
dialog = xbmcgui.Dialog(li.setInfo("video",{"title":label}))
dialog.info(li)

...will create a new instance (that happens to be populated with my target movie's title).  But is there any way to just open the dialogue for a specified movie?
Maintaining a few add-ons for v18 including PseudoTV (Classic), Tag Overview, and Autosub: https://github.com/fnord12
Reply


Messages In This Thread
Open DialogVideoInfo.xml for a specified movie? - by fnord12 - 2019-09-10, 20:17
Logout Mark Read Team Forum Stats Members Help
Open DialogVideoInfo.xml for a specified movie?0