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
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#1
2007-03-20, 12:26 AM
How do I get logging back for my PostProcessing.bat activity?

Can I just add the following at the end of my PostProcessing.bat?:
>> postprocessing.log

I was going to use the line out of the original postprocessing.bat file but don't understand the echo business and the extra stuff.
echo Postprocessing.bat invoked on %1 recorded from channel %2 >>postprocessing.log

Thanks much Smile
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,806
Threads: 769
Joined: Nov 2003
#2
2007-03-20, 12:32 AM
PostProcessing.log isnt a file created by GB-PVR. If you want to send any information to a file of that name, then you have to do it yourself with whatever commands you're running in your PostProcessing.bat file.
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#3
2007-03-20, 12:46 AM
Huh? Wasn't that what I was asking? That command?
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,806
Threads: 769
Joined: Nov 2003
#4
2007-03-20, 12:48 AM
I tend to take any questions asked in the support forum as question directed at me, so I was just making it clear that this isnt a standard GB-PVR function. I'm by no means a batch file expert, so I couldnt tell you what batch file commands would append to your log file.
David
Offline

Senior Member

Posts: 435
Threads: 18
Joined: Oct 2005
#5
2007-03-20, 12:54 AM
ApexHack Wrote:How do I get logging back for my PostProcessing.bat activity?

Can I just add the following at the end of my PostProcessing.bat?:
>> postprocessing.log

I was going to use the line out of the original postprocessing.bat file but don't understand the echo business and the extra stuff.
echo Postprocessing.bat invoked on %1 recorded from channel %2 >>postprocessing.log

Thanks much Smile

Adding this code to the end of your Postprocessing.bat should generate your log entry that you desire.
Code:
echo Postprocessing.bat invoked on %1 recorded from channel %2 >>postprocessing.log

It will not log the activities of the various utilities.
David

PVR PC: Win2K3, Athlon x2 64 4600+, 1280MB Ram, 40+400 GB HD's, Gigabyte Network
PVR-250, ATSC-110 digital x2, GBPVR v1.3.7 w/SQLite DB
Extras: Addepisode 41, Comskip 79.46, EWA 76, Zaptools

DSM-520 (D-Link Media Lounge) FW 1.04 using TVersity Media Server 0.9.11.4
DSM-320 (D-Link Media Lounge) FW 1.09
MediaMVP

More specs
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#6
2007-03-20, 01:35 AM
One arrow directs the output of the echo to a new (or overwritten) txt file.

Two arrows 'append' the output. As David said it won't give you the output of the specific utility. Just show that it was run...

I use this statement so that there's a time associated


Code:
echo %date% %time% Processing the following... >> PostProcessing.Log
(gives the date and time)

echo "C:\Program Files\devnz\gbpvr\Third Party\ZProcess\ZProcess.exe" "%1" comskip auto >> PostProcessing.Log
(logs the command line about to be passed)

call "C:\Program Files\devnz\gbpvr\Third Party\ZProcess\ZProcess.exe" %1 comskip auto
(the command line)

Adjust as necessary. Don't include the notes in ()...

Then a log will look like this:

Code:
**************************************
28/02/2007 23:00:03.82 Processing the following...
"C:\Program Files\devnz\gbpvr\Third Party\ZProcess\ZProcess.exe" ""C:\TV\Recorded\In Case of Emergency\In Case of Emergency_20070228_22302300.mpg"" comskip auto
  
**************************************
01/03/2007  0:02:05.57 Processing the following...
"C:\Program Files\devnz\gbpvr\Third Party\ZProcess\ZProcess.exe" ""C:\TV\Recorded\Lost\Lost_20070228_23000000.mpg"" comskip auto
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
#7
2007-03-20, 01:51 AM
Thanks guys. That helps loads. I need to learn this stuff.

Sub - My apologies. It certainly wasn't intended that way. I was just directing the question to the general audience. Maybe I should have put it in the plugins section.

Cheers everyone
ApexHack
Offline

Member

Posts: 184
Threads: 34
Joined: Mar 2006
#8
2007-03-20, 01:59 AM
I like the date/time addition. Thanks Frank.

One question: Where do I put that line and does it matter? Beginning, end?

Oh, and I do realize it doesn't log any other utilities. I just had a situation where there was a _cleaned file left behind and I was just wondering what happened. I thought maybe too many recordings had ended at the same time or something. I've got three tuners chunking away now and with the addition of the recent third and my recent upgrade to 99.12, I'm recording tons of stuff to test things.

Cheers
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#9
2007-03-20, 02:07 AM
ApexHack Wrote:I like the date/time addition. Thanks Frank.

One question: Where do I put that line and does it matter? Beginning, end?

Oh, and I do realize it doesn't log any other utilities. I just had a situation where there was a _cleaned file left behind and I was just wondering what happened. I thought maybe too many recordings had ended at the same time or something. I've got three tuners chunking away now and with the addition of the recent third and my recent upgrade to 99.12, I'm recording tons of stuff to test things.

Cheers

Place it wherever you want logging...

You can have several places in a PostProcessing.bat. Here's a crude example, don't take literally...

Code:
echo Running Comskip >>Postprocess.log
c:\comskip\comksip.exe %1

echo Running Comclean >>Postprocess.log
c:\comclean.bat

echo Deleting temp files... >Postprocess.log
kill C:\AllFiles\On\Internet\*.*
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
#10
2007-03-20, 02:15 AM
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?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


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,851 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,410 2009-09-19, 04:59 PM
Last Post: bfracing
  updated to 1.4.7 now cant play recordings imagn 6 2,198 2009-08-31, 03:00 AM
Last Post: imagn
  updated EGP now "no show details" 8ace 1 1,257 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,512 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