[Feedback]: Inconsistencies between country codes format in configuration makes it easy to crash the GUI app #674
Labels
No labels
Wrong-Place
bug
cli
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
ice
invalid
question
request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Creepso/multi-downloader-nx#674
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Both
Suggestion
In the
cli-defaults.ymlconfig, thedlsubsfield expects a 2-charISO 3166-1country code whiledubLanganddefaultAudioboth expects a 3-charISO 3166-2one.Even tho this is documented in their respective sections of the documentation:
It is missleading when working with the GUI version and editing the config manually, as the default for
dlsubsisallwhich gives no indication about the expected format (unlikedubLanganddefaultAudiowhich both defaults tojpn).This results in easy mistakes which makes the app silently crash upon service selection because it doesn't recognize the 3-char code.
Here are a few suggestions that could fix the issue, even tho I don't know if they are all technically applicable:
dlsubstoISO 3166-2to matchdubLanganddefaultAudio's format.dubLang,dlsubsanddefaultAudioformat neutral (accept both format and convert to the expected one internaly).