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 12-19-2007, 12:53 AM
basset basset is offline
Sage User
 
Join Date: Feb 2005
Posts: 71
Question Fail to launch PowerDVD Ultra as external command

Hi,

I have a LG HD/BD drive and would like to launch PowerDVD from a sage menu. Now I've used the extCommand menu option similarly to below:

<actionMenuItem title="HiDef">
<actionList>
<sageCommand command="Power Off"/>
<extCommand arguments="d:" command="C:\Program Files\CyberLink\PowerDVD\PowerDVD.exe" waitforexit="1" window="normal"/>
<sageCommand command="Power On"/>
</actionList>
</actionMenuItem>

Now this seems to work ok when SageTV is windowed, but if I try it when sage is full screen, it will fail to start PowerDVD. After that, even with sage in windowed mode, PowerDVD will start up .. try to play the movie and shutdown. The only way to get PowerDVD working again, is to completely shutdown SageTV at which point PowerDVD will play movies again.

Is it possible that SageTV grabs some DX9 stuff in full screen which it fails to release when going to windowed mode and which causes PowerDVD to fail when it tries to render the movie ?

Thanks
Basset
Reply With Quote
  #2  
Old 12-19-2007, 07:18 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
it is possible... But a workaround is to disable and restore fullscreen mode as well as sleeping
Here is a pasteable menu item for you (untested, but will probably work...)
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd">
<sageMenu version="1.4">
   <actionMenuItem title="HiDef">
      <actionList>
         <sageCommand command="Disable Full Screen"/>
         <sageCommand command="Power Off"/>
         <extCommand arguments="d:" command="C:\Program Files\CyberLink\PowerDVD\PowerDVD.exe" waitforexit="1" window="normal"/>
         <sageCommand command="Power On"/>
         <sageCommand command="Restore Full Screen"/>
      </actionList>
   </actionMenuItem>
</sageMenu>
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #3  
Old 12-19-2007, 09:02 AM
basset basset is offline
Sage User
 
Join Date: Feb 2005
Posts: 71
Quote:
Originally Posted by nielm View Post
it is possible... But a workaround is to disable and restore fullscreen mode as well as sleeping
Here is a pasteable menu item for you (untested, but will probably work...)
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE sageMenu PUBLIC "-//NIELM//DTD SAGEMENU XML 1.4//EN" "http://www.sage-community.org/~nielm/nielm_modules/dynamic_menu/sagemenu_1_3.dtd">
<sageMenu version="1.4">
   <actionMenuItem title="HiDef">
      <actionList>
         <sageCommand command="Disable Full Screen"/>
         <sageCommand command="Power Off"/>
         <extCommand arguments="d:" command="C:\Program Files\CyberLink\PowerDVD\PowerDVD.exe" waitforexit="1" window="normal"/>
         <sageCommand command="Power On"/>
         <sageCommand command="Restore Full Screen"/>
      </actionList>
   </actionMenuItem>
</sageMenu>

Hi Nielm

Thanks for the reply (great STVs etc. btw) ... I did try that with the same results. I even tried to execute some "sleeps" between the commands to give everything some time to settle down (2 sec sleep) but that too had no effect.

I can take sage in and out of full screen with the remote (with a mapped button), so I can start it up windowed ... go full screen, then back to windowed (with the remote) and then start PowerDVD without a problem, but when I try to do it with the menu commands directly from full screen, it fails to launching PowerDVD. After that Powerdvd just won't start again even in windowed mode until I restart Sage.

What I haven't tried (and I am at work now ) is to disable full screen exclusive mode (if that is still there) and see if that solves the problem. It definitely looks like a Sage problem / bug at this time.

Thanks
Basset
Reply With Quote
  #4  
Old 12-19-2007, 08:05 PM
basset basset is offline
Sage User
 
Join Date: Feb 2005
Posts: 71
Hi,

Turned off exclusive full screen mode and it is working now



Thanks
Basset
Reply With Quote
  #5  
Old 12-20-2007, 11:59 AM
Eckwell's Avatar
Eckwell Eckwell is offline
Sage Aficionado
 
Join Date: Apr 2007
Posts: 289
Basset - Did you turn off exclusive full screen mode in the code? so it goes back on when PowerDVD opens? or just by setting it off in the setup?
__________________
Eckwell / Chicago, IL
SERVER: AMD Phenom III 8750 Black / 4 GB / XP Pro / JV1.6.24 / V7 / 2 PVR-HD (DirectTV) & HDHR (2xATSC)
STORAGE: WD Raptor36GB boot / 11TB in 2 eSATA enclosure
DEFAULT STV
Comskip triggered by DirMON2 --- HD100 / HD200 /HD300
BMI fanart
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
Launch from Command line zakrzep SageTV Placeshifter 2 03-18-2007 01:08 PM
4.1.10 crashes AtariJeff SageTV Beta Test Software 44 05-06-2006 08:00 AM
Client software closes overnight... weird... ShadoWolf SageTV Software 39 01-24-2006 09:55 PM


All times are GMT -6. The time now is 03:05 PM.


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