NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 939 940 941 942 943 … 1231 Next »
postprocessing.bat AND postconversion.bat

 
  • 0 Vote(s) - 0 Average
postprocessing.bat AND postconversion.bat
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#1
2005-11-08, 07:06 PM
I have a PVR-350 and a nova-t usb2.

gbpvr is set to remux the dvr-ms files to mpeg ASAP.

When an analogue recording has finished, Postprocessing.bat is run correctly.
My problem is that when a DVB recording has finished, gbpvr runs Postprocessing.bat on the dvr-ms file AND then runs Postconversion.bat on the transcoded mpeg file.

Both bat files are set to do the same thing, namely:

if "%2"=="1" goto :eof
if "%2"=="2" goto :eof

comskip %1 >> comskip.log
:eof
RenameRecording.exe %1
rectracker %1

----

I think that this setup is causing of some of my dvr.ms files to not be deleted after being remuxed to mpeg. (as the comskip started by postprocessing is stil running on the dvr-ms file).

Does anyone have any ideas on how I can tweak these bat files so that they only run the commands once for both recording types?

I guess (as a dirty hack) I could say "If the file extension is dvr-ms" goto eof" in postprocessing.bat but I am not sure how to do this.

cheers
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
erik
Offline

Posting Freak

Posts: 1,138
Threads: 123
Joined: Apr 2005
#2
2005-11-08, 07:39 PM
Try


if "%~x1"=="dvr-ms" goto :eof

"%~x1" will expand to the extension of the file (If I remember well without the dot before the extension)
P4 3GHz 1GB, 250GB, nVidia dualTV, GBPVR 1.3.11, XP
Support Comskip, visit the forum and donate at http://www.comskip.org/
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#3
2005-11-08, 08:53 PM
Cheers Erik, that works great (it does include the dot btw).

Final version of postprocessing.bat

if "%~x1"==".dvr-ms" goto :eof2

Rem skip comskip if channel is BBC1 or BBC2
if "%2"=="1" goto :eof
if "%2"=="2" goto :eof

comskip %1 >> comskip.log
echo >> comskip.log

:eof
RenameRecording.exe %1
rectracker %1
exit

:eof2
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Postprocessing and the recordings database shsw 1 1,548 2010-08-29, 04:46 PM
Last Post: sub
  ffdshow postprocessing on .ts file playback alibert 2 1,742 2010-04-05, 05:33 AM
Last Post: alibert
  quick postprocessing Q drbenjamin 2 1,867 2010-01-25, 08:50 PM
Last Post: drbenjamin
  postprocessing.bat question philly_phenom 2 1,524 2009-06-05, 01:45 AM
Last Post: philly_phenom
  PostProcessing.bat does not respond keith_leitch 3 1,809 2009-05-31, 02:04 AM
Last Post: sub
  Postprocessing.bat not running on all recordings khaver 11 3,952 2009-04-29, 10:51 PM
Last Post: khaver
  Name change from PostConversion.bat recognition? elmede 2 1,275 2009-03-05, 01:26 AM
Last Post: elmede
  Postprocessing with que issue Reddwarf 0 1,100 2009-02-15, 11:15 AM
Last Post: Reddwarf
  PostProcessing & recording not showing. Jaggy 2 1,322 2009-02-12, 12:32 AM
Last Post: Jaggy
  postprocessing.bat, comskip & videoredo ApexHack 24 10,347 2009-02-09, 05:45 AM
Last Post: ApexHack

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode