2013-01-14, 21:48
(2013-01-14, 18:49)acejh1987 Wrote: You could add a ping delay before MPC-HC launch, or you can try this bat file, it should wait until the ISO is mounted before launching MPC-HC.
Let me know if it works, I'm assuming your Virtual Drive is D:
Code:Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)
:playiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
:unmounted
IF EXIST D:\BDMV\\. GOTO mounted
GOTO unmounted
:mounted
"C:\Program Files (x86)\MPC-HC\mpc-hc.exe" "D:\BDMV\index.bdmv"
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end
:next
"C:\Program Files (x86)\MPC-HC\mpc-hc.exe" %1 exit
GOTO end
:end
exit
Thank you, this new batch file works great.
The only detail left is that when I close MPC-HC, you can see on XBMC a black rectangle in the middle of the screen (for a couple of seconds). So you loose the seamless integration that we got with external players in Eden. Any suggestions?