Download subtitles only of MKV doesn't have them

Support for Ubuntu and other Desktop Linux distributions
Post Reply
pois
Posts: 8
Joined: 19 Feb 2019, 23:16

Download subtitles only of MKV doesn't have them

Post by pois »

Hello,

I'm using filebot AMC script and everything is working great.
The only small detail I see, the subtitles are always downloaded.

Is there an option to download subtitles only if the MKV file doesn't have the subtitle for that language.
As it is using mediainfo/ffprobe, it might already know the contents of the MKV file.

Code: Select all

filebot -script fn:amc --output /media --action hardlink -non-strict /completed \
        --log-file /filebot/amc.log --conflict auto \
        --def excludeList=/filebot/amc.txt music=y subtitles=en,es artwork=y extras=y unsorted=y movieFormat='{kodi}' seriesFormat='{kodi}' animeFormat='{kodi}' musicFormat='{kodi}'
Thanks
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Download subtitles only of MKV doesn't have them

Post by rednoah »

I recommend using the suball script before or after the amc script call:
viewtopic.php?f=4&t=5#p8871

That'll give you more options, such as this one:

Code: Select all

--def ignoreTextLanguage=".+"
:idea: Please read the FAQ and How to Request Help.
pois
Posts: 8
Joined: 19 Feb 2019, 23:16

Re: Download subtitles only of MKV doesn't have them

Post by pois »

Nice! Will give it a shot
Post Reply