SageTV Community  

Go Back   SageTV Community > Hardware Support > Hardware Support
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 11-25-2008, 07:37 PM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by Skirge01 View Post
I've now got macros for controlling the functions (up, down, play, etc.) in Sage and PowerDVD, as well as some macros that should open PowerDVD, close it, or return to Sage, all in a single EG file called LaunchPowerDVD.xml. How do I create a dynamic menu option (SageMC) to call these macros or EG's .xml files? I tried creating a menu option to an external program, linked to "eventghost.exe -e LaunchPowerDVD.xml", but clicking the menu item did nothing.

What do I have wrong?
You've gone beyond my knowledge.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #22  
Old 11-25-2008, 08:53 PM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
No the xml file is the configuration as a whole, as long as EventGhost starts using your config file be defaukt you need to call it specifically.

Try this

EventGhost.exe -n 127.0.0.1:1024 1234 LaunchPowerDVD

This assumes you have the network reciever plugin installed an configured for port 1024 and a password 1234. Adjust accordingly.

This will generate an event in the log that looks like:
TCP.LaunchPowerDVD



You are tring the generic command line that looks like:
EventGhost.exe -e LaunchPowerDVD

However this usually doesn't work if you are in service mode, using the network method bypasses all the user permissions issues.
Reply With Quote
  #23  
Old 11-25-2008, 10:50 PM
Skirge01's Avatar
Skirge01 Skirge01 is offline
SageTVaholic
 
Join Date: Jun 2007
Location: New Jersey
Posts: 2,599
Figured it out!

Thanks guys. I'm feeling pretty good because I managed to figure it out after just a few hours. I am in service mode, so I may've had a problem the way you suggested. Anyhow, for anyone else who wants to do this, here are the steps. I'm doing this from memory, so if you get stuck, let me know and I'll try to figure out what I missed!

Purpose: Use a remote to launch PowerDVD in fullscreen from a menu item in Sage, continue using the remote to control playback of a DVD in PDVD, then close out PDVD when I want and return to Sage in fullscreen mode, once more using the remote to control Sage.

** Note: This assumes you are running SageMC **

1. Install the latest EventGhost (EG) beta

2. From within EG, add the following plugins: USB-UIRT, Cyberlink PowerDVD, SageTV, and Task Create/Switch Events

3. Save the attached .xml file into EG's directory and open it inside EG.

4. REPLACE all of the codes in the .xml file with YOUR remote codes by aiming at the USB-UIRT and pushing buttons and then dragging what comes up to the corresponding plugin's macro. For example, if you push up on your remote, an IR code will show up in EG's log on the left. Drag that to the SageTV plugin's UP macro AND to the Cyberlink plugin's UP macro. Now, DELETE mine from each of those plugin's UP macro. Repeat for every button on your remote which you use (or want to use) within SageTV or PowerDVD.

** Note #1: If your remote sends two different IR signals for each button, you'll need to do this for BOTH IR signals. My Harmony 880 is like this, which is why you'll always see two USB-UIRT events in my .xml file.

** Note #2: You may notice that many of the remote commands in my .xml file are not populated with any codes. This is because *I* don't use those. If *you* do, make sure you drag and drop those to their proper places.

5. Under the "Close PowerDVD" macro are two USB-UIRT commands. I have those mapped to the EXIT button on my 880, which I mapped to the RED MCE button. So, I'm hitting "EXIT" or "RED" on my remote to shut down PDVD. You'll need to map a key on your remote for this.

6. Create a new dynamic menu item in SageMC, linking to a "New External Program", browse to your PowerDVD.exe file, add "/fullscreen" (without the quotes) as an argument to start PDVD in fullscreen mode, and select "Sleep Sage while running; restore after exit", and finally enter a name for your menu item, such as "Play DVD".

7. Configure SageTV's Remote Control Configuration for "None Selected or External Setup".

I think that's it. Also note that there may be "extra" things in my .xml file. If someone can figure out what's unnecessary, let me know. To be fair, I created my original .xml file following a screenshot of EG that someone else posted here on the forums, which I can't seem to find at the moment.

Finally, should any messages pop up in PDVD, you'll need to use a mouse for them. For example, if you don't have a DVD in the drive, but hit PLAY anyway, you'll get a box telling you there's no DVD. I haven't looked into a way to respond to something like that with the remote using EG.
Attached Files
File Type: zip LaunchPowerDVD.zip (2.7 KB, 142 views)
Reply With Quote
  #24  
Old 12-16-2008, 10:47 AM
saltlyck2 saltlyck2 is offline
Sage Advanced User
 
Join Date: Dec 2005
Posts: 101
Eventghost and Powerdvd - stepping issue

I set my remote to use the forward or back button to do the FW or RW function in Eventghost to control Powerdvd 8 once SAGE is closed. I see above that this was mentioned. Anyone have a fix for it. I'd like to be able to just hold the button for FF or RW and not have to continuously repeat pushing it.
Reply With Quote
  #25  
Old 12-16-2008, 10:54 AM
CollinR CollinR is offline
Sage Icon
 
Join Date: Dec 2004
Location: Tulsa, OK
Posts: 1,305
Add an autorepeat action to the end of your FF/RW macros.

Yea EG really is that simple and that powerful.
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
New MCE Remote Software StephaneM Hardware Support 298 11-23-2009 06:13 PM
NO USB UIRT Configuration Controls in SAGE!!!! OldPCGUY Hardware Support 9 10-28-2008 09:14 PM
USB UIRT is sending double digit of the number mistergq Hardware Support 4 08-29-2008 08:04 PM
IR Blaster USB UIRT not waking STB up 2FarGone Hardware Support 4 06-11-2007 08:11 AM
Problems controlling DEC-3000S with USB UIRT oaamaas Hardware Support 2 04-10-2007 01:52 PM


All times are GMT -6. The time now is 11:20 AM.


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