Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optional adding of two/three-letter language codes to names of downloaded subtitle files (#72, #108) #170

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

a-sum-duma
Copy link
Contributor

@a-sum-duma a-sum-duma commented Jul 28, 2020

Related feature requests: #72, #108

Current implementation adds new option into the settings windows - "Add language code to subtitle file name". There are three choices:

  • No
  • Two-letter
  • Three-letter

If user selects "Two-letter" or "Three-letter" then every time subtitles are downloaded, appropriate language code will be added to the name of subtitles file e.g. if "Three-letter" is selected and user downloads polish SRT subtitles for "movie.mkv" video file, the name of subtitles file will be "movie.pol.srt".

Also when batch-downloading subtitles ("Scan directories" window), if "skip video files which already have subtitles" option is selected, subtitles with language codes in file names will be recognized too.

The "Add language code to subtitle file name" option is common for both languages - the primary and the secondary. Some suggested that it could be separate, but I think there is no point in doing so. Balance between functionality and simplicity must be kept.

Similarly the "skip video files which already have subtitles" option don't care about the language of existing subtitles. The option could have more variants i.e. "skip only if the language is unspecified (no language code in file name) or primary". But again, less is better in this case IMO.

Let know what you think.

@lefti696
Copy link

@krzemin zerknij w MR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants