Em nghiện cái món Bluray 2D, 3D, nhưng cái trình player của XBMC lại không hỗ trợ bluray, mà em thì lại quản lý phim bằng XBMC vì giao diện đẹp và tiện. Em đã làm theo hướng dẫn trên forum XBMC rồi, thấy Power DVD 13 đã chạy nhưng chẳng thấy auto mout phim bluray vào ổ ảo gì cả. Vậy bác nào biết có thể hướng dẫn em cụ thể khi đoạn mã code chọn file bluray thì XBMC tự động chọn mount ổ và play bằng PDVD được không. Em xin cảm ơn. "Đã sửa code nhưng vẫn chưa được" (ổ L là ổ ảo còn ổ J là ở DVD)
Mã code của em đây:


Mã code của em đây:
<playercorefactory>
<players>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\TuanViet\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\TuanViet\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
<player name="PDVDLP" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\CyberLink\PowerDVD13\PDVDLP.exe</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO/BDMV -->
<rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
<!-- Multiple files -->
<rule filetypes="m2ts|mkv|avi|ts" player="PDVDLP"/>
<!-- Bluray Disc -->
<rule filetypes="bd|ifo" player="Disc_Player"/>
</rules>
</playercorefactory>
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)
:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)
layiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDPrefs.exe" /d=0 %1
"C:\Program Files (x86)\CyberLink\PowerDVD13\PDVDLP.exe" L:
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDPrefs.exe" /d=0 /u
GOTO end
laympls
set pth=%1
set pth=%pth:~1,-25%
"C:\Program Files (x86)\CyberLink\PowerDVD13\PDVDLP.exe" "%pth%" exit
GOTO end
laybdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\CyberLink\PowerDVD13\PDVDLP.exe" %pth% exit
GOTO end
:end
exit
@echo off
rem you can place your PlayDisc file in \Roaming\XBMC\userdata\
"C:\Program Files (x86)\CyberLink\PowerDVD13\PDVDLP.exe" J:
Chỉnh sửa lần cuối: