Limit Suball Script to only missing subtitles

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Limit Suball Script to only missing subtitles

Post by kaneelias »

Hi all,

I have been using filebot for sometime and have only just started playing around with scripting.

I use the AMC script to pull video information and this pulls english subs if it can find it, awesome.

My issue is often when I run this script, no subs have been uploaded.

So then I run a sub all script periodically which reads

Code: Select all

filebot -script fn:suball w:\ -non-strict --def maxAgeDays=7 
And this works fine but it overwrites any .srt that has previously been downloaded.

Is there a command I can use to tell the script to skip a file if it already has a .srt file by the same name already?

Essentially the script will only look for files that are max 7 days and do not already have subs.

Cheers
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Limit Suball Script to only missing subtitles

Post by rednoah »

kaneelias wrote: 09 Aug 2018, 11:41 Is there a command I can use to tell the script to skip a file if it already has a .srt file by the same name already?
I'm fairly sure that that's default behaviour. What do the logs say?
:idea: Please read the FAQ and How to Request Help.
kaneelias
Posts: 16
Joined: 06 Aug 2018, 10:14

Re: Limit Suball Script to only missing subtitles

Post by kaneelias »

rednoah wrote: 09 Aug 2018, 12:10
kaneelias wrote: 09 Aug 2018, 11:41 Is there a command I can use to tell the script to skip a file if it already has a .srt file by the same name already?
I'm fairly sure that that's default behaviour. What do the logs say?
Thanks for the reply.

The script was saying it found a match and redownloading.

I have managed to skip the files by adding --action duplicate --conflict skip

to the string. So all good now.
Post Reply