Open DialogVideoInfo.xml for a specified movie?
#2
(2019-09-10, 20:17)fnord12 Wrote: 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?
Documents below... ".... a specified movie" depends on the listitem you are passing and how your code functions. ie if you want a specific movie pass its listitem.

https://codedocs.xyz/xbmc/xbmc/group__py...8a59800cd5
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Help?
Reply


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