Help: TV Episode Overwrite script

Come up with a useful post-processing script? Share it here!
Post Reply
Bydgoszcz
Newbie
Newbie
Posts: 14
Joined: December 4th, 2008, 3:36 am

Help: TV Episode Overwrite script

Post 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!
Last edited by Bydgoszcz on February 2nd, 2010, 1:13 pm, edited 1 time in total.
Bydgoszcz
Newbie
Newbie
Posts: 14
Joined: December 4th, 2008, 3:36 am

Re: Help: TV Episode Overwrite script

Post by Bydgoszcz »

Anybody? At least point me in the right direction so I can figure it out myself.
Eejit
Sr. Member
Sr. Member
Posts: 267
Joined: September 10th, 2008, 5:46 pm

Re: Help: TV Episode Overwrite script

Post 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  :(
Eejit - The name say's it all !!
Image
Post Reply