ActivateWindow or runplugin not working in dharma?
#1
Hi

I can't get ActivateWindow and runplugin to work in dharma when i want to run a plugin from e.x. homescreen.

anybody found a solution or a fix??

cheers
c_bb
Reply
#2
ActivateWindow definitely works. ActivateWindow(<window>,plugin://<id>)
Reply
#3
It took me some trial and error, but I got all of my plugins working from my home screen:
Code:
<!--For example, a script like Pandora Radio-->
<onclick>RunScript(script.xbmc.pandora)</onclick>

<!--A smart playlist-->
<onclick>xbmc.PlayMedia(special://profile/playlists/video/FriendsChannel.xsp)</onclick>

<!--A video streaming add-on, like Bluecop's Daily Show Plugin-->
<!--Note that "VideoFiles" must be the window opened, not Movies, etc.-->
<onclick>xbmc.ActivateWindow(VideoFiles,plugin://plugin.video.the.daily.show)</onclick>

<!--A plugin, like Launcher-->
<onclick>xbmc.ActivateWindow(Programs,plugin://plugin.program.launcher)</onclick>

I've not yet needed "RunPlugin" to actually run a plugin. "ActivateWindow" is usually the right answer.

I hope this helps!
Reply
#4
hi

thnx guys, got it to work.

cheers
c_bb
Reply
#5
and for reference; RunPlugin is only useful when you have a playable plugin url, e.g. you want a hotlink to a specific video on youtube.
Reply
#6
Edit: oops
Reply

Logout Mark Read Team Forum Stats Members Help
ActivateWindow or runplugin not working in dharma?0