|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#41
|
||||
|
||||
Ok thanks for the attempt.
__________________
Serv:ECS H61H2-T1 ITX I7 3770S CPU@3.1GHZ 8G Ram WIN1064 HDPVR, HD Homerun|network encoder Unraid Server:B75MU3B I5-3550 CPU@3.30GHz 9TB 16G Ram|Network HDPVR encoder:Win10 VM 8G Ram with Processor passthrough. Directv Http tuning to Genie, exemultitunplugin to Genie client. Http scheduled task bat file to defeat screensaver on Genie. Usb uirt scheduled task bat file to defeat screensaver on Genie client. Clients Android TV, Samsung TAB A |
#42
|
|||
|
|||
Netflix Control v2 test1:
Because of the various problems putting silverlight in full screen brings, I decided to test a different method of making the netflix silverlight player go "full screen". I say "full screen" in quotes because what this method actually does is just enlarge the browser window to the point where the movie takes up the full screen, then attempts to mask off any of the ugly bits of the browser. The attached is a very early test of this method. It will have problems. Note: If you use this on a system with more than one display, you will need to make sure IE is launched in kiosk mode (-k switch). Otherwise, bits of the IE window will be visible on your other display(s). You will see flickering when the netflix navigation bar is displayed/hidden. You may have problems with the player window, or black mask borders sticking at the topmost position. In this case, you'll need to go into task manager and kill IE and AutoHotKey. You may have issues where your task-bar disappears. EDIT: Use v2 test2, below. Last edited by brainbone; 02-26-2009 at 08:54 AM. |
#43
|
|||
|
|||
Netflix Control v2 test2:
This is an update to Netflix Control v2 test1, above. Changes: - Created "settings.ini" file to allow easy adjustment of how long the navigation bar takes to hide, if the TaskBar should be hidden or not, and the ability to specify a window that should be kept in focus. - Mouse/Keyboard input is blocked while controlling the netflix silverlight player (during a click, etc.). - Hiding/Showing of netflix player navigation bar should be more smooth. Feedback would be appreciated. EDIT: Use v2 test3, below. Last edited by brainbone; 02-26-2009 at 08:54 AM. |
#44
|
|||
|
|||
Netflix Control v2 test3:
This is an update to Netflix Control v2 test2, above. Changes: - Navigation buttons were not always properly located, especially if player needed to buffer for a long period of time. Make sure you replace the old "netflix_player_buttons" folder with the new v2 test3 one. - Changed method for hiding/showing Windows TaskBar. Previous method forced "Always On Top" off after showing the taskbar. As always, feedback appreciated. |
#45
|
|||
|
|||
Brainbone, I already run the lmgestion remote control plugin (as opposed to eventghost). I'm trying to get your plugin to work with it. Can you take a look at this page: http://www.lmgestion.net/@en-us/4/22/60/78/article.asp
The reason is that I am confused as to which window class, title and executable I should be using to control the silverlight plugin - should I specify these for the actual plugin, or for ie once the window has begun to play? I'm trying to avoid having to learn eventghost...
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#46
|
|||
|
|||
Send to the window class of "AutoHotKey" and the window title of "NetflixSilverlightControl".
Look at the first post in this topic, and scroll down to "Using SendMessage() to instruct Netflix Control from your application:". That relates to the FindWindow and SendMessage actions in the article you gave. Edit: While the "NetflixSilverlightControl" is the window you want to send commands to, you'll want to be sending those commands to that window only when an IE window with the title "Netflix: Netflix Movie Viewer - Windows Internet Explorer" is active. You should be using netflix_silverlight_control.exe (not netflix_control.exe) Last edited by brainbone; 02-24-2009 at 05:38 PM. |
#47
|
|||
|
|||
Quote:
Any ideas?
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#48
|
|||
|
|||
Quote:
Name: (whatever you want) Window Class: (leave blank) Window Title: Netflix: Netflix Movie Viewer - Windows Internet Explorer Executable name: (leave blank) Now, for each remote button action in this profile, you need to: FindWindow: searching for a windows with a class of "AutoHotKey" and a title of "NetflixSilverlightControl" SendMessage: with a wParam of 10 and an lParam of 100-110 (see first post in this thread for details) to the window found in FindWindow. |
#49
|
|||
|
|||
Quote:
This must have something to do with the way morgan's plugin calls ie - the powerdvd profile works because I have a dynamic menu item that runs a system command (in this case power dvd), and when it fires up in full screen mode, it becomes the active window. Any ideas on where to go from here? It's kind of workable now, using just the arrow heys on the remote and stop. But it would be nice to get the added control capabilities. thx mike
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#50
|
|||
|
|||
What version of Netflix Control are you using?
|
#51
|
|||
|
|||
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#52
|
|||
|
|||
Try v2 test3.
After updating to v2 test3, check the "Bring application window to foreground" option in your LM Remote profile. Note that you should run "netflix_silverlight_control.exe", not "netflix_control.exe". Right click both of the green H's in your sys-tray and click "exit". Then only run "netflix_silverlight_control.exe". You should now only see one green "H". (Now that netflix_control.exe is not running, your arrows and stop button will not work until you have LM Remote working properly) To be clear: netflix_silverlight_control.exe is the actual control program. netflix_control.exe captures keystrokes and sends them to netflix_silverlight_control.exe. It should not be used when configuring your remote control software to communication with netflix_silverlight_control.exe directly. I know the naming I used is confusing. I'll likely be changing it in the future. |
#53
|
|||
|
|||
Quote:
__________________
Server: Sage 6.5.9 - X2 3800+, DFI NF4 MB, 1 GB, 300 GB HD (system disk), NV 7600GS, - Windows XP SP2 Client 1: Sage 6.5.9 - E7200, Abit IP35 Pro, ATI 4850 with HDMI connect to Denon 3808CI and Sony A3000 SXRD TV Client 2: HD200 connected to Denon 3808CI and A3000 SXRD TV Client 3: Media MVP to 15" Toshiba LCD Client 4: HD100 connected to Samsung 23" 720P LCD Client 5: HD100 connected to Vizio VX37L |
#54
|
|||
|
|||
Has anyone noticed after Silverlight 3 update (my computers began prompting me last night) that the netflix_silverlight_control.exe isn't finding the pause button? It finds the Fullscreen button, but not the Pause.
I did some more digging and with some extreme zoom in Photoshop, the anti-aliasing on the leading edge of some controls (like next chapter, pause, etc) has a different edge from the base images for the control. Now here's the kicker... it is different on different graphics cards. One computer still works with the old images, but another needed the new images. Something about SL3 using the GPU instead of CPU is doing the aliasing differently. I may try and figure out a way to test for all the variations since a lot of people will still have Silverlight 2 for a long time. |
#55
|
|||
|
|||
Adding a *5 to the ImageSearch inside of GetButtonPos was enough to compensate for the GPU differences on my computers.
The line now reads: ImageSearch, FoundX, FoundY, 0, %y_start%, A_ScreenWidth, A_ScreenHeight, *5 %full_image_path% |
#56
|
|||
|
|||
On 7/27/2009, Netflix appears to have released a newer Silverlight player. This time, the AHK program lost the ability to move the timeline. The change appears surgically directed at the AHK approach.
When the timeline move command comes in, the AHK enters a loop to click the mouse down and move the cursor. As long as the next command comes in before the timer expires, the cursor keeps moving. As of 7/27, the timeline would only make 1 move (regardless of how fast you sent commands) before jumping to that time. I added some debug to the code and found that AHK never sent the mouse up (release that allows the player to proceed until the timer expired. So why was the player jumping in time? Turns out, the cursor move loop also issues gratuitous mouse-down commands on each loop. Netflix now interprets those extra mouse-downs as mouse-up. Afterall, how can you have another mouse down if the mouse is already down, so you must have meant mouse up. I added a flag to test for the mouse being down and to NOT issue gratuitous mouse-down events. Now the timeline move works again. |
#57
|
|||
|
|||
Not working when zoom active, volume control questionable
I tested and confirmed that netflix_silverlight_control.exe does not work (at all) when Netflix is opened in IE and a zoom level other than 100% is selected.
Also, on my system the volume control actions set the mouse pointer to the volume control element in the player but don't actively change the volume level. Mute works, though. The jump back/ahead actions don't allow to advance all the way, i.e. to the beginning or the end. |
#58
|
|||
|
|||
Brainbone,
Any chance you'd be willing to help me with my Netflix program? I need to find the episode forward and back buttons in silverlight and I have no idea how to go about that. Any help you'd be willing to give is greatly appreciated! -DH |
#59
|
|||
|
|||
Hi all
I'm using a silverlight player on a french website like Netflix. The website is here : http://www.canalsat.fr/decouvrir-liv...6-live-tv.html I would like to take control of this player using your script, I have made some modification but it's difficult to have something good. I think the interface of Netflix is very different then the interface of the website I want to remote control. Now, I can close the player, play/pause is OK. I have to build the code line for full screen, volume up and down, and navigate between channels. I anyone can help me, it will be very cool Thanks Eric |
#60
|
||||
|
||||
There are a few mouse recording macro style programs that should be sufficient for replaying a mouse click on the screen. I don't think you'll get much help from this script - for starters, it's pretty old, and also, I'm not sure anyone really uses it anymore (I think those sage users that are using netflix are doing so via 7MC or PlayOn).
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remote Control Very Sensitive | GlennPT | Hardware Support | 5 | 11-09-2009 02:52 AM |
Remote control - change IR frequency?? | glennsantacruz | SageTV Media Extender | 1 | 12-18-2008 09:40 AM |
JP1 Universal Remote Control (URC-1067) for Hauppauge MVP | krasev | Hardware Support | 0 | 12-22-2007 12:02 PM |
Remote Control issue with 6.2.4 | pilotguy7ca | Hardware Support | 5 | 07-09-2007 12:56 PM |
Firefly Remote - can it control TV? | bialio | Hardware Support | 0 | 05-25-2007 01:34 PM |