Windows pre-queue script to clean up destination folder name

Come up with a useful post-processing script? Share it here!
Post Reply
ErikBrown
Release Testers
Release Testers
Posts: 118
Joined: December 20th, 2009, 1:25 am
Location: Home

Windows pre-queue script to clean up destination folder name

Post by ErikBrown »

Hi,

Sometimes NZB files that are downloaded via RSS contain some junk at the beginning of the NZB filename. This results in a destination folder that starts with this junk instead of the name you would expect. As a sample see the following nzb filename:

{kere.ws} - TV - 3121952069 - Susan at home S03E12 1080p DML

Does anybody have a Windows pre-queue script that allows you to configure the show name (in this case "Susan at home") and that then removes everything before that from the name? So in the above example it would change the name "{kere.ws} - TV - 3121952069 - Susan at home S03E12 1080p DML" to "Susan at home S03E12 1080p DML" so that the downloaded episode will be saved in a folder of which the name starts with Susan and not the junk in front of it.

Erik
Post Reply