(2012-05-06, 03:14)Zellig Wrote: I am really trying to get NetFlix to work seamlessly in XBMC, with the MCE Remote commands, so it stays consistent and it does not require additional buttons to be programmed just for XBMCFlix.
Sorry...doesn't work that way. XBMC can read remote MCE remote codes.... but neither Netflix, not XBMC Flicks, nor XBMCFlix-o-mate are part of XBMC. In fact, that's the whole reason you need XBMCFlix-o-mate....if XBMC could pass all of its remote control capability to any application you wanted, then I wouldn't have needed to develop XBMCFlix-o-mate. What you are trying to do is basically equivalent of saying that you use want XBMC to start Solitaire and then use your remote to control Solitaire...it doesn't work that way.
(2012-05-06, 03:14)Zellig Wrote: So, first I opened the XBMCFlix-o-mate file and changed the entry for myExitNetFlixKey to correspond to the MCE Remote standard shortcut, which is CTRL+SHIFT+S.
My entry looks like this:
Settings.myExitNetFlixKey = <span class="str">"S"</span>
Settings.myExitNetFlixKeyModifier = KeyModifier.SHIFT+KeyModifier.CTRL
I'll assume you have a typo above as that whole "<span class>" stuff shouldn't be there. Apart from that, what you did would be correct in changing the hotkey...but keep reading...
(2012-05-06, 03:14)Zellig Wrote: Second, I opened the XBMCFlix-o-mate AutoIt script and removed the ^ before the arrow functions, so that now it looks like this:
;Send FF command to Netflix
Func netFlixFF()
Send("{RIGHT}")
EndFunc
;Send Rewind command to Netflix
Func netFlixRewind()
Send("{LEFT}")
EndFunc
No...that would be wrong. You are changing the function which is what is being sent to Netflix for control. The command that Netflix needs is CTRL+RIGHT or CTRL+LEFT. You are removing the caret, which would then only send Netflix a left or right key which means nothing to Netflix. If you want to change the hoteky used you should modify the hotkeys in the user defined block. I only expose the ability to easily change the key and not the modifier. If you want to change the modifier you would need to also change the section that looks like this:
Code:
;Initialize and set called functions for Hotkeys
HotKeySet("+^!" & $netFlixTogglePlayHotKey, "netFlixTogglePlay")
HotKeySet("+^!" & $netFlixFF, "netFlixFF")
HotKeySet("+^!" & $netFlixRewind, "netFlixRewind")
HotKeySet("+^!" & $netFlixTerminate, "TerminateNetflix")
HotKeySet("+^!" & $XBMCFlixomateExit, "CloseXBMCFlixomate")
But...this probably still won't do what you are wanting based on my initial description above.
(2012-05-06, 03:14)Zellig Wrote: When I fired up XBMC and started playing a movie in XBMCFlix, the screen goes to Full (so XBMCFlix-o-mate is working), but neither the Stop (CTRL+SHIFT+S) command I entered works, nor the Left/Right arrows. I tried both from the remote and from the keyboard.
You're right...XBMCFlix-o-mate is working, the auto Full screen shows that...that is independent of any hotkeys so your misunderstanding of how things work won't effect that. What you are trying from the remote won't work. If XBMC actually translates a remote press to CTRL+SHIFT+S (and I'm not sure that is the case) it would only be sending that command to itself...not sending it is a system hotkey. Again...to stress this...XBMC can only control itself with a remote, not other spawned processes (with the possible exception of the stop key being able to close a spawned process as discussed earlier in this thread).
The Left/Right arrow not working is as I explain above...what you did here was only break the functionality by telling the script to send the wrong keys to Netflix, not by modifying the script to accept a different key.
As far as CTRL+SHIFT+S not working to exit Netflix....that should work. If you change the following:
Code:
Settings.myExitNetFlixKey = "Q"
Settings.myExitNetFlixKeyModifier = KeyModifier.ALT+KeyModifier.SHIFT+KeyModifier.CTRL
to
Code:
Settings.myExitNetFlixKey = "S"
Settings.myExitNetFlixKeyModifier = KeyModifier.SHIFT+KeyModifier.CTRL
Then S+SHIFT+CTRL should close down the browser. Again...the remote will not help you here because XBMC interpretation of the remote will not pass on to any 3rd party programs. I would run in debug mode and verify the correct hotkey is being registered (you can post the debug output). But I really don't think it matters in this case since you seem to be approaching this from the wrong perspective.
(2012-05-06, 03:14)Zellig Wrote: But I can exit from IE by pressing CTRL+ALT+SHIFT+Q, which should have been changed to be CTRL+SHIFT+S.
What am I doing wrong?
CTRL+ALT+SHIFT+Q to close Netflix is actually defined in two places. Once in the Sikuli script (which is what you tried to edit). But, this key is also defined in the AutoIt script:
Code:
$netFlixTerminate = "Q"
The reason it is in both places is for linux support. Since linux users don't have the AutoIt wrapper it is in the Sikuli script. But, the Sikuli script is not as aggressive in closing down the browser, so the AutoIt is the preferable place. So this explains why CTRL+ALT+SHIFT+Q is still closing it down even though you changed it in the Sikuli script....it is using the AutoIt code.
Long story short you can't do what you want...it would be nice...but the whole point of XBMCFlix-o-mate is to deal with the fact that:
A) XBMC remote can only control XBMC itself
B) Netflix does not expose hotkeys for all control functions.
If things worked the way you wanted, that would mean that even without XBMCFlix-o-mate you should still be able to control the Netflix exposed functions (FF/REW/Play/Pause/Full Screen) with a remote....but this is not the case.
If you want to use a remote to control Netflix you HAVE to use a program that can convert remote presses to system keypresses. XBMC does not do this. This is why I stress in the documentation that you have to use a 3rd party remote program (like EventGhost). Without this you will have to just use hotkeys directly.
If you are still having problems just getting hotkeys to work (exclusive of remote) I can try to assist, but you should re-read the documentation to understand what this program is meant to provide.