Use getOdidoUserAgent in Odido sync CDM path.
This commit is contained in:
parent
c58f9c423b
commit
9759672900
1 changed files with 2 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ import { AppError } from "../security/errors";
|
|||
import type { Config } from "../config";
|
||||
import { extractOdidoKeys } from "./cdm";
|
||||
import {
|
||||
getOdidoUserAgent,
|
||||
getPssh,
|
||||
login,
|
||||
ODIDO_USER_AGENT,
|
||||
playChannel,
|
||||
queryAllChannels,
|
||||
type OdidoChannel,
|
||||
|
|
@ -308,7 +308,7 @@ export async function syncOdidoList(
|
|||
licUrl: entry.licenseUrl,
|
||||
licToken: entry.licenseToken,
|
||||
cookies: entry.cookies,
|
||||
userAgent: ODIDO_USER_AGENT,
|
||||
userAgent: getOdidoUserAgent(),
|
||||
});
|
||||
const key = keys.map(parseKey).find((item) => item !== null);
|
||||
if (!key) throw new Error("Geen bruikbare ClearKey ontvangen");
|
||||
|
|
|
|||
Loading…
Reference in a new issue