SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Customizations This forums is for discussing and sharing user-created modifications for the SageTV application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss customizations for SageTV version 6 and earlier, or for the SageTV3 UI.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-06-2008, 09:40 PM
chrishallowell chrishallowell is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 169
How to use PowerDVD Ultra using SageTV

How do you incorporate PowerDVD into SageTV?

I want to be able to select a "Play HD-DVD/Blu-ray" from SageTV's main menu and have control over PowerDVD Ultra with an IR remote. And then be able to get back to SageTV.

This way?
1. Start/SetFocus to PowerDVD Ultra from SageTV(SageMC) main menu?
2. Have EventGhost send the remotes IR commands to PowerDVD Ultra?
3. When a specific IR code comes into EventGhost, SetFocus back to SageTV.

How is EventGhost suppose to know that the user selected the "Play HD-DVD" selection in SageTV? (IE: How do I pass control from SageTV to Eventghost's event?)

Thanks,
Chris
Reply With Quote
  #2  
Old 02-07-2008, 11:01 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Use the dynamic menus plugin and EventGhost's command line interface. You will want to use the -n switch and have the network reciever plugin installed. I know this sounds odd but if you are running as a service you will have difficulties dealing with the local context. Using the -n (network sender CLI) you can easily bypass all that using the loopback interface.


Also you can use the system plugin to find PDVD is running or not. If it's running make PDVD exclusive, if it's not make SageTV exclusive.

EDIT:

Also have the -n command you send to EG start PowerDVD so it's all inside one menu item.

Last edited by CollinR; 02-07-2008 at 11:05 AM.
Reply With Quote
  #3  
Old 02-07-2008, 12:29 PM
bialio's Avatar
bialio bialio is offline
SageTVaholic
 
Join Date: May 2007
Location: Frisco, TX
Posts: 3,445
This is how I do it :

http://forums.sagetv.com/forums/show...8&postcount=13

btl.
__________________
PHOENIX 3 is here!
Server : Linux V9, Clients : Win10 and Nvidia Shield Android Miniclient
Reply With Quote
  #4  
Old 02-07-2008, 01:32 PM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Oh thats soo true! I forgot that you aren't tring to do this from an extender. It'll work as discribed but it's much easier to do locally then from an MVP.

You will need the USBUIRT, Tasks and SageTV plugins installed in EventGhost.



You should see items like this when you start PowerDVD.

Task.Activated.PowerDVD

You can use that to trigger when to put your remote into PowerDVD exclusive mode.

Task.Destroyed.PowerDVD

That can be used to trigger when to put it back into SageTV mode.

This takes no buttons on your remote at all.

It somewhat depends on how you wish to start PowerDVD, if you want it started from a button press on the remote. You will need to trap that IR with the USBUIRT plugin.

I don't actually use EG for incoming IR but the short of it is new macro the event will be from the USBUIRT plugin and the IR code will either be requested or displayed in the log in the left pane. You can drag items from the left pane to use them as triggers or conditions for your macros.

Install the plugin and go point the remote at the USBUIRT and press it a few times. Get close to the USBUIRT the red LED on the front will flash when recieved.

In the log it will look like this:

USB_UIRT.431F014151F5

Use that as the trigger for your macro and have it launch PowerDVD and go to a PowerDVD exclusive mode. You can use the

Task.Destroyed.PowerDVD

To bring SageTV back as in the first example.



I launch everything from inside the menus using Niel's killer dynamic menus plugin. This way everything still works from any MVP in the house, open DVD drive or power off MVP.
Reply With Quote
  #5  
Old 02-11-2008, 08:40 AM
chrishallowell chrishallowell is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 169
Can anyone tell me where I can find the SageTV plugin for EventGhost? EventGhost's site lists that plug in but I can't find the place to download it.

Thanks.
Reply With Quote
  #6  
Old 02-11-2008, 08:58 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Download and run this:
http://www.eventghost.org/downloads/...172_Update.exe


EDIT:
Optionally you may wish to download a full version, I am not sure if the update scripts are incremental or not.

All recent betas are available:
http://www.eventghost.org/downloads/

SageTV plugin has been around a long time I am suprised it is not included in the EG release. Once you update you will find many new plugins.

Last edited by CollinR; 02-11-2008 at 12:10 PM.
Reply With Quote
  #7  
Old 02-11-2008, 10:57 AM
chrishallowell chrishallowell is offline
Sage Advanced User
 
Join Date: Jan 2008
Posts: 169
Thanks! I'll try this when I get home.
Edit: Thanks everyone! I'm well on my way. Any pros or cons of IR capture from EventGhost vs SageTV when controlling SageTV? I'm thinking EventGhost might be better as you can easily delete IR within the GUI where as SageTV you have to go into a properties file and find the one you want to delete. Any thoughts?

Starting PowerDVD Ultra:
1. User clicks on Menu in SageTV (Use EventGhost's command line to trigger event.)
OR
2. User inserts a disk in G(LG HD-DVD / Blu-ray Combo drive) drive (Event is triggered: Task.CloseDrive.G)
Actions: Open PowerDVD Ultra, find window, SetFocus on PowerDVD window, emulate keystroke Z (full screen), Exclusive on PowerDVD

Stopping PowerDVD Ultra:
1. User clicks 'Exit' on the IR remote control (IR Code)
OR
2. User removes a disk in G(LG HD-DVD / Blu-ray Combo drive) drive (Event is triggered: Task.OpenDrive.G)
Actions: Close PowerDVD Ultra, find SageTV window, setfocus on SageTV window, Exclusive on SageTV (Won't be needed if SageTV houses the IR codes)

Thanks,
Chris

Last edited by chrishallowell; 02-12-2008 at 12:18 PM.
Reply With Quote
  #8  
Old 04-02-2009, 06:14 AM
scat scat is offline
Sage Aficionado
 
Join Date: Jul 2005
Location: Palm Coast,Fl
Posts: 253
Quote:
Originally Posted by CollinR View Post
Use the dynamic menus plugin and EventGhost's command line interface. You will want to use the -n switch and have the network reciever plugin installed. I know this sounds odd but if you are running as a service you will have difficulties dealing with the local context. Using the -n (network sender CLI) you can easily bypass all that using the loopback interface.


Also you can use the system plugin to find PDVD is running or not. If it's running make PDVD exclusive, if it's not make SageTV exclusive.

EDIT:

Also have the -n command you send to EG start PowerDVD so it's all inside one menu item.
CollinR

Please provide detailed information on how you are doing this.

Are you running a batch file from the dynamic menus?

Currently my EventGhost is setup like this:
Switch to mode: SageTV
has the ir code from my remote to start Sage
and also
Switch to mode: CyberLink PowerDVD
has the ir code from my remote to start PowerDVD

you can view it in my attached EventGhost file.

Thanks
Scat
Attached Files
File Type: txt my media computer.xml.txt (91.3 KB, 389 views)
__________________

Server: Intel i7-930 CPU @ 2.8GHz , 300GB HD, 24GB DDR3, Win 10 64-bit, (2) 2TB HD for recording
Capture Devices: 2xHD Homerun Prime 3 (CableCard) = 6 Tuners (Spectrum, TV package: Select), 1xHauppauge WinTv 885 (4 tuners OTA), 1xHauppauge WinTv-7164 (2 tuners OTA), Schedules Direct EPG
NAS: Synology DS1618+ 26.2TB Synology Hybrid RAID (SHR)
Sage Add-ons: Comskip Plug-in
Eventghost 0.5.0-RC4, Java Version: 1.8.0_172 (32-bit), Harmony 880, USB-UIRT
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HD Media Extender and PowerDVD Ultra bbenkstein SageTV Customizations 1 12-27-2007 01:48 PM
Fail to launch PowerDVD Ultra as external command basset SageTV Customizations 4 12-20-2007 11:59 AM
Ajusting powerdvd decoder filter settings? Rik SageTV Software 1 10-13-2007 01:03 AM
Ultra HD jprine01 General Discussion 6 06-01-2007 12:05 PM
using powerdvd renderer? superscrub SageTV Software 4 12-28-2006 12:17 PM


All times are GMT -6. The time now is 10:24 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.