I have a fix for the infinite-downloads on shows that contain "Audio Description" tracks that worked for me.
In the `download` function where it's iterating over `document.audios` with a forEach, add another check to exclude audio files that contain "Audio Description" (or possibly the equivalent in the language you're downloading)
Replacing the line: if(audio.LOCALIZED && Object.values(audio.LOCALIZED.renditions).includes(langname)) {
Other fixes I've seen tried to filter out these files but I believe they were still triggering the download. This fix included previously mentioned fixes for the issue.
I have a fix for the infinite-downloads on shows that contain "Audio Description" tracks that worked for me.
In the `download` function where it's iterating over `document.audios` with a forEach, add another check to exclude audio files that contain "Audio Description" (or possibly the equivalent in the language you're downloading)
Replacing the line:
if(audio.LOCALIZED && Object.values(audio.LOCALIZED.renditions).includes(langname)) {
With:
if((audio.NAME.indexOf("[Audio Description]")=="-1") && audio.LOCALIZED && Object.values(audio.LOCALIZED.renditions).includes(langname)) {
Other fixes I've seen tried to filter out these files but I believe they were still triggering the download. This fix included previously mentioned fixes for the issue.