This posting is older than 6 months and can contain outdated information.
+1 for that!
Would be great, to directly jump into the key/gesture remote, so the iPhone can be the direct replacement for the white little remote (since my Mini lives in another room and I've no direct sight to its IR receiver).
I love the onscreen menu of RB, so I don't really need the other options of the AJAX remote itself...
@Felix: No way to (for example) add a #keyRemote tag to the URL and let the ajax site check that? I've seen that on many other AJAX powered websites afaik...
[edit]
I've just "hacked" that one together ;-)
Edit /Applications/Remote Buddy.app/Contents/Resources/WebRemote/index.html:
Change:
------
function initModuleCore()
{
checkAutoLogin();
startSessionTimeoutChecking();
moduleCore = new ModuleCore();
moduleCore.gotoSpringboard(true);
}
------
To:
------
function initModuleCore()
{
checkAutoLogin();
startSessionTimeoutChecking();
moduleCore = new ModuleCore();
moduleCore.gotoSpringboard(true);
setTimeout("gotoControl()",1000);
}
function gotoControl()
{
var currentURL = window.location;
if (currentURL.hash.length > 1) {
var _control = currentURL.hash.substr(1);
moduleCore.loadModule(_control, "fade");
}
}
------
Unfortunately the ModuleCore() function already sends a gotoSpringboard() itself, so just replacing moduleCore.gotoSpringboard() has no effect. Thats why it's needed to use a timeout and issue the loading of the selected module a little later...
After making these changes above you can add a hash to the URL, followed by a module name, like "RemoteControl" in my case...
Example: http://mediamini.local:8888/#RemoteControl
Theres only one little issue with all that: RemoteBuddy app validates its own app content and notifies the user on restart - but gladly you can just ignore that dialog!
Maybe Felix can add this little addition in an update, so it wont be any problem at all!
Kind Regards
DerFlash
Last edited: 12.01.2011 22:11:55