2025-01-08, 01:07 AM
I am trying to write an extra that involves sending back an m3u8 containing an AES key
#EXT-X-KEY:METHOD=AES-128,URI="...",IV=0x30303030303030303030303067020c0b,KEYFORMAT="identity"
but unfortunately the URI requires two cookies and some headers.
I haven't been able to make NextPVR accept passed cookies and I am not sure if NextPVR uses passed headers either when it fetches the key either, I couldn't see any logging on getting the key.
My first wishlist is that cookies could accepted from Extras (I and guess m3u8 files), perhaps using the Kodi method opf muitiple Set-Cookie= pipes on the url. These are huge though and in my use case only needed for the key.
My second wishlist which might be easier is providing an option allowing a override the URI. The extra could write the key to file and NextPVR could use that files instead of the URI to get the key.
Martin
#EXT-X-KEY:METHOD=AES-128,URI="...",IV=0x30303030303030303030303067020c0b,KEYFORMAT="identity"
but unfortunately the URI requires two cookies and some headers.
I haven't been able to make NextPVR accept passed cookies and I am not sure if NextPVR uses passed headers either when it fetches the key either, I couldn't see any logging on getting the key.
My first wishlist is that cookies could accepted from Extras (I and guess m3u8 files), perhaps using the Kodi method opf muitiple Set-Cookie= pipes on the url. These are huge though and in my use case only needed for the key.
My second wishlist which might be easier is providing an option allowing a override the URI. The extra could write the key to file and NextPVR could use that files instead of the URI to get the key.
Martin