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 … 557 558 559 560 561 … 1231 Next »
PostProcessing [Filename] [Channel Number]

 
  • 0 Vote(s) - 0 Average
PostProcessing [Filename] [Channel Number]
Smoker
Offline

Senior Member

Posts: 409
Threads: 68
Joined: Mar 2007
#1
2007-04-14, 07:16 PM
Greetings

I am trying to run something against a recording via PostProcessing and I see the usage is

PostProcessing [Filename] [Channel Number]

Question I have is how do I determine the path ?
or does the [Filename] contain the path as well as the filename ?
[SIZE="1"]Foxconn 6150K8MA-8EKRS | Athlon 64 4000+ | 1 GB (4x256KB) | 2 x 160GB | PVR-150 (1042 & 1045) & HVR-1600
XP Pro SP2 | gbpvr v0.99.12 | TV Listings | ComSkip | TV Guide Supercharger | Weather | mpg2srt[/SIZE]
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#2
2007-04-14, 07:39 PM
ISTR 'filename' is the full path including name+ext
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#3
2007-04-14, 08:15 PM
Smoker Wrote:Greetings

I am trying to run something against a recording via PostProcessing and I see the usage is

PostProcessing [Filename] [Channel Number]

Question I have is how do I determine the path ?
or does the [Filename] contain the path as well as the filename ?

What you do is have a PostProcessing.bat that does stuff with the %1 and %2 parameters...

GB-PVR takes care of calling the batch file with the correct info....

You could have something like this (not perfect syntax)

rem if the channel is 13 then go to the end of file
if %2 == 13 then goto eof

rem all other channels...
comskip %1

the comskip package has a sample postprocessing.bat that suggests lots of stuff
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]
Smoker
Offline

Senior Member

Posts: 409
Threads: 68
Joined: Mar 2007
#4
2007-04-14, 09:12 PM
Well what I ended up with is

@echo off
REM Usage: PostProcessing [Filename] [Channel Number]

c:
cd "c:\Program Files\devnz\gbpvr"

mpg2srt.exe "%1" /d"%~d1%~p1"

Now I have to record a show and see if it works Smile
[SIZE="1"]Foxconn 6150K8MA-8EKRS | Athlon 64 4000+ | 1 GB (4x256KB) | 2 x 160GB | PVR-150 (1042 & 1045) & HVR-1600
XP Pro SP2 | gbpvr v0.99.12 | TV Listings | ComSkip | TV Guide Supercharger | Weather | mpg2srt[/SIZE]
Smoker
Offline

Senior Member

Posts: 409
Threads: 68
Joined: Mar 2007
#5
2007-04-14, 10:09 PM
Well I tried it but nothing.

The name of the bat file is PostProcessing.bat

But I doubt that it is called cause I have a this line in it

echo Usage: PostProcessing [Filename] [Channel Number] >> c:\Program Files\devnz\gbpvr\logs\mpg2srt.log

and the log file does not get created.
[SIZE="1"]Foxconn 6150K8MA-8EKRS | Athlon 64 4000+ | 1 GB (4x256KB) | 2 x 160GB | PVR-150 (1042 & 1045) & HVR-1600
XP Pro SP2 | gbpvr v0.99.12 | TV Listings | ComSkip | TV Guide Supercharger | Weather | mpg2srt[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#6
2007-04-14, 10:11 PM
It'll log a line in GBPVRRecordingService.exe.log to tell you if it has run PostProcessing.bat.
Smoker
Offline

Senior Member

Posts: 409
Threads: 68
Joined: Mar 2007
#7
2007-04-14, 10:28 PM
Does PostProcessing.bat get called for manual recordings as well ?
[SIZE="1"]Foxconn 6150K8MA-8EKRS | Athlon 64 4000+ | 1 GB (4x256KB) | 2 x 160GB | PVR-150 (1042 & 1045) & HVR-1600
XP Pro SP2 | gbpvr v0.99.12 | TV Listings | ComSkip | TV Guide Supercharger | Weather | mpg2srt[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#8
2007-04-14, 10:30 PM
Yes, but remember it'll only be run if the recording runs to completion (ie, dont cancel it).
Smoker
Offline

Senior Member

Posts: 409
Threads: 68
Joined: Mar 2007
#9
2007-04-14, 10:34 PM
I just did a recording of a show that already started but let it complete.

The GBPVRRecordingService.exe.log is empty and dated over an hour ago.

The only log file updated was GBPVRRecordingService.exe-native.log with

2007-04-14 18:31:00.171 VERBOSE ConexantRecorder::StopRecording()
2007-04-14 18:31:00.343 VERBOSE ConexantRecorder:Big Grinone()
[SIZE="1"]Foxconn 6150K8MA-8EKRS | Athlon 64 4000+ | 1 GB (4x256KB) | 2 x 160GB | PVR-150 (1042 & 1045) & HVR-1600
XP Pro SP2 | gbpvr v0.99.12 | TV Listings | ComSkip | TV Guide Supercharger | Weather | mpg2srt[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,727
Threads: 767
Joined: Nov 2003
#10
2007-04-14, 10:40 PM
Quote:The GBPVRRecordingService.exe.log is empty and dated over an hour ago.
You cant tell without the contents of this log. Try rebooting to see if it starts producing logs.
« 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
  USA Cable Discovery Channel problems with Schedules Direct ram4x4nut 0 3,961 2013-02-21, 05:08 AM
Last Post: ram4x4nut
  Channel 4 HD new tuning string Pob 0 2,615 2012-03-29, 08:59 PM
Last Post: Pob
  Composite Channel not being tuned properly seymoria 14 6,875 2012-01-24, 01:56 PM
Last Post: seymoria
  Need help remapping Channel guide and actual channels divinehammer 3 3,776 2012-01-20, 10:43 AM
Last Post: kayleigh
  Composite channel configuration problem. seymoria 6 4,590 2012-01-15, 10:15 PM
Last Post: seymoria
  Live TV Locks Onto Different Channel persim 1 2,315 2011-10-24, 06:33 PM
Last Post: sub
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,526 2011-09-19, 01:15 AM
Last Post: sub
  Channel 4 HD and sat ini DanielP 40 12,595 2011-04-12, 10:42 PM
Last Post: mvallevand
  How to get Sky Digital channel guide into GBPVR? bobster 34 11,157 2011-04-01, 08:10 PM
Last Post: bobster
  Setting for Numeric Channel Change Timeout? smajor 6 2,815 2011-03-16, 07:21 PM
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