2023-05-29, 13:24
Hi everyone,
can someone please advise on how to integrate Axinom DRM with Kodi inputstream.adaptive.
Background: I am maintainer of this plugin: LivGolf and the provider has recently activated drm.
What did I try?
There is a turtorial on how to use the DRM: here.
It even provides a demo that one can study.
The licence URL is provided and obviously correct. There is then a license token provided which is passed in the htttp header: X-Axdrm-Message
What I don't know is what should be the post data. I have tried |R{SSM}|R in this code:
During run-time it results in inputstream complaining with:
Maybe anybody more knowledgeable with inputstream can help.
can someone please advise on how to integrate Axinom DRM with Kodi inputstream.adaptive.
Background: I am maintainer of this plugin: LivGolf and the provider has recently activated drm.
What did I try?
There is a turtorial on how to use the DRM: here.
It even provides a demo that one can study.
The licence URL is provided and obviously correct. There is then a license token provided which is passed in the htttp header: X-Axdrm-Message
What I don't know is what should be the post data. I have tried |R{SSM}|R in this code:
because I thought the data send and returned is raw - but I don't know...Code snippet:
playitem.setProperty('inputstream.adaptive.license_key',
license_url +
"|User-Agent=" + user_agent +
"&origin=https://www.livgolfplus.com" +
"&referer=https://www.livgolfplus.com/" +
"&X-Axdrm-Message=" + license_token + "|R{SSM}|R")
During run-time it results in inputstream complaining with:
Error:
AddOnLog: inputstream.adaptive: LogDecryptError: Decrypt failed with error: 2 and key: xxx..xxx
AddOnLog: inputstream.adaptive: Decrypt Sample returns failure!
Maybe anybody more knowledgeable with inputstream can help.