PDA

View Full Version : Web Browser (media center) interface - CODE RELEASE



firefoxian
03-31-2011, 11:43 PM
this is the start of code to run direct sites through this system. this is for all the media center geeks like me. ever want to play video sites like freetv.com or dozens of others with only a pc remote? very shortly i will have everything together to do just that. don't forget about site like tvguide.com, winamp radio and anything else you can think of. you will be able to download my files.
just create a hyperspin option for this and firefox will open whatever site you preconfigure. then navigate with arrows or entering numbers for page links. if you navigate to a video the system will automatically play most in fullscreen using vlc. and that means you can fully control the video use your remote's media button! don't have one of these remotes? i got mine for $7 on ebay.

this is the code to add to hyperlaunch. you will need to add portable firefox and .url files to get going. i will post mine when the coding is complete and tested.

;************************************************* ****************
;Browser Launcher - mouse off
;set up kiosk mode browsers - like firefox running rkiosk and mouseless browsing

else if (executable = "firefoxportable.exe" )
{
Run, %Executable% "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel

}

;************************************************* ****************
;Browser Launcher - mouse on
;set up kiosk mode browsers - like firefox running rkiosk and mouseless browsing

else if (executable = "firefoxportable2.exe" )
{
Run, %Executable% "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel
SystemCursor("On")
}


;************************************************* ****************

RetroBorg
04-01-2011, 12:11 AM
Good work firefoxian.

jeepguy81
04-01-2011, 04:45 AM
Good stuff!!

firefoxian
04-05-2011, 01:01 AM
THANKS!
firefox is the emu and any .url file will work for the games files when setting up with hyperhq. i'm still working on finalizing firefox and vlc to work together. it's difficult in some ways. may need to list video sites this works best with. eventually, more and more will work minimally inside the browser. note: boxee has something for this, but you have to use a mouse. this setup fills in the gaps.


more code & files
initial firefox setup files:http://www.megaupload.com/?d=6AVAADDE


;************************************************* ****************
;Browser Launcher - mouse off
;set up kiosk mode browsers - like firefox running rkiosk and mouseless browsing

else if (executable = "firefoxportable.exe" )
{
Run, %Executable% "%romPath%%romName%%romExtension%", %EmuPath%, Hide UseErrorLevel
executable = firefox.exe

1::Numpad1
2::Numpad2
3::Numpad3
4::Numpad4
5::Numpad5
6::Numpad6
7::Numpad7
8::Numpad8
9::Numpad9
0::Numpad0


}