2012-07-03, 17:43
(2012-07-03, 16:01)Hessi Wrote: Wouldn't this be the way to go for only blu-ray discs, and (if possible) BDMV file structures?For playback blu-ray disc, you don't need to include the m2ts in bluray_player rule. It should work with "<rule filename="F:\\.*" filetypes="bdmv" player="Bluray_Player"/>", because it use index.bdmv.........
playercorefactory.xmlCode:<playercorefactory>
<players>
<player name="Bluray_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe</filename>
<args>"{F:}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Media Center\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Blu-Ray Discs -->
<rule filename="F:\\.*" filetypes="bdmv|m2ts" player="Bluray_Player"/>
<!-- Bluray BDMV -->
<rule filetypes="bdmv" player="BDMV_Player"/>
<!-- Bluray M2TS -->
<rule filetypes="m2ts" player="Universal_Player"/>
</rules>
</playercorefactory>
PlayBDMV.bat - maybe this needs some changes? Maybe like - set pth=%pth:BDMV\STREAM\*.m2ts=%Code:@echo off
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" %pth% exit
This this still wouldn't autoplay the movie in PowerDVD. What does the warpcursor element do? Can it be used to send a spacebar press to PowerDVD?
Since you have PDVD12 in your HTPC, please try to play around with it and let us know what you find out........I installed the trial version of PDVD12 but I don't have it anymore.....