Hi
I hope someone can help me with my issue I face with playing BDMV
I had just upgraded to XBMC Eden and integrate it MPC-HC for mkv/m2ts since Dharma.
This is the playercorefactory.xml:
<playercorefactory>
<players>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Lim Chee Kwang\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>flase</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\MPC-HC\mpc-hc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>flase</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray BDMV -->
<rule filenames="bdmv" filetypes="bdmv" player="BDMV_Player"/>
<!-- Bluray M2TS -->
<rule filenames="m2ts" filetypes="m2ts" player="Universal_Player"/>
<!-- Bluray MKV -->
<rule filenames="mkv" filetypes="mkv" player="Universal_Player"/>
<!-- Bluray AVI -->
<rule filenames="avi" filetypes="avi" player="Universal_Player"/>
<!-- Bluray TS -->
<rule filenames="ts" filetypes="ts" player="Universal_Player"/>
</rules>
</playercorefactory>
I am troubleshooting and my playdbmv.bat:
rem @
echo off
rem you can place your PlayBDMV file in \Roaming\XBMC\userdata\
set pth=%1
rem set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\MPC-HC\mpc-hc.exe" %pth% exit
The output from playbdmv.bat
I selected the container directory "The_Book_of_Eli" and play but the arg pass from xbmc to playbdmv.bat seems to have gone deeper into the folder structure.
XBMC has went into the first/top directory within BDMV and pass the bdmv file within there to playbdmv.bat.
Can someone help me on how can I make xbmc pass only the container directory as arg to playbdmv.bat?
Thank you in advance.
MPC-HC has no issue, on its own, playing bd by selecting the container directory or play file using movieobject.bdmv.