Fixed external subtitles were being filtered by show only desired embedded subtitles settings.

This commit is contained in:
morpheus65535 2021-06-03 21:34:08 -04:00
parent d562faf151
commit d4aed7457a

View file

@ -115,7 +115,7 @@ export function filterSubtitleBy(
const result = differenceWith(
subtitles,
languages,
(a, b) => a.code2 === b.code2
(a, b) => a.code2 === b.code2 || a.path !== null
);
return difference(subtitles, result);
}