2007-03-18, 10:38 AM
Hi, I am new to this automated script and I can not get it to work properly. Without debug, the script exist but the output avi still contains all commersial and is only 1 second shorter than the origina. I will try to produces some logs but until then I have a question. My transcodings seem to loop in the section below (row 593 in the 0.4b script).
I dont understand why the if statement is rem'ed? This is the output in the cmd window.
So what am I doing wrong? Or is more information needed? I am running all standard options except the following
cleanup=no
debug=yes
comskip=yes.
\\Agerdin
Code:
:post2
%debug%
rem IF EXIST "%~dpn1_original.avi" del /q "%~dpn1.edl"
%debug%
IF /I %PortableDel% == yes GOTO delete:
%debug%
IF /I %file_delete% == yes GOTO delete:
%debug%
GOTO cleanup:
.....
:cleanup
IF /I %cleanup% == no GOTO post2:
.....
I dont understand why the if statement is rem'ed? This is the output in the cmd window.
Code:
C:\Program Files\devnz\gbpvr\Convert>rem IF EXIST "E:\My Recordings\Dirty Dancin
g 2\Dirty Dancing 2_20070317_21002240_original.avi" del /q "E:\My Recordings\Dir
ty Dancing 2\Dirty Dancing 2_20070317_21002240.edl"
C:\Program Files\devnz\gbpvr\Convert>pause
Press any key to continue . . .
C:\Program Files\devnz\gbpvr\Convert>IF /I null == yes GOTO delete:
C:\Program Files\devnz\gbpvr\Convert>pause
Press any key to continue . . .
C:\Program Files\devnz\gbpvr\Convert>IF /I no == yes GOTO delete:
C:\Program Files\devnz\gbpvr\Convert>pause
Press any key to continue . . .
C:\Program Files\devnz\gbpvr\Convert>GOTO cleanup:
C:\Program Files\devnz\gbpvr\Convert>IF /I no == no GOTO post2:
C:\Program Files\devnz\gbpvr\Convert>pause
Press any key to continue . . .
C:\Program Files\devnz\gbpvr\Convert>rem IF EXIST "E:\My Recordings\Dirty Dancin
g 2\Dirty Dancing 2_20070317_21002240_original.avi" del /q "E:\My Recordings\Dir
ty Dancing 2\Dirty Dancing 2_20070317_21002240.edl"
So what am I doing wrong? Or is more information needed? I am running all standard options except the following
cleanup=no
debug=yes
comskip=yes.
\\Agerdin