NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients v
1 2 3 Next »
MacOS nextPVR client access issue

 
  • 0 Vote(s) - 0 Average
MacOS nextPVR client access issue
drvolks
Offline

Junior Member

canada
Posts: 1
Threads: 1
Joined: Jan 2024
#1
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
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
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,648
Threads: 767
Joined: Nov 2003
#2
2024-01-07, 10:35 PM
Can you post the server logs?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,648
Threads: 767
Joined: Nov 2003
#3
2024-01-07, 10:40 PM
Maybe see if this updated server dll helps


Attached Files
.zip   NShared.zip (Size: 390.11 KB / Downloads: 5)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,817
Threads: 954
Joined: May 2006
#4
2024-01-07, 10:40 PM
Yes there is a know bug in Unauthenticated Access" for recordings that is causing recordings.m3u and Jellyfin exports to fail too. It doesn't require a valid sid but it does require the parameter.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,648
Threads: 767
Joined: Nov 2003
#5
2024-01-07, 10:49 PM
Yeah, must have been a dependency introduced somewhere along the way. Hopefully that NShared.dll will do the job.
eriberg
Offline

Junior Member

US
Posts: 4
Threads: 2
Joined: Feb 2023
#6
2024-09-04, 05:13 PM
Hello-
I'm having the same SID error with NextPVR on linux (Ubuntu), version 6.1.5. It does not give the error for recordings for version Version: 6.1.3.230521. I tried the NShared.dll and it did not fix the error.

Erik
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,817
Threads: 954
Joined: May 2006
#7
2024-09-04, 05:19 PM
eriberg, you probaly shouldn't have hijacked this thread but is your problem using an m3u file with some client you didn't name?

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  YAUICLIENT full screen issue pazu1 16 384 2025-05-13, 08:01 PM
Last Post: pazu1
  Yet Another UI Client mvallevand 28 4,818 2025-02-07, 02:24 AM
Last Post: fla
  Catchup function with NextPVR on KODI Magda 1 301 2024-12-22, 09:52 PM
Last Post: mvallevand
  Samsung Tizen client testing mvallevand 55 6,220 2024-12-21, 04:00 PM
Last Post: erik123
  NextPVR recording setting with JellyFin addon ceejayemm 1 842 2024-11-30, 01:02 AM
Last Post: mvallevand
  Yet Another UI Client v2 mvallevand 6 1,364 2024-09-11, 05:59 PM
Last Post: mvallevand
  Yet Another UI Client for RPi4/5 mvallevand 0 589 2024-01-09, 11:00 PM
Last Post: mvallevand
  YAUICLIENT 2nd display issue Brucek2839 10 1,370 2023-12-10, 07:22 PM
Last Post: mvallevand
  YAUICLIENT Issue Brucek2839 6 1,110 2023-10-16, 01:46 PM
Last Post: artmetz
  Plex DVR with nextPVR? Possible and what is required! Pbathuk 7 14,931 2023-06-22, 11:04 AM
Last Post: digidad

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

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

Linear Mode
Threaded Mode