Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
[RELEASE] XBMCFlix-o-mate
#79
kevev Wrote:...it seems that when xbmcfom takes over and puts the video in kiosk mode the IE window looses focus. It seems like your app may be grabbing focus and that is why the "f" or click on fullscreen(whichever the app is doing) is not being translated because of this...


XBMCFoM doesn't put the video in Kiosk mode...XBMCFlicks does that. FoM simply sits in the background until it sees a Netflix window go active and when it does it responds by putting it into full screen (via a center-screen click and an "f"). If FoM grabs focus of anything it is because it already sees Netflix as active

Lines 87-94 in the AutoIt (.au3) file consist of the following:

Code:
        if WinActive("netflix") or WinActive("silverlight") Then
            if $newNFLaunchFlag = 1 Then
               ;Bring Netflix into Fullscreen
               While NOT WinActive("Silverlight")
                  MouseMove(@DesktopWidth / 2, @DesktopHeight / 2,0)
                  MouseClick("left", @DesktopWidth / 2, @DesktopHeight / 2)
                  send("f")
               WEnd

This method is entirely different than the previous (pre-2.0b) methods that I used to go into full screen. The fact that neither method seems to work on your machine would indicate a problem with your setup. I had requested you install and try on a different machine and never got any feedback from that.

As you can see from the code above, we wait until Netflix is active (this technically will be any window with "netflix" in the title, so it will match on "Netflix - Windows Internet Explorer" which should be the title window for an IE launch or "Netflix - Google Chrome", etc...).

The code then goes on to say that as long as Silverlight is not the active window (which should be true whenever Netflix is NOT in full screen), then go ahead and move the mouse to the middle of the screen, click the middle, and send "f". So, you see it already does click in the middle of the screen, and should be repeatedly doing this until full screen happens.

I can only assume that you are doing something nonstandard that is either causing this whole subroutine not to function properly, or else something else running on the system which would interfere with these operations. As those things can be any one of hundreds or thousands of possible scenarios there is no way for me to know or account for them.

I know of (based only on forum posts) only a handful of users using this program and no one else has reported these issues. Those aren't big numbers, but I suspect there are at least 3x that many silent users as most people won't even post if they don't have a problem. I myself have tried on 3 systems (all Windows 7 Enterprise 64-bit) and do not experience the problem.

What you can try is this. Change the code above to this:

Quote: if WinActive("netflix") or WinActive("silverlight") Then
if $newNFLaunchFlag = 1 Then
;Bring Netflix into Fullscreen
While NOT WinActive("Silverlight")
beep(200,500)
MouseMove(@DesktopWidth / 2, @DesktopHeight / 2,0)
MouseClick("left", @DesktopWidth / 2, @DesktopHeight / 2)
send("f")
WEnd

This simply adds dull audible beep in to let you hear that it is in the subroutine and silverlight is NOT active. If you keep hearing the beep, it means that it detects Netflix as open, but not in fullscreen, if the beep keeps sounding it means that the method of clicking in the middle and pressing "f" is not bringing it to full screen. If you don't get any beeps at all, then it doesn't seem to be detecting that you have Netflix active.

You indicated from a previous post that you have some experience in the past with AutoIt. I would suggest you start doing some debugging on your own as the full screen code is now entirely in autoit (not sikuli). I will assist where I can and should you find something that will make this work on non-standard setups I will try to integrate into the main code.
Here is another trick to try (do it after making the beep modification so you can get audio feedback as well).

Launch XBMCFoM and then type in Start > Run "notepad netflix"

It will ask if you want to create the file, say yes. This will open a notepad instance of a file called netflix. It should be active (in the foreground). This means that the AutoIt script will detect netflix as open...so you should start hearing the beep and seeing the "f" key typed in the notepad windows....you should also see the mouse constantly moving back to screen center.

You can also test with IE outside of XBMC by launching your movie url with the format:

iexplore -k http://movies.netflix.com/WiPlayer?movie...XXXXXXXXXX

you can get the full url from any launched show in IE. That will launch in Kiosk mode which is the same way XBMCFlicks (NOT XBMCFoM) launches it.
.peace out.
Reply


Messages In This Thread
[RELEASE] XBMCFlix-o-mate - by bengalih - 2012-04-16, 19:20
Changelog - by bengalih - 2012-04-16, 20:39
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-04-25, 16:45
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-04-26, 07:55
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-04-26, 17:01
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-04-30, 06:23
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-01, 02:44
RE: [RELEASE] XBMCFlix-o-mate - by Zellig - 2012-04-26, 21:20
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-04-26, 22:22
RE: [RELEASE] XBMCFlix-o-mate - by Zellig - 2012-04-26, 22:39
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-04-26, 23:20
RE: [RELEASE] XBMCFlix-o-mate - by hoopz - 2012-04-28, 18:15
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-04-28, 18:48
RE: [RELEASE] XBMCFlix-o-mate - by hoopz - 2012-04-29, 11:20
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-04-29, 17:37
RE: [RELEASE] XBMCFlix-o-mate - by hoopz - 2012-04-30, 01:09
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-04-30, 01:19
RE: [RELEASE] XBMCFlix-o-mate - by hoopz - 2012-04-30, 01:33
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-04-30, 03:35
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-01, 05:22
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-02, 03:37
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-05, 03:36
RE: [RELEASE] XBMCFlix-o-mate - by Zellig - 2012-05-06, 03:14
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-06, 05:28
RE: [RELEASE] XBMCFlix-o-mate - by Zellig - 2012-05-06, 22:20
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-13, 03:17
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-13, 18:56
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-16, 08:23
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-16, 14:45
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-16, 15:08
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-16, 16:57
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-16, 18:23
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-16, 19:45
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-16, 20:31
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-16, 20:58
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-17, 02:08
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-17, 23:11
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-18, 15:10
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-18, 16:45
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-19, 00:21
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-21, 17:12
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-21, 17:58
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-21, 18:07
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-21, 19:02
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-21, 22:07
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-21, 18:25
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-21, 18:38
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-22, 05:29
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-22, 07:56
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-27, 04:06
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-27, 05:01
RE: [RELEASE] XBMCFlix-o-mate - by bengalih - 2012-05-28, 00:54
RE: [RELEASE] XBMCFlix-o-mate - by kevev - 2012-05-28, 16:40
RE: [RELEASE] XBMCFlix-o-mate - by Varming - 2012-07-30, 21:28
RE: [RELEASE] XBMCFlix-o-mate - by volarium - 2012-08-31, 20:02
RE: [RELEASE] XBMCFlix-o-mate - by calib3r - 2012-08-31, 23:56
RE: [RELEASE] XBMCFlix-o-mate - by Sureguy - 2012-09-07, 21:38
RE: [RELEASE] XBMCFlix-o-mate - by calib3r - 2012-09-12, 05:20
RE: [RELEASE] XBMCFlix-o-mate - by Sureguy - 2012-09-15, 03:59
RE: [RELEASE] XBMCFlix-o-mate - by calib3r - 2012-09-15, 06:19
Logout Mark Read Team Forum Stats Members Help
[RELEASE] XBMCFlix-o-mate5