I've been using v5 for a while now but recently I have ths issue when trying to play Live TV, I can play recordings fine.I've added an additional tuner recently and rescanned channels but apart from that can't think of any other changes..
Posted by: xoo - 2022-08-19, 03:28 AM - Forum: Windows
- Replies (4)
Hello,
I use window 10.
I have a new Lenovo 64bit, Intel I5 Desktop with 500gb. I got Realtek DTV usb tuners. But it seem that nextPVR unable to scan them.I have installed the latest nestPVR which I assume is 64bit v.5.2.7(220410).
For experiment reason, I installed another TV recorder called TotalMedia. This TotalMedia can see the Tuners and scan them. So why when I scan with nextPVR it does not see any channels?
Maybe I meant to install other things in addition to NPVRSetup.exe program. In the past I've used cody.
I assume that the new installation do it all in one package.
I'm using NextPVR in Windows and I've been watching via Kodi. Once a day (usually around midnight), the channel being broadcast freezes and after maybe 20 seconds, closes. If I try to view a channel again, it only plays for a few seconds and freezes. The only way I've found to get the channels to start being received properly is to restart the NPVR service. I've attached the logs.
VideoReDo video software may not survive much longer.
It's website is offline - http://videoredo.com/
Current installs can't check for updates.
New software installs can't be activated.
Hello. I have been in separate discussions about recurring re-recordings, and I think it is because the UniqueID element is missing from the Event column of SCHEDULED_RECORDINGS.
I can see from the XML generated at the time of recording (and in the scheduled recording, before the recording starts) that the UniqueID element is populated. What I now want to do is use NextTool to update the Database with the UniqueID from the XML.
I have tried --importXML, which works great if the recording is not there (which then includes UniqueID), however, if the recording exists, then the metadata is not updated. I have also tried the --file, and this provides the same result, as the recording exists.
What I really need is a way to use NextTool to perform this command on the Database, by providing the recording name (example '/recordings/tv/path-to-series/episode-name.mkv') and the uniqueid (example 'EP013032340098')
This is the command I used in sqlite to achieve my goal:
UPDATE SCHEDULED_RECORDING SET event_details = REPLACE(event_details, '</Event>', ' <UniqueID>EP013032340098</UniqueID> </Event>') WHERE event_details NOT LIKE 'UniqueID' AND filename LIKE '/recordings/tv/path-to-series/episode-name.mkv';
Can someone help? I have installed NextPVR and tried to login through admin/password. But I receive error message "Login failed'. Attached zipped log file
I am trying to run NextPVR as an addon to home assistant, which means that home assistant essentially manages the docker environment, ensuring that the folders and ports are mapped etc. but otherwise it is a docker container. My NPVR docker image has two mount points, one /config that is mapped to a local folder on my ha server and /share which is where the buffer is held. /share is actually mapped to a cifs mounted folder on the ha instance.
Anyway enough background, when I try to play a channel in NPVR I get the following in the log
Code:
[color=#6a9955][font=Consolas, 'Courier New', monospace]2022-08-14[/font][/color][color=#d4d4d4][font=Consolas, 'Courier New', monospace] [/font][/color][color=#6a9955][font=Consolas, 'Courier New', monospace]16:45:46.945[/font][/color][color=#d4d4d4][font=Consolas, 'Courier New', monospace] [/font][/color][color=#ce9178][font=Consolas, 'Courier New', monospace][b][ERROR][/b][/font][/color][color=#d4d4d4][color=#d4d4d4][font=Consolas, 'Courier New', monospace][[/font][/color][/color][color=#569cd6][font=Consolas, 'Courier New', monospace]6[/font][/color][color=#d4d4d4][color=#d4d4d4][font=Consolas, 'Courier New', monospace]] Unexpected error writing to OutputSink: [/font][/color][/color][color=#ce9178][font=Consolas, 'Courier New', monospace][i]System.UnauthorizedAccessException[/i][/font][/color][color=#d4d4d4][color=#d4d4d4][font=Consolas, 'Courier New', monospace]: Access to the path [/font][/color][/color][color=#ce9178][font=Consolas, 'Courier New', monospace]'/share/fs/multimedia/Buffer/live-ITV2-1-1.ts'[/font][/color][color=#d4d4d4][color=#d4d4d4][font=Consolas, 'Courier New', monospace] is denied.[/font][/color][/color]
[color=#d4d4d4][font=Consolas, 'Courier New', monospace][color=#d4d4d4] ---> [/color][color=#ce9178][i]System.IO.IOException[/i][/color][color=#d4d4d4]: Permission denied[/color]
[color=#d4d4d4] --- End of inner exception stack trace ---[/color]
[color=#ce9178][i] at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source)[/i][/color]
[color=#ce9178][i] at System.IO.FileStream.FlushWriteBuffer()[/i][/color]
[color=#ce9178][i] at System.IO.FileStream.WriteSpan(ReadOnlySpan`1 source)[/i][/color]
[color=#ce9178][i] at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)[/i][/color]
[color=#ce9178][i] at NShared.Writer.OutputSink.Write(Byte[] data, Int32 offset, Int32 length)[/i][/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.945[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] StopStream([/color][color=#569cd6]1572865[/color][color=#d4d4d4])...[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.945[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] clientHandle[[/color][color=#569cd6]0fdfb396-392b-45a5-8bea-40c8eff81ba2[/color][color=#d4d4d4]] = [/color][color=#569cd6]1572865[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.945[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] Calling StopStream()[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.951[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] StopStream([/color][color=#569cd6]1[/color][color=#d4d4d4])[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.952[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] StopStream handle: [/color][color=#569cd6]1[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.953[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] Closing TSWriter....: LIVE&/share/fs/multimedia/Buffer/live-[/color][color=#569cd6]ITV2-1-1.ts[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.956[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]16[/color][color=#d4d4d4]] [/color][color=#569cd6]writer.Close[/color][color=#d4d4d4]() failed: [/color][color=#ce9178][i]System.UnauthorizedAccessException[/i][/color][color=#d4d4d4]: Access to the path [/color][color=#ce9178]'/share/fs/multimedia/Buffer/live-ITV2-1-1.ts'[/color][color=#d4d4d4] is denied.[/color]
[color=#d4d4d4] ---> [/color][color=#ce9178][i]System.IO.IOException[/i][/color][color=#d4d4d4]: Permission denied[/color]
[color=#d4d4d4] --- End of inner exception stack trace ---[/color]
[color=#ce9178][i] at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source)[/i][/color]
[color=#ce9178][i] at System.IO.FileStream.FlushWriteBuffer()[/i][/color]
[color=#ce9178][i] at System.IO.FileStream.Dispose(Boolean disposing)[/i][/color]
[color=#ce9178][i] at System.IO.Stream.Close()[/i][/color]
[color=#ce9178][i] at NShared.Writer.OutputSink.<Close>b__23_0()[/i][/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.956[/color] [color=#ce9178][b][ERROR][/b][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] [/color][color=#569cd6]writer.Close[/color][color=#d4d4d4]() did not complete in a timely fashion[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.956[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] Close@[/color][color=#569cd6]2[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.956[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] deleting /share/fs/multimedia/Buffer/live-[/color][color=#569cd6]ITV2-1-1.ts.map[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.962[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] Close@exit[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.962[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] StopStream@exit[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.987[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] stopping graph[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.987[/color] [color=#569cd6][DEBUG][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] destroying graph[/color]
[color=#6a9955]2022-08-14[/color] [color=#6a9955]16:45:46.987[/color] [color=#b5cea8][INFO][/color][color=#d4d4d4][[/color][color=#569cd6]21[/color][color=#d4d4d4]] Stopped[/color][/font][/color]
This reads to me that there is a problem writing to the buffer folder, however if I log on to the docker container and try to write a test file as the same user as NPVR it is sucessful
Code:
root@local-nextpvr:/share/fs/multimedia# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.9 1.3 23357400 220012 ? Ssl 16:42 0:05 dotnet /app/NextPVRServer.dll
root 188 0.0 0.0 19572 3436 pts/1 Ss 16:47 0:00 /bin/bash
root 341 0.0 0.0 34408 2860 pts/1 R+ 16:51 0:00 ps aux
root@local-nextpvr:/share/fs/multimedia# ls
@Recently-Snapshot @Recycle Audio Books Buffer Pictures Samples Video
root@local-nextpvr:/share/fs/multimedia# cd Buffer/
root@local-nextpvr:/share/fs/multimedia/Buffer# echo >live-ITV2-1-1.ts hello
root@local-nextpvr:/share/fs/multimedia/Buffer# ls
live-ITV2-1-1.ts
My question is, if the container user can write to the folder, but NPVR cannot, what is the problem, or what can I do to get more information as I have run out of ideas on how to troubleshoot
I'm having a strange issue with NextPVR and my IPTV service connections. When I run the API to check current conns, it's always maxed out when NextPVR is recording - this keeps me from watching on my tv's because its banging the server and keeps booting me. What's interesting is for my IPTV setup in settings---devices, I have set the Max-connections setting to "2". Hopefully someone can help me fix this issue.
Running HLS on a Windows machine.
Important to add - the recording has now completed as of 11:30 pm CST but the active conns are showing as "2", which happens to be my max-connection setting. Not running on any other devices or tvs. Strange.