Page 1 of 1

Help: TV Episode Overwrite script

Posted: January 23rd, 2010, 2:14 am
by Bydgoszcz
Can someone help me out with this?

I want Sabnzbd to overwrite an episode if it already exists. The reason for this is because my RSS feed for my shows continually downloads updated or proper rips and then moves the file and renames it as an additional episode.

Example: it grabs TVSHOW.S02E03.ctrlHD and after downloading it moves the file and renames it to TVSHOW S02E03.mkv now a few hours later a new proper/fixed release comes out so Sabnzbd downloads TVSHOW.S02E03.ctrlHD.PROPER after downloading it attempts to move it but notices that it exists and renames the file to TVSHOW S02E03.1.mkv

Now this is a little annoying to go in manually and adjust dozens of files especially when I don't notice half the time.

Help, thanks!

Re: Help: TV Episode Overwrite script

Posted: February 2nd, 2010, 1:14 pm
by Bydgoszcz
Anybody? At least point me in the right direction so I can figure it out myself.

Re: Help: TV Episode Overwrite script

Posted: February 2nd, 2010, 4:12 pm
by Eejit
At a guess you could use a script called after the processing to check if the latest files name contains a .1. and if so, delete the original name and rename the new one.

Wouldn't know how to write it though  :(