2014-01-22, 05:23
(2014-01-22, 05:15)tadbitnerdy Wrote: Sorry for the late reply. I can't get to the XML file currently (wife watching netflix). However, I did see that the it uses ActivateWindow, rather than PlayMedia, to launch the favorite. Does that help?PlayMedia() function is not good, because started applications by Advanced Launcher are not media that will be played by XBMC. This function will surely show you the "opening the stream" message. ActivateWindow() function works, it is the default one use by the favourite script, but it is not prefect. ActivateWindow() function will open a new window into XBMC then will start the application inside it. So, the display transition will not be perfect. The right function to use into favourites.xml file to start Advanced Launcher is RunPlugin() as below :
Code:
<favourite name="###">RunPlugin("plugin://plugin.program.advanced.launcher/?###")</favourite>
Where ### respectively correspond to the favourite name and to the Advanced launcher URL ID.