home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Blu-Ray / HD-DVD Player with PowerDVD (a working solution)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xppx" data-source="post: 336057" data-attributes="member: 55884"><p>Why shouldn't it work?</p><p></p><p>Btw: minimizing the MP is only good if your remote (IR) driver emulates key strokes alike the keyboard. </p><p>If it uses an IRTrans server (as the Zalman HD160XT Remote) then it is better to exit MP because it will continue reading all the keystrokes from the server port after PowerDVD has started. This will have the effect that both MP and PowerDVD will react to your remote which is somewhat undesirable.</p><p></p><p>The script I wrote works flawlessly on my system & infrastructure setup. My 2 cents worth of advice is to play a bit with the sleeping times. PowerDVD8 needs some time to start and read its settings (the first time) and while it is doing that it ignores any key you sent to it.</p><p></p><p>Here is the code snipplet of what I did.</p><p></p><p>Notice that I have dual view with my HTPC on the primary adapter and my Plasma on the secondary.</p><p>So I'm also obliged to move PowerDVD to the correct adapter.</p><p></p><p>[CODE]</p><p> IfWinExist, MediaPortal</p><p> {</p><p> WinActivate, MediaPortal</p><p> </p><p> [COLOR="Green"];Stops Media if already playing in MP[/COLOR]</p><p> SendInput b</p><p> [COLOR="Green"]; and close it first[/COLOR]</p><p> WinClose, MediaPortal</p><p> }</p><p></p><p> [COLOR="Green"];Switch nvidia to 24Hz mode // not necessary my Plasma supports 50/60/24 & no flickering</p><p> ;Run Rundll32.exe nvcpl.dll`, dtcfg setmode 1 1920 1080 32 24[/COLOR]</p><p> </p><p> [COLOR="green"]; Start bootup sequence for Power DVD[/COLOR]</p><p> IfWinNotExist, CyberLink PowerDVD</p><p> {</p><p> [COLOR="green"];Run PowerDVD8 and have it play the mounted disc automatically[/COLOR]</p><p> Run "%PowerDVDAppPath%\PowerDVD8.exe" %PreferredDrive%</p><p></p><p> WinWait, CyberLink PowerDVD [COLOR="green"]; wait until the application is started and the window appears[/COLOR] </p><p> WinWaitActive, CyberLink PowerDVD [COLOR="Green"]; wait until the application gets active[/COLOR] </p><p> Sleep, 500 [COLOR="green"]; then wait another 0.5 sec and let PowerDVD initialze itself (as from v8.0 this takes long)[/COLOR]</p><p> WinMove, CyberLink PowerDVD,, A_ScreenWidth, 0</p><p> WinMaximize, CyberLink PowerDVD</p><p> }</p><p> [COLOR="green"];wait for the maximize to take place and remember ... the DVD/HD-DVD/Blu-ray is already starting[/COLOR] </p><p> WinActivate, CyberLink PowerDVD</p><p> return</p><p>[/CODE]</p><p></p><p>And for the "<em>back/exit</em>" not working: I solved this by making back AND exit doing the same thing. This should work with any remote.</p><p></p><p>[CODE]</p><p>[COLOR="Green"]; exit PowerDVD and return to Media Portal [/COLOR]</p><p>back:</p><p>exit:</p><p> IfWinExist, CyberLink PowerDVD</p><p> { </p><p> </p><p> [COLOR="green"];Switch nvidia back to 60Hz mode</p><p> ;Run Rundll32.exe nvcpl.dll`, dtcfg setmode 1 1920 1080 32 60[/COLOR]</p><p> </p><p> WinClose, CyberLink PowerDVD </p><p> } </p><p> IfWinNotExist, MediaPortal </p><p> {</p><p> [COLOR="green"];Install directory previously stored in MediaPortalAppPath[/COLOR]</p><p> Run "%MediaPortalAppPath%\MediaPortal.exe" </p><p> }</p><p> ExitApp</p><p>[/CODE]</p></blockquote><p></p>
[QUOTE="xppx, post: 336057, member: 55884"] Why shouldn't it work? Btw: minimizing the MP is only good if your remote (IR) driver emulates key strokes alike the keyboard. If it uses an IRTrans server (as the Zalman HD160XT Remote) then it is better to exit MP because it will continue reading all the keystrokes from the server port after PowerDVD has started. This will have the effect that both MP and PowerDVD will react to your remote which is somewhat undesirable. The script I wrote works flawlessly on my system & infrastructure setup. My 2 cents worth of advice is to play a bit with the sleeping times. PowerDVD8 needs some time to start and read its settings (the first time) and while it is doing that it ignores any key you sent to it. Here is the code snipplet of what I did. Notice that I have dual view with my HTPC on the primary adapter and my Plasma on the secondary. So I'm also obliged to move PowerDVD to the correct adapter. [CODE] IfWinExist, MediaPortal { WinActivate, MediaPortal [COLOR="Green"];Stops Media if already playing in MP[/COLOR] SendInput b [COLOR="Green"]; and close it first[/COLOR] WinClose, MediaPortal } [COLOR="Green"];Switch nvidia to 24Hz mode // not necessary my Plasma supports 50/60/24 & no flickering ;Run Rundll32.exe nvcpl.dll`, dtcfg setmode 1 1920 1080 32 24[/COLOR] [COLOR="green"]; Start bootup sequence for Power DVD[/COLOR] IfWinNotExist, CyberLink PowerDVD { [COLOR="green"];Run PowerDVD8 and have it play the mounted disc automatically[/COLOR] Run "%PowerDVDAppPath%\PowerDVD8.exe" %PreferredDrive% WinWait, CyberLink PowerDVD [COLOR="green"]; wait until the application is started and the window appears[/COLOR] WinWaitActive, CyberLink PowerDVD [COLOR="Green"]; wait until the application gets active[/COLOR] Sleep, 500 [COLOR="green"]; then wait another 0.5 sec and let PowerDVD initialze itself (as from v8.0 this takes long)[/COLOR] WinMove, CyberLink PowerDVD,, A_ScreenWidth, 0 WinMaximize, CyberLink PowerDVD } [COLOR="green"];wait for the maximize to take place and remember ... the DVD/HD-DVD/Blu-ray is already starting[/COLOR] WinActivate, CyberLink PowerDVD return [/CODE] And for the "[I]back/exit[/I]" not working: I solved this by making back AND exit doing the same thing. This should work with any remote. [CODE] [COLOR="Green"]; exit PowerDVD and return to Media Portal [/COLOR] back: exit: IfWinExist, CyberLink PowerDVD { [COLOR="green"];Switch nvidia back to 60Hz mode ;Run Rundll32.exe nvcpl.dll`, dtcfg setmode 1 1920 1080 32 60[/COLOR] WinClose, CyberLink PowerDVD } IfWinNotExist, MediaPortal { [COLOR="green"];Install directory previously stored in MediaPortalAppPath[/COLOR] Run "%MediaPortalAppPath%\MediaPortal.exe" } ExitApp [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Blu-Ray / HD-DVD Player with PowerDVD (a working solution)
Contact us
RSS
Top
Bottom