multiple language subtitles download

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
chocorem
Posts: 31
Joined: 21 Feb 2015, 18:31

multiple language subtitles download

Post by chocorem »

after my amc script, I have a sub all cron unde linux which check the missing subtitles

My question is how to add multiple language search ?

Code: Select all

filebot --log-file /var/log/filebot/amc-missing.log -script fn:suball  "/raid/medias/videos/TV Shows" --def maxAgeDays=30 --lang=en --output srt

Code: Select all

filebot --log-file /var/log/filebot/amc-missing.log -script fn:suball  "/raid/medias/videos/TV Shows" --def maxAgeDays=30 --lang=fr --output srt
this is working for french or english, but how to combine both in one serch ?

Code: Select all

filebot --log-file /var/log/filebot/amc-missing.log -script fn:suball  "/raid/medias/videos/TV Shows" --def maxAgeDays=30 --lang=en,fr --output srt
is giving

Code: Select all

Illegal language code: en,fr
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: multiple language subtitles download

Post by rednoah »

Yes, it's recommended that you run the command once for each language. You cannot "combine" the search for multiple languages.
:idea: Please read the FAQ and How to Request Help.
chocorem
Posts: 31
Joined: 21 Feb 2015, 18:31

Re: multiple language subtitles download

Post by chocorem »

ok ! thanks ! is there a way to search also for older files ? without getting

Code: Select all

Your maxAgeDays limit (120) is unreasonable
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: multiple language subtitles download

Post by rednoah »

Yes, but only by reading and understanding how the script works, hence only advanced users (that know what they're doing) are allowed to circumvent the default limits.

I recommend using the FileBot GUI if you want to fetch subtitles for older movie files.
:idea: Please read the FAQ and How to Request Help.
chocorem
Posts: 31
Joined: 21 Feb 2015, 18:31

Re: multiple language subtitles download

Post by chocorem »

This was more for TV shows where everything is located in several directories .... Works with GUI but takes time !

Will have a look at the script or change the creation date for groups of directories !

Thanks !
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: multiple language subtitles download

Post by rednoah »

It won't take any less time for the command-line tool. ;)
:idea: Please read the FAQ and How to Request Help.
Post Reply