NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
1 2 3 4 5 … 93 Next »
Extra overriding #EXT-X-KEY wishlist

 
  • 0 Vote(s) - 0 Average
Extra overriding #EXT-X-KEY wishlist
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#1
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
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#2
2025-01-08, 02:38 AM
Today is not a good day for me to look at this. Busy with day job stuff. Remind me another day and I'll help you work through it.

It looks like it should pass through headers from the m3u8 url to any requests, including key urls. I suspect it wouldn't do cookies currently.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#3
2025-01-08, 04:10 AM
No worries very low priority, probably I should get used to building Docker servers instead. If you already pass through headers to the key URI I guess the Set-Cookie approach could be more flexible for others.

Martin
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,926
Threads: 956
Joined: May 2006
#4
2025-01-08, 05:51 PM
It started streaming again today so I am wondering if the source site was not setting the cookie properly, this was a new change for them.

I also confirmed with my proxy that a passed user agent is working and I see the two keys in the cookie too, so the cookies must simply be in the NextPVR session started with the m3u8 file.

Martin
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,705
Threads: 767
Joined: Nov 2003
#5
2025-01-08, 05:56 PM
Great
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Extra Events jcole998 1 1,466 2021-03-08, 02:48 PM
Last Post: mvallevand
  Plugins and MVP / PCH - are there extra requirements? Ommina 43 13,129 2009-12-09, 02:28 AM
Last Post: mvallevand
  SkinPlugin/CommunitySkin wishlist. Fatman_do 27 6,828 2008-04-05, 02:57 PM
Last Post: McBainUK
  BaseButtonUiListTask - Extra elements psycik 4 1,994 2007-08-18, 06:06 AM
Last Post: sub
  Plugin Suite Wishlist jimbruskalski 3 1,896 2006-04-26, 05:55 AM
Last Post: reven
  Extra Zap2It Meta Data jorm 18 6,570 2005-03-15, 03:45 PM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode