NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 28 29 30 31 32 … 93 Next »
Rename Recording

 
  • 0 Vote(s) - 0 Average
Rename Recording
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#11
2005-02-13, 01:39 AM
Now catches any exceptions. This should keep it from locking up, until a response is given.
WJC
Offline

Junior Member

Posts: 38
Threads: 4
Joined: Jan 2005
#12
2005-02-13, 02:20 PM
Can you tell me where I can find the GBPVR PostProcessing.bat file to insert the string you mentioned. I am using version 90 of GBPVR and don't find that file in the directory. It is probably right under my nose......
WJC
Soyo K7VME motherboard AMD 2500XP
WD120 internal drive Kensignton Value Ram 512x1
Hauppauge WINTV PRV-150-MCE (PVR 150 drivers)
Hauppauge Media MVP 1000 w/45 button remote
Linksys Router BEFSR-41
Windows XP PRO SP2
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#13
2005-02-13, 08:51 PM
Actually, GBPVR doesn't come with the file initially. You can create it using Notepad, and put it in the GBPVR root directory.

Just add:

RenameRecording.exe %1 > rename.log

Save the file as: PostProcessing.bat
ryandkg
Offline

Junior Member

Posts: 7
Threads: 1
Joined: Dec 2004
#14
2005-02-15, 04:42 AM
KingArgyle: Great little util! I'm just having some trouble deciding when to use it. If I run it from the command line or after the comskip.exe in PostProcessing.bat, the comskip gets orphaned. If I run it before comskip, then of course it %1 that is passed to comskip no longer exists and it fails.

Any suggestions on how to get around this? Any way to take the comskip file into account during the renaming?
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#15
2005-02-15, 04:51 AM
I'll see if I can get some time to work on getting a comskip work around. I don't use it myself because I find it doesn't work well enough for my tastes. Anyway, next update should have the ability to rename the comskip txt files to the same format. Probably with something like:

renamerecording -comskip %1 > rename.log

You would then put in the PostProcessing.bat file, the comskip.exe before RenameRecording so that it'll pick up the comskip files as well. May be a day or two before I get to it.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#16
2005-02-15, 06:11 AM
Okay, here is a quick update for those using Comskip. I haven't really tested this but it should work. Basically, you need to edit your PostProcessing.bat so that it looks something like this:

comskip %1
RenameRecording %1 > rename.log

And use the RenameRecording.exe that is attached to this message. It will first rename your recording, and then if it finds the txt file produced by comskip it'll try and rename that as well.

You should see something in the log like:

New Comskip Filename:.....

If it doesn't work let me know.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#17
2005-02-15, 04:14 PM
This is very interesting to me, but I don't want to lose comskip. Some shows it works perfectly, and if it doesn't it is still better than nothing.

What I am concerned about is, will running comskip in the postprocessing.bat cause it to run twice? Since it runs automatically without it being in postprocessing.bat?
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#18
2005-02-15, 04:25 PM
Comskip doesn't currently run if the PostProcessing.bat file exists. So the only way to get it to run is to place it in the PostProcessing.bat file. At least that is my understanding from a message Sub posted one time.



sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#19
2005-02-15, 04:40 PM
Correct - comskip doesn't run if the PostProcessing.bat file exists.
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#20
2005-02-15, 06:02 PM
Oh, thanks! I'll have to check then. I might have messed up some of my recordings, and have to run comskip on them.
3x MVPs (not used anymore)
XBMC
Hauppauge 150 via SVideo
Comcast Digital Cable
Motorola HD Cable box channel changed via Firewire
Vista Home Premium with RDP hack
AMD Athalon 64 5000+
340gig sata, plus 80SATA+3x160IDE Drives in XP machine for storage.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (31): « Previous 1 2 3 4 5 … 31 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom recording tomx 2 398 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 273 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 909 2023-11-09, 02:14 PM
Last Post: mvallevand
  Recording direct to GPhotos API rgonzalez 0 1,394 2020-06-29, 04:45 AM
Last Post: rgonzalez
  Recurring Recording URL Parameters jcole998 2 2,882 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 13,416 2019-08-15, 09:34 PM
Last Post: sub
  Unexpected result when deleting a pending recording scJohn 5 3,630 2018-05-06, 10:09 PM
Last Post: sub
  How to best verify success when adding a recurring recording drmargarit 1 2,724 2017-03-02, 03:13 PM
Last Post: mvallevand
  Change recording filename programmatically immediately before recording starts? craigrs84 5 5,972 2015-07-13, 09:28 PM
Last Post: patco444
  Recording a specific episode based on season and episode number cbgifford 26 9,980 2014-12-19, 10:28 PM
Last Post: cbgifford

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

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

Linear Mode
Threaded Mode