mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-19 16:32:16 +00:00
Update externalSubtitles.ts
This commit is contained in:
parent
f9b0f32752
commit
ede305c684
1 changed files with 1 additions and 4 deletions
|
|
@ -141,10 +141,7 @@ export async function scrapeWyzieCaptions(
|
|||
display: subtitle.display,
|
||||
media: subtitle.media,
|
||||
isHearingImpaired: subtitle.isHearingImpaired,
|
||||
source:
|
||||
typeof subtitle.source === "number"
|
||||
? subtitle.source.toString()
|
||||
: subtitle.source,
|
||||
source: `wyzie ${subtitle.source.toString() === "opensubtitles" ? "opensubs" : subtitle.source}`,
|
||||
encoding: subtitle.encoding,
|
||||
}));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue