davidde / mpv-autosub

Fully automatic subtitle downloading for the MPV media player
https://mpv.io/
MIT License
295 stars 42 forks source link

Wrong subtitles downloaded #17

Open shirobachi opened 3 years ago

shirobachi commented 3 years ago

Hey,

At the beginning I wanted to say thank you for this incredible plugin <3

I am using this for a while and I see some problem, sometimes and I don't really know what is condition plugin just download wrong subtitles. So before I had english and polsih subtitles, but I didn't like it much so I commented polish one:

local languages = {
--          If subtitles are found for the first language,
--          other languages will NOT be downloaded,
--          so put your preferred language first:
            { 'English', 'en', 'eng' },
--          { 'Dutch', 'nl', 'dut' },
--          { 'Spanish', 'es', 'spa' },
--          { 'French', 'fr', 'fre' },
--          { 'German', 'de', 'ger' },
--          { 'Italian', 'it', 'ita' },
--          { 'Portuguese', 'pt', 'por' },
--          { 'Polish', 'pl', 'pol' },
--          { 'Russian', 'ru', 'rus' },
--          { 'Chinese', 'zh', 'chi' },
--          { 'Arabic', 'ar', 'ara' },
}

But it still for some movies to download polish ones, which is strange, it not listed on the opensubtitles. Because I put in config my credentials when I log in I can see my last downloaded subs and it never is listed, so idk where those wrong subs are but definitely not from opensubtitles because on that page I can find the English version ..

--

now I found a file where subs are downloaded with wrong way so after a while, it downloads and calls it English one, also file name is ...en.srt (but this is actually the same I guess) I simply change debug = true and open mpv by terminal, here is output: https://termbin.com/8cuv

Any tip is welcome!