2020-10-20, 19:17
(2020-10-20, 05:24)matthuisman Wrote: ok, 0.4.6 just pushed that adds a few new settings under Playback.Thanks for the update! Seems to be working good to me.
- Audio Allow List: Comma separated list of ISO 639-1 audio languages to keep eg. en,de,fr (empty = all)
- Subtitle Allow List: Comma separated list of ISO 639-1 subtitle languages to keep eg. en,de,fr (empty = all)
- Include Forced Subs: When enabled, forced sub tracks are included
- Include Non-Forced Subs: When enabled, non-forced sub tracks are included
- Include Audio Description Tracks: When enabled, audio description audio tracks are included
This should hopefully allow Kodi 18 users to reduce the track count to fix subs etc.
It does no fancy checking, just removes any m3u8 lines that don't match the above criteria.
So, if you do it wrong - you could end up with no audio or subs.
Not a big deal, but I dont know if Disney+ have much foreign content, where the original audio track is not english. I would always prefer the original audio track, but if I use the audio track filter, this track may be lost. I assume the _proxy_default_language header is the original audio track, so why not also check on this in the audio_whitelist if-condition?
python:if audio_whitelist and ... and attribs['LANGUAGE'].lower() != default_language.lower():
m3u8 = m3u8.replace(line, '')
continue
Btw: Here is new lines for nb_no language in script.module.slyguy:
Code:
msgctxt "#32085"
msgid "This service requires a {required} location\n"
"We detected your location is {current}\n"
msgstr "Denne tjenesten krever følgende lokasjon: {required}\n"
"Din nåværende lokasjon: {current}\n"
msgctxt "#32086"
msgid "Audio Allow List"
msgstr "Lydspor-filter (kommaseparert)"
msgctxt "#32087"
msgid "Subtitle Allow List"
msgstr "Undertekst-filter (kommaseparert)"
msgctxt "#32088"
msgid "Include Forced Subs"
msgstr "Inkluder tvungne undertekster"
msgctxt "#32089"
msgid "Include Non-forced Subs"
msgstr "Inkluder vanlige undertekster"
msgctxt "#32090"
msgid "Include Audio Description Tracks"
msgstr "Inkluder lydspor for synstolkning"