NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 135 136 137 138 139 … 433 Next »
PostProcessing.bat doesn't run

PostProcessing.bat doesn't run
wscrivens
Offline

Member

Posts: 85
Threads: 21
Joined: Jul 2005
#1
2011-07-14, 11:40 PM
I recently added a new system drive to my PVR, and now it is configured with NPVR located in
E:\Program Files\NPVR.

That all works fine (the Recordings directory, etc set up in "Settings") but PostProcessing.bat never runs.

I've tried it in C:\Users\Public\NPVR\Scripts, as well as in E:\Users\Public\NPVR\Scripts. The first line of the batch file writes to a log file, which never happens, so it's not a comskip issue.

What am I missing? Some configurations item?

Walt
Hauppague 150, and 1600, Redeon HD5670 Video, 2.91 GHz Athalon CPU, ASUS M2N68-AM MoBo, Winows 7 Professional, Samsung LNS2641DX/XAA display
Jaggy
Online

Posting Freak

Carterton, NZ
Posts: 3,633
Threads: 148
Joined: Mar 2006
#2
2011-07-14, 11:45 PM
Are you letting the recording run to an end naturally?? If you cancel a recording Postprocessing.bat never gets called.
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#3
2011-07-14, 11:54 PM
also, you need to begin your batch file with a CD command to get into the correct directory, OR use absolute paths for EVERY filename you reference.
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
wscrivens
Offline

Member

Posts: 85
Threads: 21
Joined: Jul 2005
#4
2011-07-15, 12:01 AM
No, I'm not terminating the recordings in any way - they run to completion.
The first 2 lines of my postprocessing.bat file are:
Code:
@echo off
echo Processing Started >> postprocessing.log

The batch file never gets called - at least there is never an entry in postprocessing.log in the same directory as the batch file.

I've seen various cd commands in sample postprocessing files. I'm not sure exactly what npvr passes as command-line arguments, so I'm not sure where to "cd" to. Right now, I have postprocessing.bat and all of comskip in e:\users\public\npvr\scripts, and the recordings are in e:\recordings. That's quite different from how it was set up in GBPVR and I can't find the information in the wiki.

Walt
Hauppague 150, and 1600, Redeon HD5670 Video, 2.91 GHz Athalon CPU, ASUS M2N68-AM MoBo, Winows 7 Professional, Samsung LNS2641DX/XAA display
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#5
2011-07-15, 12:28 AM
Do a recording, then zip and attach the nrecord.log and I'll take a look to check it's being run.

To make sure you're in the right place to run you commands, you'd typically do something like:

Code:
e:
cd \path\to\comskip
...etc...
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#6
2011-07-15, 01:55 AM
if you don't have the cd command in there, then it's not going to work. when nrecord launches a script, the working directory isn't what you think it will be, so you must change it with a cd command.
if your npvr directory is in e:\users\public\npvr, and you want your script to run in the scripts directory, then:
Code:
e:
cd \users\public\npvr\scripts
...the rest of your stuff...
The recommendation previously stated by sub is to discourage putting non-npvr stuff into the npvr folders. I'd suggest making a path off the root like c:\comskip and run your script there (but the script itself still goes in the scripts folder). if you've not found it already, here's my comskip script: http://forums.gbpvr.com//showthread.php?...post387833
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
wscrivens
Offline

Member

Posts: 85
Threads: 21
Joined: Jul 2005
#7
2011-07-15, 01:57 AM
Searching for nrecord.log comes up empty. Do I need to turn on something to cause it to be created?

I have comskip installed in the e:\users\public\npvr\scripts directory - so the "cd" line shouldn't be needed. correct?

Walt
Hauppague 150, and 1600, Redeon HD5670 Video, 2.91 GHz Athalon CPU, ASUS M2N68-AM MoBo, Winows 7 Professional, Samsung LNS2641DX/XAA display
johnsonx42
Offline

Posting Freak

Posts: 7,298
Threads: 189
Joined: Sep 2008
#8
2011-07-15, 02:00 AM
Yes yes yes the cd line is needed that's why i keep saying to put it in there

edit: lol, I typed that in angry all-caps, but the forum software wouldn't let me be so rude. so let me just say :mad: :mad: :mad:
server: NextPVR 5.0.7/Win10 2004/64-bit/AMD A6-7400k/hvr-2250 & hvr-1250/Winegard Flatwave antenna/Schedules Direct
main client: NextPVR 5.0.7 Desktop Client; LG 50UH5500 WebOS 3.0 TV
wscrivens
Offline

Member

Posts: 85
Threads: 21
Joined: Jul 2005
#9
2011-07-15, 02:06 AM
OK, Thanks Johnsonx42. That makes sense now - the postprocessing.bat file may be called from somewhere else. I agree that putting extraneous files in the npvr directories only messes things up, and I have moved comskip accordingly, and fixed postprocessing.bat. - and yes, I used your file as the starting point for mine, although I don't really use most of the clever stuff you put in there. Thanks.

It still appears that postprocessing.bat is never called, though.

Walt
Hauppague 150, and 1600, Redeon HD5670 Video, 2.91 GHz Athalon CPU, ASUS M2N68-AM MoBo, Winows 7 Professional, Samsung LNS2641DX/XAA display
mulletback
Offline

Member

USA
Posts: 237
Threads: 10
Joined: Feb 2006
#10
2011-07-15, 02:23 AM
wscrivens Wrote:The batch file never gets called - at least there is never an entry in postprocessing.log in the same directory as the batch file.

Look in the directory where your NRecord.exe lives.
npvr5/win10-64/b450m-a/ryzen3400g/radeonvega11/wintvquadHD/clearstream2antenna+hivhffoldeddipole
/schedulesdirect
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextPVR Recording Service doesn't install from Services SamM 4 2,105 2020-08-02, 01:11 AM
Last Post: SamM
  2020 TV Guide Doesn't Show up rmahlberg 14 9,559 2020-01-04, 06:43 PM
Last Post: sub
  Forcing a SXXEXXX when one doesn't exist bigoldboy 13 5,646 2019-12-11, 11:40 PM
Last Post: JavaWiz
  Local News M3U8 link doesn't play audio caseguy 37 13,273 2019-11-26, 05:11 PM
Last Post: caseguy
  postprocessing batch to escape special characters donbrew 3 1,776 2019-11-06, 11:29 PM
Last Post: JavaWiz
  PostProcessing.bat not executing MiyoshiSaki 13 4,853 2019-09-03, 10:36 PM
Last Post: sub
  Issue with Beast IPTV recording - Skipping + Doesn't record full show abrupt ending russmehta01 3 3,072 2019-02-26, 09:20 PM
Last Post: sub
  NextPVR Kodi plugin doesn't remeber the group setting when it is re-run Beeman 5 1,754 2019-01-11, 11:53 PM
Last Post: Beeman
  4.2.3 install doesn't update version in config.xml sgilani 3 1,687 2018-11-12, 05:17 AM
Last Post: sub
  Mdapi stopped working, Acamd doesn't get any data Sheik Yerbouti 4 2,385 2018-09-17, 06:27 AM
Last Post: Reddwarf

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

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

Linear Mode
Threaded Mode