|
SageMC Custom Interface This forum is for discussing the user-created SageMC custom interface for SageTV. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Utility: Netflix Control v0.9 - A Netflix Silverlight Remote Control Script
Netflix Control is an AutoHotKey script for controlling a Netflix Silverlight Watch Now Movie Viewer running under Internet Explorer with a remote control. While it was made as an aid to users of the SageMC NetFlix Import that are stuck with a Silverlight account, it does not require SageTV or the SageMC Netflix Import to function. All it requires is AutoHotKey, a Netflix Silverlight account, and Internet Explorer.
Now Included with SageMC Netflix: No need to to install Netflix Control if using with SageMC Netflix. Simply install and configure SageMC NetFlix Import v2.1 or greater. You should not need to change your SageTV remote configuration at all. If you were previously using Netflix Control with SageMC Netflix, remove and restore your SageTV remote configuration to the way it was before using Netflix Control. Then continue with the installation of SageMC Netflix v2.1 (or greater). Overview: Netflix Control runs in the background waiting until a Netflix Viewer running in Internet Explorer becomes active. It will then force the Netflix Viewer into full screen, translating keys into the necessary mouse movements for controlling the viewer. Netflix Control can: - Jump forward and backward in the time line - Change episodes - Play/Pause - Mute/Unmute - Adjust Volume - Close the Netflix Movie Viewer Key definitions in Netflix Control: CTRL-a or Left Arrow: Jump back in the time line CTRL-s or Right Arrow: Jump ahead in the time line CTRL-f : Change to next episode (for titles that have episodes) CTRL-b : Change to previous episode (for titles that have episodes) F10 : Increase Volume F9 : Decrease Volume F8 : Toggle Mute/Unmute CTRL-p : Toggle Play/Pause CTRL-e : Close Netflix Viewer / IE window If you have a remote or keyboard that use the standard windows media keys/buttons, the following also work: STOP : Close Netflix Viewer / IE window Next Track: Change to next episode (for titles that have episodes) Previous Track : Change to previous episode (for titles that have episodes) Volume + : Increase Volume Volume - : Decrease Volume Mute : Toggle Mute/Unmute Installation: 1) If you have a previous version of Nerflix Control installed, please delete it, and any support files (like the "netflix_player_buttons" folder) to remove any possible confusion before installing the new version. 2) Download Netflix Control v0.9 and extract to an appropriate location. No need for AutoHotKey, unless you plan on modifying the Netflix Control scripts. Using with EventGhost: 1) Download and install EventGhost. I use version 0.3.6.1487 (from the EventGhost "Nightly Builds") 2) Install the EventGhost plugin included with Netflix Control, as described in the plugin's readme file. (simple as copying the "NetflixSilverlightControl" plugin folder into EventGhost's plugin folder) 3) Start netflix_silverlight_control.exe (not netflix_control.exe) from the folder you extracted Netflix Control to. (Once you get things working, you'll likely want to add a shortcut to netflix_silverlight_control.exe in your Startup folder) 4) Download and extract the "NetflixControl_EventGhost_Template_v0.1.xml" EventGhost template from NetflixControl_EventGhost_Template_v0.1.zip 5) Start EventGhost, and open up the file "NetflixControl_EventGhost_Template_v0.1.xml" from step 4 6) Adding your remote plugin to the NetflixControl_EventGhost_Template_v0.1 in EventGhost: a) From the EventGhost Menu, select "Configuration -> Add Plugin"7) Mapping events from your remote to Netflix Control in EventGhost a) Right-click "Plugin: <name of remote plugin you selected>", and make sure "Disable Item" is NOT checked.8) Save the EventGhost configuration file. 9) In EventGhost, select "File -> Options...". In the "Options" window, check "Launch on Windows Startup" and "Send to Systray on Close". Click "OK" 10) Open internet explorer, go to Netflix and start a Watch Now movie. The movie should automatically go full screen. If not, netflix_silverlight_control.exe is probably not running. run it. 11) Test your remote. If it works, report it back here. If not, double check all steps above, and finally check back here. Using keyboard to control Netflix Control without EventGhost: 1) Start netflix_control.exe (not netflix_silverlight_control.exe. netflix_control.exe will automatically start netflix_silverlight_control.exe) from the folder you extracted Netflix Control to. 2) Open internet explorer, go to Netflix and start a Watch Now movie. The movie should automatically go full screen. If not, netflix_control.exe is probably not running. run it. 3) Test controlling Netflix using the keys described in "Key definitions in Netflix Control:", above. 4) Using a hauppauge 45 button remote with netflix_control.exe: a) As the first item under [Applications] your rremote.ini add "NetflixControl=". This must be the first, default, item.Using SendMessage() to instruct Netflix Control from your application: 1) Start netflix_silverlight_control.exe (not netflix_control.exe) from the folder you extracted Netflix Control to. 2) Get the handle for netflix_silverlight_control.exe by searching for a window title of "NetflixSilverlightControl" with a class of "AutoHotKey". For example: hWnd = FindWindow("AutoHotkey", "NetflixSilverlightControl") 3) Launch a Netflix Silverlight Movie (open IE to a Watch Now movie using a Netflix Silverlight Account) 4) Send a message of "0x5555" to the window handle from step 2 with wParam of 10 and lParam between 100 and 110 (see table in 5, below, for details). Example: SendMessage(hWnd, 0x5555, 10, 100) 5) Table of lParam for use with wParam of 10: 100 - Exit the netflix movie viewer, and wait for a new viewer window to openModification: If you know how to write autohotkey scripts, you can easily modify the keys bound to the different commands in netflix_control.ahk. The script source code is found the the src.zip file. The AutoHotKey documentation is a good place to start. Change Log: v0.9 - Made changes to hopefully resolve an issue where player button locations were not always properly detected. This resulted in the Netflix Player not going into full screen. v0.8a: - No changes made to the control scripts. Only change is the repair of the EventGhost plugin. - Updated EventGhost plugin to version 0.2. Please do not use v0.1.x version of the plugin - it has many issues. - NOTE: If you used the original EventGhost plugin from v0.8, please update to the v0.2 plugin. You will also need to remove the old plugin from your EventGhost script(s) and re-add it. Sorry for the inconvenience. v0.8: - Separated operations into two scripts; netflix_silverlight_control.exe and netflix_control.exe. netflix_silverlight_control.exe does the bulk of work, but does not listen for any keyboard or remote input. netflix_control.exe listens for keyboard input, and sends messages to netflix_silverlight_control.exe. - Added EventGhost plugin for use with netflix_silverlight_control.exe (do not use netflix_control.exe with EventGhost, just netflix_silverlight_control.exe) v0.6: - Fixed: Netflix Navigation bar did not always become visible on some configurations, stopping commands from working. Last edited by brainbone; 02-28-2009 at 09:01 AM. |
#2
|
|||
|
|||
Updated to version 0.6. See top post for details.
|
#3
|
||||
|
||||
Help with your control
I use a hauppauge 45 button remote with a usb-uirt. I do not understand how to program the ahk file to use this configuration.
Thanks Steve Last edited by SteveD; 02-09-2009 at 07:26 PM. |
#4
|
|||
|
|||
I would think Event Ghost may be the place to start, however its use may complicate your SageTV configuration.
Morgan111 is looking into the possibility of interfacing Netflix Control with the SageMC Netflix STVi at a lower level, possibly eliminating the complication that various different types of remotes can cause. |
#5
|
|||
|
|||
any chance a version of this script could be used to control HULU?
__________________
SageTV 6.5.4+Webserver 2.21+SageMC 6.3.8a, P4-2.8 Ghz, 1GB RAM, 120GB HD, 1.5TB HD, 500GB HD, PVR-150, PVR-350, AverMedia A180, ATI x1600 512MB AGP, Audigy Platinum EX, connected to an Sony 46XBR6 LCD via DVItoHDMI and Sony STR-DA2400ES receiver via 5.1 analog. |
#6
|
|||
|
|||
I don't see any reason why one couldn't be made, however I hesitate doing it because SageTV may soon have native support for hulu. It would also require an STVi, like the Netflix STVi, to navigate, select and launch the HULU programming for a hulu control script to use - and I don't yet have any experience in creating STVis.
|
#7
|
|||
|
|||
Updated to version 0.8. See top post for details.
The main change is the ability to use EventGhost. |
#8
|
|||
|
|||
Updated to version 0.8a. See top post for details.
No changes made to the control programs. Only change is the repair of the EventGhost plugin. NOTE: If you used the original EventGhost plugin from v0.8, please update to the v0.2 plugin. You will also need to remove the old plugin from your EventGhost script(s) and re-add it. Sorry for the inconvenience. Last edited by brainbone; 02-07-2009 at 08:43 AM. |
#9
|
|||
|
|||
Added an EventGhost Template, and detailed instructions for using EventGhost with Netflix Control and the new template to the top post.
Last edited by brainbone; 02-10-2009 at 11:01 AM. |
#10
|
||||
|
||||
Following the instructions given for remote control configuration, the auto fullscreen is the only thing that works , none of the silver-light commands are being passed to the browser window. I am using the USB UIRT
__________________
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 |
#11
|
|||
|
|||
Quote:
In event ghost, you were able to press a remote button, see the button event in the left window, and drag that event to the Netflix Silverlight Control action in the right window that you wanted to bind it to? If so, are you sure you're leaving EventGhost running (the green arrow in your systray)? Please post your EventGhost configuration file here (.xml file you saved after modifying the supplied template). Last edited by brainbone; 02-11-2009 at 07:25 AM. |
#12
|
||||
|
||||
Silverlight control works with streamzap remote after you disable streamzap driver
__________________
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 |
#13
|
|||
|
|||
Quote:
In the "Autostart" branch: 1) Select "Configure -> Add Plugin -> Program Control -> SageTV (or any other application you wish to control)" 2) Map buttons from your remote to the Plugin from step 1 above, just as you did with Netflix Silverlight Control In the "EnableInputPluginOnOpen" macro: 3) Change the "Enable: " action to enable "Plugin: Netflix Silverlight Control" 4) Add a "Disable: " action (Configuration -> Add Action -> EventGhost -> Disable Item...), and configure it to disable the Plugin: SageTV (or any other application plugins other than Netflix Silverlight Control) 5) Repeat step 4 for all application plugins, except Netflix Silverlight Control Now, in the "DisableInputPluginOnClose" macro: 6) Change the "Disable: " action to disable "Plugin: Netflix Silverlight Control" 7) Add an "Enable: " action (Configuration -> Add Action -> EventGhost -> Enable Item...), and configure it to enable the Plugin: SageTV (or any other application plugins other than Netflix Silverlight Control) 8) Repeat step 7 for all application plugins, except Netflix Silverlight Control Now in the Autostart branch: 9) Right-click and Disable "Plugin: Netflix Silverlight Control" 10) Right-click and Enable "Plugin: <your remote plugin>" If the application you wish to control does not exist in Program Control list in EventGhost, first make sure you are running the latest beta of EventGhost, then try looking in the EventGhost forums for additional plugins. Last edited by brainbone; 02-11-2009 at 08:23 AM. |
#14
|
||||
|
||||
USB-uirt works ass well did not realize that event ghost had to be running. Thanks for this solution.
Would it be possible to control powerdvd in this way as well
__________________
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 |
#15
|
|||
|
|||
Yes. EventGhost has a Cyberlink PowerDVD plugin. Look under Configuration -> Add Plugin -> Program Control -> Cyberlink PowerDVD
|
#16
|
||||
|
||||
I found that , but I am unsure how to link it to the usb uirt. It add the plugin into the tree, but the keys are grayed out.
__________________
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 |
#17
|
|||
|
|||
Make sure the USB-UIRT plugin is enabled (right-click it and un-check Disabled)
Now, press a button on your remote and drag the event that pops up to the appropriate PowerDVD macro, like: "Play", "Pause", etc., just like you did with Netflix Silverlight Control. Note: You need to drop the remote event on the Macro (the item with the gear), not on the Action (the item with the grey lego). So for "Play", drop it on "Play", not "Cyberlink PowerDVD: Play". The Remote event should then appear in the Macro folder, just above the "Cyberlink PowerDVD: Play" action. Make sure you follow the instructions from this post for changing the way the program control plugins are enabled/disabled. |
#18
|
||||
|
||||
I have gotten the .8a version of the plugin working with eventghost when opening netflix from internet explorer and choosing to play a movie now. It refuses to work when I launch the silverlight player through the sagetv netflix plugin. For some reason your autohotkey control is not "grabbing" or recognizing that the player is open when using through sage. Any suggestions?
|
#19
|
||||
|
||||
Quote:
Quote:
__________________
Big Gerr _______ Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB. |
#20
|
|||
|
|||
Quote:
When the player is opened through Sage, is the "Full Screen" button completely visible? If not, please take a screen shot of what you see and post it here. Is SageTV running in Fullsreen Exclusive Mode? (If it is, it could be causing issues) |
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 |