I need a command line string for filebot to do this:
- First, search a video folder of my choosing and get italian subtitles. If italian subtitles are not available, get english ones.
- Second, rename all the files in the video folder
- Quit filebot
I know what a command line is. I wrote that point because I will be implementing these commands in one of my python scripts Thank you.
EDIT:
I have a prob. Everything works fine, but the thing is, I really only need 1 pair of subs. Italian or english if italian is not available. Filebot gets me both so I have 2 subtitles for each video file. Isn't there a way for it to check if a subtitle is already present, to skip searching for it?
You can check that with python. You can call filebot with multiple file arguments instead of a folder so it should be really easy to filter out the files that already have subs after the --lang it run.
You can rename the .ita.srt part to .eng.srt That'll make filebot think English subs are already available and skip it
Ok, i created myself a little script to do that. I have a problem though... Why Filebot gets the wrong subs for the shows?
It doesn't happen every time, but on 20 files, at least 4 didn't match my tv show. I mean, I had, for example, and episode of "Person of Interest" and the subtitle got with Filebot was of an episode of "Criminal Minds" D: . This happens way too often then expected.
It's probably some idiots linking moviehash with the wrong subtitles. You could check with OpenSubtitles on that one, there's little I can do, I get back what I get back.
If you don't set -non-strict it'll be more reliable but also fetch less subtitles. If you send me the logs I can have a looks.
there maybe be chance of hash collision but it's much more likely that some person just uploaded a bad moviehash/subtitle pair
EDIT: Had a quick look and i just use the first result from the options i get back from OpenSubtitles. Fixed that with r1844 by doing my own relevance sorting to pick the best match.