2020-05-09, 02:04
(2020-05-08, 12:27)nessus Wrote: Hi @jurialmunkey
Somewhere in the last month commits it's been a change about returning back to video info when you close the dialog as person info.
I mean... open the video info of an item > go to cast list > open the actor info > close dialog > then... it opens again video info dialog.
This is fine when you open the dialog from movies or tvshows but if you try to open the person's (actor or director) info from actors or directors section (videodb://movies/directors/
orvideodb://movies/actors/
) then this creates a loop on opening the person's info again and again.
Is there way to avoid this ?
Thanks
Nessus
If you add
,return
to the Runscript command then it will prevent the last window in the stack calling Info.e.g.
<oninfo condition="Container.Content(actors) | Container.Content(directors)">RunScript(plugin.video.themoviedb.helper,add_query=$INFO[Container.ListItem.Label],type=person,call_auto=1190,return)</oninfo>
I'm looking to find a better approach overall to reopening the first info dialog (at the moment it just simulates the user pressing Info) - but for the time being, adding return to the runscript command will deal with the issue.