Page 1 of 1

multiple language subtitles download

Posted: 13 Sep 2016, 02:28
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

Re: multiple language subtitles download

Posted: 13 Sep 2016, 03:22
by rednoah
Yes, it's recommended that you run the command once for each language. You cannot "combine" the search for multiple languages.

Re: multiple language subtitles download

Posted: 13 Sep 2016, 03:51
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

Re: multiple language subtitles download

Posted: 13 Sep 2016, 05:23
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.

Re: multiple language subtitles download

Posted: 13 Sep 2016, 05:44
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 !

Re: multiple language subtitles download

Posted: 13 Sep 2016, 05:58
by rednoah
It won't take any less time for the command-line tool. ;)