Merge branch 'subtitle-file-type-control' of https://github.com/frost768/movie-web into subtitle-file-type-control

This commit is contained in:
frost768 2023-05-01 00:15:59 +03:00
commit 22f8d8a581

View File

@ -129,7 +129,7 @@ const convertSubtitles = (subtitleGroup: any): MWCaption | null => {
})
.filter(Boolean);
if (!subtitles.length) return null;
if (subtitles.length === 0) return null;
const subFile = subtitles[0];
return {
needsProxy: true,