mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-03-11 17:45:30 +00:00
additional crunchyroll audio hardsub fix
This commit is contained in:
parent
9cec96a4b3
commit
ade23664b0
1 changed files with 2 additions and 0 deletions
|
|
@ -1794,6 +1794,8 @@ export default class Crunchy implements ServiceClass {
|
|||
} else {
|
||||
audioStream = (await audioPlaybackReq.res.json()) as CrunchyPlayStream;
|
||||
const derivedPlaystreams = {} as CrunchyStreams;
|
||||
// Give Audiostream the Videostream hardsubs if undefined or empty array
|
||||
if (!audioStream.hardSubs || Object.values(audioStream.hardSubs).length === 0) audioStream.hardSubs = videoStream.hardSubs;
|
||||
for (const hardsub in audioStream.hardSubs) {
|
||||
const stream = audioStream.hardSubs[hardsub];
|
||||
derivedPlaystreams[hardsub] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue