Win HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus
(2016-11-20, 11:48)Lucas Rey Wrote:
Quote:Although PDVD opens via Kodi script(s), it will not close automatically upon title completion. I mapped alt + 4 to my remote. This kills it and returns you to Kodi still in focus and in fullscreen as you left it.
Is there any other way to kill powerdvd after pressing stop on remote?
I tried to add to PlayISO.bat the following command: taskkill /f /im PowerDVD.exe

So now the script looks like:
Code:
"C:\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\PowerDVD16\PowerDVD.exe" E:
"C:\VirtualCloneDrive\VCDMount.exe" /d=0 /u
taskkill /f /im PowerDVD.exe
exit
But is doesn't work. It just stops to unmount BD.

Hi to you Lucas. Here's how I solved this problem. Enjoy :-)

Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO startpdvd) ELSE (goto retry)

:retry
timeout 3
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO startpdvd) ELSE (goto end)

Confusedtartpdvd
REM "C:\Program Files (x86)\CyberLink\PowerDVD11\PDVDLaunchPolicy.exe" /LaunchProgram PowerDVDCinema
"C:\Program Files (x86)\CyberLink\PowerDVD15\PDVDLP.exe" /LaunchProgram PowerDVDCinema
timeout 2

:mountiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
IF EXIST E:\BDMV\. GOTO playingiso
IF EXIST E:\VIDEO_TS\. GOTO playingiso
timeout 1
IF EXIST E:\BDMV\. GOTO playingiso
IF EXIST E:\VIDEO_TS\. GOTO playingiso
timeout 2
IF EXIST E:\BDMV\. GOTO playingiso
IF EXIST E:\VIDEO_TS\. GOTO playingiso
timeout 3
IF EXIST E:\BDMV\. GOTO playingiso
IF EXIST E:\VIDEO_TS\. GOTO playingiso
GOTO ejected

:playingiso
timeout 2
IF EXIST E:\BDMV\. GOTO wait
IF EXIST E:\VIDEO_TS\. GOTO wait
GOTO ejected

:wait
timeout 3
GOTO playingiso

:ejected
REM taskkill.exe /IM PowerDVDCinema11.exe
taskkill.exe /IM PowerDVDCinema.exe
timeout 3
taskkill.exe /IM Activate.exe
GOTO end

:end
Reply


Messages In This Thread
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:20
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:29
RE: Kodi 3D Guide - by michaelsammler - 2015-06-22, 00:38
RE: Kodi 3D Guide - by brazen1 - 2015-06-23, 17:15
RE: Kodi 3D Guide - by michaelsammler - 2015-06-24, 02:23
RE: Kodi 3D Guide - by brazen1 - 2015-06-24, 17:22
RE: Kodi 3D Guide - by michaelsammler - 2015-06-25, 09:26
RE: HOW TO - Kodi 2D & 3D Guide Internal & External Players Incl afedchin build - by Roger79 - 2017-02-21, 20:15
HELP! - by brazen1 - 2018-08-22, 18:50
RE: HELP! - by zxaura1 - 2018-08-24, 09:32
Problem with DXVA scaling videos - by obstler - 2018-10-27, 10:13
Logout Mark Read Team Forum Stats Members Help
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus39