PROPER/REPACK detection

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
remonnetje
Posts: 1
Joined: 19 Feb 2016, 12:56

PROPER/REPACK detection

Post by remonnetje »

I'm looking into making a script to detect if a proper/repack version of a episode is downloaded.
And if so, delete the older (nuked) version.

I'm just not sure where to start with this, could anybody give me a hand?

Vikings.S04E01.720p.HDTV.x264-KILLERS[eztv].mkv
Vikings.S04E01.REPACK.720p.HDTV.x264-KILLERS[eztv].mkv

This is an example of what the files might look like.

Is is possible to get the second one detected and then automatically delete the first version.

I'm not so interested in renaming them since Kodi can interprete these files just fine.

Filebot is running on a synology nas.
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: PROPER/REPACK detection

Post by rednoah »

If you use a nice format, then both of these files will be moved to the same path, and most recently processed files will override previously processed files.

If you must keep the original filename, then filebot cannot help you.
:idea: Please read the FAQ and How to Request Help.
Post Reply