NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 5 6 7 8 9 … 56 Next »
Manual RenameRecording Batch File

 
  • 0 Vote(s) - 0 Average
Manual RenameRecording Batch File
SANGER_A2
Offline

Member

Posts: 51
Threads: 8
Joined: Nov 2007
#1
2011-10-08, 11:11 AM
I originally posted some of my batch files here. But I've since made quite a few changes. The main one is the ManualRenameRecordings file that I will explain about here. You can download the file from my site here. As before, if it's useful to you, clicking on an ad on my site or using the site search will get me a fraction of a cent from Google! Smile


Now that my PostProcessing.bat only renames files that have a title AND a subtitle. I wanted something to give me control over changing the names of the other recordings that don't have (or need) a subtitle. This can still be used to rename those files after processing as long as they are still referenced in the NextPVR database. It gives you total control to quickly give your recordings sensible names with easy access to the information NextPVR has stored about them. The ManualRenameRecording.bat is my solution to this.

The first job is to allow your video files to easily open in it:-

  1. Just right-click on a video file in Windows and choose "Open With"
  2. Then click on "Choose Program...".
  3. In the new window that loads, click the "Browse" button and go to the folder below (for Windows XP):-
    1. C:\
    2. Documents and Settings\
    3. All Users\
    4. Application Data\
    5. NPVR\
    6. Scripts\
  4. Double-click on the ManualRenameRecordings batch file
  5. VERY IMPORTANT: make sure "Always use the selected program to open this kind of file" is NOT NOT NOT ticked. Otherwise it will try to rename a recording instead of playing it when you double-click on it.
  6. Then click "OK"
  7. Now you can right-click on your recordings, click on "Open With" choose "ManualRenameRecordings" and it will open in my batch flie.



Once the video has been opened by the batch, it will look-up the subtitle, title and description in the NextPVR database. If it finds a subtitle it will automatically suggest the name "title - subtitle". If you don't want this, just press n and then you can choose what the name will be. If you do want it like that, just press Y! If there is no subtitle found, it will automatically skip to the step below...

The batch will then display the title, subtitle (if there is one) and description and you can write or copy & paste the new filename in. It will double-check you are happy with the final name before renaming so there is no danger here.

I have it setup to automatically put the title at the front of every new filename. If you don't like this, you will have to edit the batch file. If it's a movie & you don't want it to be called "title - blah", just press enter when asked what you want it to be and it will just call the file "title".

Once you have confirmed the full filename displayed to you (either that you have written or automatically generated with a subtitle, the NextPVR database is updated to point your new filename and your file renamed.



I've put quite a lot of time into the error-checking and so it should be pretty easy to see what is wrong when running on different systems to mine and what it is that needs to be changed to get it to work for you.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet Another RenameRecordings Batch files SANGER_A2 53 28,260 2012-06-16, 06:45 AM
Last Post: SANGER_A2
  NPVR Rename Recordings Batch File raceviper13 8 8,078 2011-04-23, 11:52 PM
Last Post: raceviper13
  IRTRANS apps.cfg file crazy_gadgets 0 2,520 2010-03-05, 04:44 PM
Last Post: crazy_gadgets
  Search DB batch util pBS 4 2,545 2009-09-03, 10:01 AM
Last Post: pBS
  import single file metadata util pBS 0 1,238 2009-03-26, 07:12 AM
Last Post: pBS
  Batch to surely Hibernate & Update EPG dfdario 1 1,789 2008-03-09, 02:32 PM
Last Post: cakes
  new tvxb ini file for sweden stefan 3 2,415 2008-01-16, 10:11 AM
Last Post: stefan
  xml file checker xanth 2 1,426 2007-11-28, 06:48 PM
Last Post: xanth
  File Renaming Tool: ZRename zehd 0 1,103 2007-05-01, 05:23 AM
Last Post: zehd
  File Renaming Utility: AddEpisode turkey 11 3,859 2007-04-30, 10:48 PM
Last Post: David

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

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

Linear Mode
Threaded Mode