Only have one file per movie

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Only have one file per movie

Post by Achandab »

I noticed others had the same issue here but didnt really understand if they resolved it. Basically i have Couch Potato re-scanning if there is better versions of the movies i have and having them download it. If the file extensions are different ie ".mp4 and .mkv" there will be two copies of the movies. I have the AMC script set to conflict -override, but my understanding is this will only overwrite the file if its the same extension? Is that correct.

So how can i ensure only the latest downloaded copy is the only file there?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Only have one file per movie

Post by rednoah »

The amc script doesn't keep track of what has been processed before, or what other files may or may not be in the target folders, so what you're asking for is not supported.
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Only have one file per movie

Post by Achandab »

ah okay. How does it know there is a file or folder before it decides whether to overwrite or skip using the conflict switch? Does it check the path to see if the folder/file exists before copying?
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Only have one file per movie

Post by rednoah »

If you move a files from A/B/C to X/Y/Z it'll first check if X/Y/Z exists and then either skip or delete+move.
:idea: Please read the FAQ and How to Request Help.
Achandab
Donor
Posts: 109
Joined: 04 Nov 2013, 21:20

Re: Only have one file per movie

Post by Achandab »

Cheers mate
Post Reply