mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-28 02:51:49 +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);
|
.filter(Boolean);
|
||||||
|
|
||||||
if (!subtitles.length) return null;
|
if (subtitles.length === 0) return null;
|
||||||
const subFile = subtitles[0];
|
const subFile = subtitles[0];
|
||||||
return {
|
return {
|
||||||
needsProxy: true,
|
needsProxy: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user