mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-27 10:11:48 +01:00
Merge branch 'subtitle-file-type-control' of https://github.com/frost768/movie-web into subtitle-file-type-control
This commit is contained in:
commit
22f8d8a581
@ -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…
Reference in New Issue
Block a user