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 … 575 576 577 578 579 … 1231 Next »
PostProcessing.log not updated anymore

 
  • 0 Vote(s) - 0 Average
PostProcessing.log not updated anymore
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#11
2007-03-20, 02:22 AM
ApexHack Wrote:Ah, I see, it will log the different things your instructing.

So if I've got it renaming the file and moving it to another folder, I would need a line to the log file after each one?

yes.
I prefer to place a log statement before and after...with time statements, it gives me an idea how how the operation took.

Time statements not included in this example...

Code:
echo about to copy files....>>post.log
Copy x y
echo finished copying files...>>post.log
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#12
2007-03-20, 02:23 AM
Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
REM Below added 2/9/07 to clean up
move "%~dpn1_original.mpg" H:\Originals
del "%~dpn1.log"
del "%~dpn1.txt"
del "%~dpn1.VPrj"
del "%~dpn1.logo.txt"

OK, so here's the relevant part. If I wanted to see each one of these operations in the log file, how would it look?

Thanks in advance for holding my hand with this. I'm feeling kinda silly, with this basic stuff.

Cheers

edit - damn, you posted at the same time, or soon before.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#13
2007-03-20, 02:31 AM
(Rolls his eyes, feels silly holding someone's hand)

ApexHack Wrote:Rem RENAME the old .mpg file and rename the new one to the old name
move "%~dpn1.mpg" "%~dpn1_original.mpg"
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"
REM Below added 2/9/07 to clean up
move "%~dpn1_original.mpg" H:\Originals
del "%~dpn1.log"
del "%~dpn1.txt"
del "%~dpn1.VPrj"
del "%~dpn1.logo.txt"

OK, so here's the relevant part. If I wanted to see each one of these operations in the log file, how would it look?

Thanks in advance for holding my hand with this. I'm feeling kinda silly, with this basic stuff.

Cheers

Here...

Code:
Rem RENAME the old .mpg file and rename the new one to the old name
echo RENAME the old .mpg file and rename the new one to the old name>>Post.log
echo.

echo %time% : renaming "%~dpn1.mpg" to "%~dpn1_original.mpg">>Post.log
rem this type of move is really renaming..
move "%~dpn1.mpg" "%~dpn1_original.mpg"

echo %time% : renaming "%~dpn1_cleaned.mpg" to "%~dpn1.mpg">>Post.log
move "%~dpn1_cleaned.mpg" "%~dpn1.mpg"

REM Below added 2/9/07 to clean up
echo %time% : moving files:  "%~dpn1_original.mpg" to H:\Originals>>Post.log
move "%~dpn1_original.mpg" H:\Originals

echo %time% : deleting temp files...>>Post.log

del "%~dpn1.log" >>Post.log
del "%~dpn1.txt" >>Post.log
del "%~dpn1.VPrj" >>Post.log
del "%~dpn1.logo.txt" >>Post.log

echo %time% : finished!>>Post.log

BTW, I expressly did not make this so you can cut and paste into your batch file. You have to do SOME leg work... Big Grin
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#14
2007-03-20, 02:38 AM
You da man Frank. Thanks. Consider your work here done. You've given me more than enough to go on. I'll refrain from asking any more questions. I think I'm getting a handle on it.

Cheers, enjoy the balance of your evening.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#15
2007-03-20, 02:58 AM
ApexHack Wrote:You da man Frank. Thanks. Consider your work here done. You've given me more than enough to go on. I'll refrain from asking any more questions. I think I'm getting a handle on it.

Cheers, enjoy the balance of your evening.

'I'll refrain from asking any more questions.'

I hope you didn't take me the wrong way. I was happy to help.
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#16
2007-03-20, 03:01 AM
No, no, it's just that I've professed enough stupidity for one evening. Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Postprocessing and the recordings database shsw 1 1,534 2010-08-29, 04:46 PM
Last Post: sub
  ffdshow postprocessing on .ts file playback alibert 2 1,735 2010-04-05, 05:33 AM
Last Post: alibert
  quick postprocessing Q drbenjamin 2 1,850 2010-01-25, 08:50 PM
Last Post: drbenjamin
  Jetcomp.exe used anymore? htewam 2 1,865 2009-10-06, 11:06 AM
Last Post: sub
  PVXR2 does not recognize the TV tuner anymore bfracing 2 1,409 2009-09-19, 04:59 PM
Last Post: bfracing
  updated to 1.4.7 now cant play recordings imagn 6 2,197 2009-08-31, 03:00 AM
Last Post: imagn
  updated EGP now "no show details" 8ace 1 1,256 2009-06-28, 02:03 AM
Last Post: sub
  Updated gbpvr...lost channel logos and numbers...Help! Marbles_00 5 2,328 2009-06-25, 12:17 PM
Last Post: Marbles_00
  postprocessing.bat question philly_phenom 2 1,511 2009-06-05, 01:45 AM
Last Post: philly_phenom
  PostProcessing.bat does not respond keith_leitch 3 1,790 2009-05-31, 02:04 AM
Last Post: sub

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

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

Linear Mode
Threaded Mode