|
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. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
Quote:
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 |
#4
|
|||
|
|||
Hi,
Turned off exclusive full screen mode and it is working now Thanks Basset |
#5
|
||||
|
||||
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 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
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 |