2024-01-07, 10:25 PM
Hi!
I'm trying to use the macOS version of the nextpvr client. Live TV works fine but I'm unable to play any recordings.
I used Charles proxy to debug and from what I understand either the client should provide a SID or the server should allow the request without a SID...
The Mac client request this url : http://10.0.0.57:8866/live?recording=865
In the server logs I see this error
If I use this same url in a browser where I'm already authenticated to nextpvr it works fine. The cookie grant me access
For live TV I see this url is being used by the Mac client
http://10.0.0.57:8866/live?channel_id=72...100114f6cf
Finally if I manually wget to http://10.0.0.57:8866/live?recording=865...100114f6cf the download starts, so the SID is definitely required to make it work.
BTW I do have "Unauthenticated Access" enabled.U
I'm trying to use the macOS version of the nextpvr client. Live TV works fine but I'm unable to play any recordings.
I used Charles proxy to debug and from what I understand either the client should provide a SID or the server should allow the request without a SID...
The Mac client request this url : http://10.0.0.57:8866/live?recording=865
In the server logs I see this error
Code:
[color=#fc2118][font=Monaco][50] Unexpected error streaming recording: System.Collections.Generic.KeyNotFoundException: The given key 'sid' was not present in the dictionary.[/font][/color]
[color=#fc2118][font=Monaco] at NShared.Streaming.StreamingHelper.StreamNativeRecording(ServiceResponseStream responseStream, Dictionary`2 parameters[/font][/color]
If I use this same url in a browser where I'm already authenticated to nextpvr it works fine. The cookie grant me access
Code:
GET /live?recording=865 HTTP/1.1
Host: 10.0.0.57:8866
Accept-Language: fr-CA,fr;q=0.9
X-Playback-Session-Id: 947F1B13-52B1-4321-97D0-130334F86AAC
Cookie: nextpvr_plc=7b476b8a-b059-45b8-945c-ad85d28a67cd_72be0b1d-04e9-452f-89a1-e796dbfd96c7; .AspNetCore.Session=CfDJ8PgZlHBzs25FmBIfB90Xvnaf2pqUXxMwzedkbPaiEBJhSZBAgtwGMaqKp77DYuU3OgtprWrvEUgvZlf%2FN8W5rmG5d2NyHX6rHpgS%2BxhmIDMzvpaj6WPWAU2CQ1yDef0GCqhW2tjTUy7JuO3m4amVAV3qVLBmA2zcTd6%2FdQ0%2BeIlQ
Range: bytes=1782054912-1786296307
Accept: */*
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2.1 Safari/605.1.15
Referer: http://10.0.0.57:8866/live?recording=865
Accept-Encoding: identity
Connection: keep-alive
For live TV I see this url is being used by the Mac client
http://10.0.0.57:8866/live?channel_id=72...100114f6cf
Finally if I manually wget to http://10.0.0.57:8866/live?recording=865...100114f6cf the download starts, so the SID is definitely required to make it work.
BTW I do have "Unauthenticated Access" enabled.U