Open jack-mil opened 3 hours ago
I adding entry, and it worked to select the desired subtitle track, but I am not sure if there are values or edge cases that need to be handled in the context of the addon.
I am using custom subtitle preference enm > eng
. Not sure how (or if it is even desired) to have this "language" appear in the list of regular Language names e.g. "French, English, German"
langcodes.py
LANGUAGES = (
# Full Language name[0] podnapisi[1] ISO 639-1[2] ISO 639-1 Code[3] Script Setting Language[4] localized name id number[5]
# ...
("English (Middle)" , "-3", "", "enm", "101", 30212 ),
# ...
)
Some (anime) includes subtitle tracks with the language code
enm
. I (erroneously) thought this plugin would match any arbitrary language code that subtitles might be tagged with. Looks like a language has to be explicitly supported in the collection of language codeslangcodes.py
. I'm attempting to look at what info would be needed here. There is only an ISO-639-2 (three-letter) code. And I am not sure what podnapsi column is (used for).TL;DR: I want to match tracks tagged with
enm
language code.Example media info output: