Browse Source

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

pull/250/head
frost768 2 years ago
parent
commit
22f8d8a581
  1. 2
      src/backend/providers/superstream/index.ts

2
src/backend/providers/superstream/index.ts

@ -129,7 +129,7 @@ const convertSubtitles = (subtitleGroup: any): MWCaption | null => { @@ -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,

Loading…
Cancel
Save