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...
[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
I'm having a plethora of issues getting the channel 106.1 WPVI-HD to stream and record properly on both the web client, and having issues with streaming on the desktop client of NextPVR.
I believe that the issue with the recording is occuring due to the web client not being able to transcode h264, as described in this post https://forums.nextpvr.com/showthread.php?tid=62074 . Suggestions from this previous post indicated I need to use the desktop client and download the latest LAV audio transcoders.
I've downloaded and installed the LAV ver 0.78 transcoders and can now stream the video from channel 106.1 on the desktop client, but am not getting any audio. Other channels from my tuner are working normally and can be recorded without any problems on both the web and desktop clients. I've uploaded the most recent logs where I'm having issues with the audio with this channel.
Any suggestions on other troubleshooting and/or fixes I can try out to get this to work?
After years of a stable HTPC with NPVR and Windows 7, I decided to upgrade the software for my New Years Resolution. The upgrade to NPVR (6.1.5) went fairly smooth. My notes for installing NPVR from years ago were still relevant for this version. However, the one thing that I noticed while playing some of my music is that the UI for the Windows client does not display the song that is currently playing like it did in the old versions of NPVR. Did I miss a setting somewhere, or has that feature been removed, or is this a bug?
I use Plex to watch TV shows recorded by NextPVR. When done with the recordings, I will delete them via Plex. This leaves behind orphaned metadata. I wanted a routine to clean up the NextPVR recordings folder, delete orphaned NextPVR metadata and if that leaves an empty folder, delete the empty folder as well. So, I asked AI to help me create a batch file to perform these duties. I then set a task in Windows Task Scheduler to run this batch file daily. Below is the batch file created with the help of AI. Please note that you use this batch file AT YOUR OWN RISK. Please backup your recordings folder before applying this process. It WILL delete any files that do not have a related file with a .ts file extension. If there is a .ts file, it will leave it and its associated metadata alone. If you have any .mp4's for instance in the NextPVR recordings folder, they will also be deleted since they have no .ts file associated with them. This script assumes that you use the NextPVR recordings folder only for NextPVR recordings with the .ts file extension. Please replace the set command at the beginning to point to YOUR recordings folder. What you see is mine as an example. Do not put this batch file in the recordings folder itself for it will delete itself. No warranty is implied, use at your own risk. You can copy and paste into your favorite text editor. Make the set command change to reflect your recordings folder and save as a batch (.bat) file. Again, do NOT place the batch file in the recordings folder....
@echo off
set "folder_path=D:\Recorded TV\"
for /r "%folder_path%" %%F in (*) do (
if "%%~xF" neq ".ts" (
if not exist "%%~dpnF.ts" (
del "%%F"
echo Delete: "%%F"
)
)
)
for /d /r "%folder_path%" %%d in (*) do (
dir /b "%%d" 2>nul | findstr "^" >nul || (
rd "%%d"
echo Deleted empty subfolder: "%%d"
)
)
Twice now my guide downloaded lass than 2 weeks. Each time I went into the config file and found it was changed to download fewer days, so I corrected it. What could I be doing to cause this??
Just wondering if there has been a change to the way recording are deleted.
Noticed that when I now delete a recording some associated files are still left behind in the folder, looks like its a map file.
Previously I thought all files associated to that particular recording were deleted.
Posted by: sub - 2024-01-05, 11:08 PM - Forum: LG
- Replies (41)
Attached is an initial build of the LG webOS app. It's a ui client app, which gives nextpvr.exe style interface directly from your TV. It's been tested on a GX, C8 and B7 models, but should work on any LG TV's from the last 5 years or so.