mirror of
https://github.com/anidl/multi-downloader-nx.git
synced 2026-01-11 20:10:20 +00:00
added hidive annotations because of missing playready support
This commit is contained in:
parent
5823df181d
commit
50188c6d1f
1 changed files with 1 additions and 0 deletions
|
|
@ -764,6 +764,7 @@ export default class Hidive implements ServiceClass {
|
|||
console.info(`Selected (Available) Audio Languages: ${chosenAudios.map(a => a.language.name).join(', ')}`);
|
||||
console.info('Stream URL:', chosenVideoSegments.segments[0].map.uri.split('/init.mp4')[0]);
|
||||
|
||||
// Only Widevine supported and tested, Hidive Playready support needs to be checked first
|
||||
if (chosenAudios[0].pssh_wvd || chosenVideoSegments.pssh_wvd) {
|
||||
encryptionKeys = await getKeysWVD(chosenVideoSegments.pssh_wvd, 'https://shield-drm.imggaming.com/api/v2/license', {
|
||||
'Authorization': `Bearer ${selectedEpisode.jwtToken}`,
|
||||
|
|
|
|||
Loading…
Reference in a new issue