QNapi / qnapi

Qt-based, multi-engine, multi-platform subtitle downloader
http://qnapi.github.io
291 stars 39 forks source link

[MacOS] Cannot set alternative language #143

Open tpluscode opened 6 years ago

tpluscode commented 6 years ago

When I set alternative version clicking the setting is not persisted. When I click save the window disappears but opening the setting window again shows the alternative language set to 'None'

rpolve commented 3 years ago

This happens to me as well (5.10.11-arch1-1 x86_64 GNU/Linux).

I see in qnapi.ini that, after setting the alternative language with qnapi -o, the preference is stored in the configuration file under backup_language=. However, this doesn't survive subsequent launches of the GUI, and the option is ignored when looking up subtitles.

Nonetheless, using the -lb option from the command line does work correctly, e.g.:

qnapi -l LANG1 -lb LANG2 /path/to/file.ext

...does effectively return LANG1 subtitles, if existant, and otherwise LANG2 - so there's that. I'll see if I can manage to look into this any further.