I've seen this come up from time to time, so I thought I'd share my batch file mods.
Adding these commands will allow you to have a PostProcessing.bat, and still use comskip "real-time" in ParallelProcessing.bat.
PostProcessing will remain idol, until parallel processing has finished.
I’ve also included two versions of my PostUpdateEPG.bat,
I compact my gbpvr.mdb every evening (after the EPG update) using gbpvr_compact.exe.
Using “all” the included batch file mods, GBPVRRecordingService will only be restarted (and gbpvr.mdb compacted) if nothing is being recorded or post-processed.
ParallelProcessing.bat
PostProcessing.bat
UpdateEPG.bat
PostUpdateEPG.bat (compact after every EPG update)
PostUpdateEPG.bat (compact only if nothing is being recorded or processed)
TimeOut.exe
http://www.dynawell.com/support/ResKit/winnt.asp
gbpvr_compact
http://forums.gbpvr.com/showpost.php?p=1...ostcount=5
Adding these commands will allow you to have a PostProcessing.bat, and still use comskip "real-time" in ParallelProcessing.bat.
PostProcessing will remain idol, until parallel processing has finished.
I’ve also included two versions of my PostUpdateEPG.bat,
I compact my gbpvr.mdb every evening (after the EPG update) using gbpvr_compact.exe.
Using “all” the included batch file mods, GBPVRRecordingService will only be restarted (and gbpvr.mdb compacted) if nothing is being recorded or post-processed.
ParallelProcessing.bat
Code:
C:
cd "C:\Program Files\devnz\gbpvr"
echo %2 >"%~n1.REC"
echo %2 >"%~n1.PaP.REC"
REM *** The lines above are the first lines in ParallelProcessing.bat ***
REM *** Channels W/O Commercials ****
REM if "%2" == "13" goto end:
REM if "%2" == "14" goto end:
comskip %1
REM *** The lines below are the last lines in ParallelProcessing.bat ***
:end
del "%~n1.REC"
PostProcessing.bat
Code:
C:
cd "C:\Program Files\devnz\gbpvr"
echo %2 >"%~n1.PoP.REC"
DEL "%~n1.PaP.REC"
:start
Timeout.exe 5
IF EXIST "%~n1.REC" goto start:
REM *** Start Normal PostProcessing.bat Operation ***
REM *** End normal PostProcessing.bat entries ***
DEL "%~n1.PoP.REC"
UpdateEPG.bat
Code:
C:
cd "C:\Program Files\devnz\gbpvr"
del "C:\Program Files\Devnz\GBPVR\*.REC"
REM *** The lines above are the first lines in UpdateEPG.bat ***
PostUpdateEPG.bat (compact after every EPG update)
Code:
C:
cd "c:\program files\devnz\gbpvr"
TimeOut 3600
:start
Timeout 60
if exist "*.REC" goto start:
gbpvr_Compact.exe >Compact.log
PostUpdateEPG.bat (compact only if nothing is being recorded or processed)
Code:
C:
cd "c:\program files\devnz\gbpvr"
TimeOut 3600
if not exist "*.REC" gbpvr_Compact.exe >Compact.log
TimeOut.exe
http://www.dynawell.com/support/ResKit/winnt.asp
gbpvr_compact
http://forums.gbpvr.com/showpost.php?p=1...ostcount=5
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |