2010-10-15, 20:17
integrated Pandora, Apple Movie Trailers, and Hulu Desktop (external program) into my main menu. one step closer to making it exactly how i want it. (would love to integrate live tv viewing, hulu plus, and netflix, but i guess in time....
did this on dharma beta 3 on windows 7, turned off auto update of addons (as to not break my modifications. particularly happy with how hulu desktop is working now. i fought with getting it to focus after xbmc launches it (via launcher). the solution was a script in autohotkey to kill xbmc when hulu launches, give hulu focus, and then start xbmc back up when hulu exits. in eventghost i had to set my remote to emulate keyboard for the arrows, select (ok), and back (esc) to work right in hulu.
everything is now working beautifully. now im looking for more stuff to add and tie in since i have this working so nicely.
http://www.youtube.com/watch?v=ran70UBdxuw
i made the modifications in the mediastream skin but im sure the same could be applied to any skin. i added this to the home.xml
for autohotkey my script looks like this:
did this on dharma beta 3 on windows 7, turned off auto update of addons (as to not break my modifications. particularly happy with how hulu desktop is working now. i fought with getting it to focus after xbmc launches it (via launcher). the solution was a script in autohotkey to kill xbmc when hulu launches, give hulu focus, and then start xbmc back up when hulu exits. in eventghost i had to set my remote to emulate keyboard for the arrows, select (ok), and back (esc) to work right in hulu.
everything is now working beautifully. now im looking for more stuff to add and tie in since i have this working so nicely.
http://www.youtube.com/watch?v=ran70UBdxuw
i made the modifications in the mediastream skin but im sure the same could be applied to any skin. i added this to the home.xml
Code:
<item id="12">
<label>Hulu</label>
<label2>Watch</label2>
<onclick>RunPlugin("plugin://plugin.program.launcher/?Hulu")</onclick>
<icon>special://skin/backgrounds/hulu.jpg</icon>
</item>
<item id="13">
<label>Trailers</label>
<label2>Watch</label2>
<onclick>ActivateWindow(10024,"plugin://plugin.video.apple.movie.trailers.lite/")</onclick>
<icon>special://skin/backgrounds/trailers.jpg</icon>
</item>
<item id="14">
<label>Pandora</label>
<label2>Listen to</label2>
<onclick>RunScript("script.xbmc.pandora")</onclick>
<icon>special://skin/backgrounds/pandora2.png</icon>
</item>
for autohotkey my script looks like this:
Code:
Loop
{
IfWinExist, Hulu Desktop
{WinClose, XBMC
}
{WinActivate, Hulu Desktop
}
{WinWaitClose, Hulu Desktop
}
{Run, C:\Program Files (x86)\XBMC\XBMC.exe
}
}