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) v
« Previous 1 … 87 88 89 90 91 … 125 Next »
How can I rename recordings to include episode?

 
  • 0 Vote(s) - 0 Average
How can I rename recordings to include episode?
afriend1
Offline

Junior Member

Posts: 46
Threads: 12
Joined: Jul 2005
#31
2005-12-20, 12:17 AM
When I joined the forum in July there was a version with an "s" on the end (renamerecordings) which I have been using ever since. Who's version is that?
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#32
2005-12-20, 02:16 AM
Well, I've consolidated the various versions of RenameRecordings. This includes all of the changes that ZaDDaZ had, plus the addition of Adding the title to the name.

Usage:
RenameRecording -t %1 > rename.log

That will include the Title in the name

If you just want the sub title:
RenameRecording %1 > rename.log

Features:
* Renames the video and all supporting files (*.dat, *.txt, etc).
* Updates the GBPVR database with the new name.
* Optional parameter to include Title along with the SubTitle in the following format:
Title - Subtitle.ext
* If a program already exists with the new name, it will try to increment the name until it gets a unique name:
Title - Subtitle1.ext


This version so 1.1 and has a Build date of 2005-12-19.

Please refer to the Build version when reporting errors.
tpgbpvr
Offline

Member

Posts: 58
Threads: 6
Joined: Jun 2005
#33
2005-12-20, 03:35 AM

KingArgyle-

Using version so 1.1 Build date of 2005-12-19

I get the entire path less the slashes in the rename.
"F-MediaVideoCapturesEverybody Loves RaymondEverybody Loves Raymond - The Thought That Counts.mpg"
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#34
2005-12-20, 02:20 PM
Doh!!!!!!! Stupid mistake on my part. I'll get that cleaned up later tonight...

Thanks for testing it.
tpgbpvr
Offline

Member

Posts: 58
Threads: 6
Joined: Jun 2005
#35
2005-12-21, 07:46 PM
KingArgyle Wrote:Doh!!!!!!! Stupid mistake on my part. I'll get that cleaned up later tonight...

Thanks for testing it.


Nice. can't wait.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#36
2005-12-22, 04:11 AM
Ask and you shall recieve:

* Fixes Title Issue
* Adds: Program will try to set an Environement variable called RENAME. This is so that other external utilites that need to run after RenamRecording can get the new name.
tpgbpvr
Offline

Member

Posts: 58
Threads: 6
Joined: Jun 2005
#37
2005-12-22, 08:36 AM
KingArgyle Wrote:Ask and you shall recieve:

* Fixes Title Issue
* Adds: Program will try to set an Environement variable called RENAME. This is so that other external utilites that need to run after RenamRecording can get the new name.

KingArgyle - it works. I did 3 tests. The order, 1st had an episode name, 2nd did not, 3rd did. The 3rd did something funny.

The commandline used was:
comskip "F:\Media\Video\Captures\South Park\South Park_20051222_00000030.mpg"

Opening F:\Media\Video\Captures\South Park\South Park_20051222_00000030.mpg
Using comskip.ini for initiation values.
Commercials were not found.
Resulting cutpoints:

C:\Program Files\devnz\gbpvr>"c:\Program Files\devnz\gbpvr\mpgtx.exe" -j -f -o "F:\Media\Video\Captures\South Park\South Park_20051222_00000030_clean.mpg" "F:\Media\Video\Captures\South Park\South Park_20051222_00000030.mpg" [-]
Resulting cutpoints:
RenameRecording v1.1 beta build20051221
Title: South Park
Argument: -t F:\Media\Video\Captures\South Park\South Park_20051222_00000030.mpg
Episode name: South Park - Woodland Critter Christmas
Episode Oid: 461
Renaming file: F:\Media\Video\Captures\South Park\South Park_20051222_00000030.log
to: F:\Media\Video\Captures\South Park\South Park - Woodland Critter Christmas.log
Renaming file: F:\Media\Video\Captures\South Park\South Park_20051222_00000030.logo.txt
to: F:\Media\Video\Captures\South Park\South Park - Woodland Critter Christmas.txt
Renaming file: F:\Media\Video\Captures\South Park\South Park_20051222_00000030.mpg
to: F:\Media\Video\Captures\South Park\South Park - Woodland Critter Christmas.mpg
Renaming file: F:\Media\Video\Captures\South Park\South Park_20051222_00000030.txt
to: F:\Media\Video\Captures\South Park\South Park - Woodland Critter Christmas.txt
System.ApplicationException: Error renaming program 'F:\Media\Video\Captures\South Park\South Park_20051222_00000030.mpg' to 'South Park - Woodland Critter Christmas' (oid 461) ---> System.IO.IOException: Cannot create a file when that file already exists.

at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.__Error.WinIOError()
at System.IO.FileInfo.MoveTo(String destFileName)
at RenameRecording.RenameRecordingClass.RenameRecording(String sEpisodeName, Int32 iEpisodeOid)
--- End of inner exception stack trace ---
at RenameRecording.RenameRecordingClass.RenameRecording(String sEpisodeName, Int32 iEpisodeOid)
at RenameRecording.RenameRecordingClass.RenameRecordingTitle(String sEpisodeName, Int32 iEpisodeOid)
at RenameRecording.RenameRecordingClass.DoMain()
System.IO.IOException: Cannot create a file when that file already exists.

at System.IO.__Error.WinIOError(Int32 errorCode, String str)
at System.IO.__Error.WinIOError()
at System.IO.FileInfo.MoveTo(String destFileName)
at RenameRecording.RenameRecordingClass.RenameRecording(String sEpisodeName, Int32 iEpisodeOid)



Any ideas?
And what does the Environement variable called RENAME mean?

Thanks again
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#38
2005-12-22, 01:37 PM
tpgbpvr Wrote:Renaming file: F:\Media\Video\Captures\South Park\South Park_20051222_00000030.logo.txt
to: F:\Media\Video\Captures\South Park\South Park - Woodland Critter Christmas.txt
Renaming file: F:\Media\Video\Captures\South Park\South Park_20051222_00000030.txt
to: F:\Media\Video\Captures\South Park\South Park - Woodland Critter Christmas.txt
It looks like the .logo.txt is being renamed to just .txt causing the dupe. Did this kick off while comskip was still running?
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
#39
2005-12-22, 02:12 PM
The RENAME environment variable can be used by other utilities down stream in the PostProcessing.bat file, meaning that Rename doesn't have to be the last entry in the batch file. Those programs that take paramaters should be able to get the new name from the environment variable.

So if something needed the new file it could be given in theory by:

someprogram.exe %RENAME%
DeadRun
Offline

Junior Member

Posts: 48
Threads: 10
Joined: Nov 2005
#40
2005-12-22, 04:05 PM
I think pioneer is right. In the comskip.ini file the .logo.txt file can be set to be deleted upon completion of the comskip run.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (5): « Previous 1 2 3 4 5 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Blue Skin: Recordings - Include Program Description ralphy 4 3,491 2010-05-17, 01:32 AM
Last Post: ralphy
  EPG/XML parsing: reading Season and Episode data from title Sykor 7 7,671 2010-02-16, 05:52 AM
Last Post: whurlston
  TV Recordings 2.6 Confirm Delete Graham 2 2,264 2008-10-21, 12:47 PM
Last Post: Graham
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,633 2008-03-27, 11:45 PM
Last Post: _Dude_
  Any rename utility that renames before recording? linfor 37 8,529 2008-01-04, 05:08 AM
Last Post: linfor
  Option to turn ComSkip off for certain recordings? wildatom 3 1,597 2007-12-01, 02:32 AM
Last Post: kayak4ever
  comskip and digital recordings agidius 12 3,671 2007-11-21, 03:39 PM
Last Post: wtg
  Comskip trouble with high bit rate recordings ApexHack 4 2,000 2007-10-16, 02:29 AM
Last Post: erik
  Renaaming recordings & DB3 management marcomessina 0 1,284 2007-10-07, 04:51 PM
Last Post: marcomessina
  Trim recordings? djmuk 4 1,766 2007-09-29, 01:30 AM
Last Post: ACTCMS

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

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

Linear Mode
Threaded Mode