Is there a way to detect if a video library window has been opened by a plugin?
#1
XBMC.ActivateWindow(MyVideoLibrary, plugin://plugin.video.apple.movie.trailers.lite/addon.py,return)

Is there a conditional or other way to detect if the MyVideoLibrary was opened by the plugin?
Reply
#2
If it opens then it's got to the Library hasn't it?
Reply
#3
I mean I want to know if it was the plugin that opened it or if it was another trigger Smile

some people wants this message changed http://img687.imageshack.us/img687/6161/...t001ks.jpg to "you must install apple movie trailers" or something like that. And the only way to do that is to set some kind of condition checking wether the video library window was opened by the plugin link or by a movie/tv link
Reply
#4
In that case would a WindowPrevious condition work or a Skin.SetBool()?
Reply
#5
SetBool would work. but how do I reset it? nothing gets focus in MyVideoNav when the library is empty. hmm
Reply
#6
fixed it. I just reset it when I get back to home.xml
Reply

Logout Mark Read Team Forum Stats Members Help
Is there a way to detect if a video library window has been opened by a plugin?0