All of a sudden I'm finding that one of my channels (Channel 4 in the UK) has no guide data at all on any of my Kodi clients using the NextPVR addon. When I log onto the server I can see there is EPG data for that channel and as far as I can see the settings are as per all the other channels (e.g. EPG Source = DVB/ATSC EPG).
The Server is on Windows 10, the clients are in Kodi using the NextPVR addon. I can of course post logs but unclear which ones (server and/or client) but also I recall reading somewhere that this is a known issue but I can no longer find that post and can't remember if that was a really old post or something current.
I have been primarily using 2 HDHRs with Xfinity cable cards for all of my recordings. But I also have a HDHR connected to an OTA antenna which picks up all of the local channels. I had initially kept these channels "separated" with the OTA channels having major.minor channel numbers and the cable channels using the cable company's channel numbers. I've also got lots of recurring recordings of type "Record Season (NEW episodes on this channel)" for the cable channels (800 range).
In preparation for cancelling Xfinity later this month, this afternoon I merged the corresponding cable channel with the the OTA channel for all of those local channels. I thought that by doing this, all of the recurring recordings would still work. However, I did notice that when the channels were merged, the channel kept the OTA major.minor channel number and the OTA name (which sometimes matches, but usually is slightly different) rather than keeping the cable channel number/name (which is what all of the recurring recordings point to). Should all of those recurring recordings have gotten updated to point to the "new" merged channel?
But, now tonight, all of my recurring recordings are failing with the error "Channel not found. Deleted?".
I had the thought that maybe I needed to do an EPG update afterwards to get the specific recurring episodes to reschedule on the "new" channel, so I did an Empty EPG and Reload EPG before Chicago P.D. was scheduled to start. But, it still failed with the same error. Looking at the log from where I emptied the EPG and reloaded it, I see:
I'm not sure why it would have been "already pending", since the empty EPG & reload EPG should have gotten rid of any of the previously scheduled recurring recordings, right?
The Late Show With Stephen Colbert tonight appears that it did schedule:
Code:
2025-02-05 20:50:52.549 [INFO][18] UpdateRecurringRecording(213, 'The Late Show With Stephen Colbert'):
<Rules><EPGTitle>The Late Show With Stephen Colbert</EPGTitle><ChannelOID>8248</ChannelOID><ChannelName>WCCO-DT</ChannelName><StartTime>2019-10-23T03:35:00.0000000Z</StartTime><EndTime>2019-10-23T04:37:00.0000000Z</EndTime><PrePadding>1</PrePadding><PostPadding>11</PostPadding><Quality>0</Quality><Keep>0</Keep><RecordingDirectoryID>[Recordings3]</RecordingDirectoryID><OnlyNewEpisodes>true</OnlyNewEpisodes></Rules>
2025-02-05 20:50:52.955 [DEBUG][18] LoadListingsMatchingTitle(channel=8248,title=The Late Show With Stephen Colbert)
2025-02-05 20:50:52.956 [DEBUG][18] - Potential episode at: 2/5/2025 10:35:00 PM
2025-02-05 20:50:52.957 [DEBUG][18] ...check IsValid()
2025-02-05 20:50:52.957 [DEBUG][18] ...scheduling episode
And when I look at the TV Guide screen, it is highlighted in red. I guess that I will see if it records OK. And looking at tomorrow in the TV Guide, I am seeing shows highlighted in red like they will be recorded. Maybe Chicago P.D. was just a "fluke" and all of the other recurring recordings will work. I guess I'll see...
I installed nextool as follows:
- downloaded and unzipped NextTool-2.5.0.zip in my /opt/nextpvr/system/ directory (where my NextPVR program files are located);
- softlinked two files as follows (adapting the linux instructions):
sudo ln -s /opt/nextpvr/system/runtimes/osx-x64/native/libe_sqlite3.dylib
sudo ln -s /opt/nextpvr/system/runtimes/osx/native/libSkiaSharp.dylib
Then I tried to import a file:
dotnet NextTool.dll --import /Volumes/TV/Importing/Grammy.Awards.S01E66.mpg
and got these errors:
Quote:A fatal error was encountered. The library 'libhostpolicy.dylib' required to execute the application was not found in '/opt/nextpvr/system/'.
Failed to run as a self-contained app.
- The application was run as a self-contained app because '/opt/nextpvr/system/NextTool.runtimeconfig.json' was not found.
- If this should be a framework-dependent app, add the '/opt/nextpvr/system/NextTool.runtimeconfig.json' file and specify the appropriate framework.
Hello
New to the forum, but have been using NextPVR in Windows since MCE disco'd. I've been using over the air tuners with no problem.
Running fine.
I'm building a replacement Win11 (thanks again Microsoft)
Installed a USB tuner, it shows "IPTV device" and says I have to use the scan button.
There does not seem to be a scan button; I have used this tuner before for over the air, so it should be working ok.
The only post I found was someone who only needed IPTV, so the reply simply indicated that IPTV did not need a scan.
The NextPVR backend service does not start the webserver at 8866, "http://server:8866/" is unavailable. The webserver also does not start on other ports that work with other PVR backends such as TVHeadEnd.
"Settings > System info > PVR backend" is greyed out when the NextPVR server is enabled.
The NextPVR Client immediately disables after attempting to enable as it cannot connect to the server.
I have gone as far as I can with debugging this myself, I can't figure out what the issue is here. Has anyone seen this before?
An empty/junk key file was present in /storage/.aspnet/DataProtection-Keys. Removing the file and restarting the service resolved the issue.
Data Protection key locations on different systems:
Windows C:\Windows\System32\config\systemprofile\AppData\Local\ASP.NET\DataProtection-Keys or C:\Users\%username%\appdata\Local\ASP.NET\DataProtection-Keys
Linux deb installer /root/.aspnet/DataProtection-Keys/
Linux LibreElec /storage/.aspnet/DataProtection-Keys
ASP .net looks in /storage/.aspnet/DataProtection-Keys for xmls files containing those keys. I am not sure why this keyfile was generated, it was created around the same time as the system was being set up along with NextPVR so I can't pinpoint a source.
Manually starting the service with ASPNETCORE_ENVIRONMENT=Development and curling the webserver pointed towards a .net XML issue.
Code:
## Manually start webserver with ASPNETCORE_ENVIRONMENT in development
systemctl stop service.nextpvr
cd /storage/.kodi/addons/service.nextpvr/nextpvr-bin
ASPNETCORE_ENVIRONMENT=Development NEXTPVR_DATADIR_USERDATA=/storage/.kodi/userdata/addon_data/service.nextpvr/config/ dotnet NextPVRServer.dll
## Curl webserver
C:\Users\admin>curl -v http://192.168.1.100:8866/
* Trying 192.168.1.100:8866...
* Connected to 192.168.1.100 (192.168.1.100) port 8866
> GET / HTTP/1.1
> Host: 192.168.1.100:8866
> User-Agent: curl/8.9.1
> Accept: */*
>
* Request completely sent off
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/plain; charset=utf-8
< Date: Tue, 04 Feb 2025 09:26:42 GMT
< Server: Kestrel
< Transfer-Encoding: chunked
<
System.Security.Cryptography.CryptographicException: An error occurred while trying to encrypt the provided data. Refer to the inner exception for more information.
---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at System.Xml.Linq.XElement.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XElement.Load(Stream stream, LoadOptions options)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.ReadElementFromFile(String fullPath)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElementsCore()+MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository.GetAllElements()
at Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager.GetAllKeys()
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.CreateCacheableKeyRingCore(DateTimeOffset now, IKey keyJustAdded)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingProvider.GetCurrentKeyRingCore(DateTime utcNow, Boolean forceRefresh)
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
--- End of inner exception stack trace ---
at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Protect(Byte[] plaintext)
at Microsoft.AspNetCore.Session.CookieProtection.Protect(IDataProtector protector, String data)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
HEADERS
=======
Accept: */*
Host: 192.168.1.100:8866
User-Agent: curl/8.9.1
* Connection #0 to host 192.168.1.100 left intact
Big thanks to Martin for all the help, and Sup for the debug suggestions and the app itself.
I am having two big problems with NPVR since updating to V7 a couple weeks ago: (I've used NPVR for 8+ years without any issues whatsoever. V7 has not been kind to me... )
Issue #1: My EPG consistently shows "no listings" on about 50%-90% of my Guide listings (my EPG source is "DVB/ATSC EPG"). I just updated to Version: 7.0.1.241229 just now, emptied the EPG, updated EPG again to completion, and the latest result is that only 9 channels out of 90 show proper listings. Everything else (80 channels) show "no listings" in the Guide.
Issue #2: The EPG updater is now changing channels DURING my recordings (evident by the channel changing multiple times every 60 seconds), making most of my recordings worthless if they occur during a scheduled EPG update (every 3-4 hours). Shouldn't the EPG updater be scanning frequencies with a tuner NOT currently in use? (I have a quad-tuner PCIe card from Hauppauge in my media center PC)
I'm in the Phoenix Arizona area. I'm attaching my logs and screenshot of the latest EPG. Let me know what other info I need to provide. I'd love to have this resolved asap. Thanks!
I have installed NextTVPI on my computer to record from the Titan TV website and NextPVR does not seem to process the record request. I think I have the callsign and station matching, but I have yet to have any success. The process works when I use WinTV, but I'd really prefer not to use that software. Below is my tvpi file downloaded from Titan, attached are the logs (I don't see any information in the logs....perhaps I'm looking in the wrong place) and snapshots of the Titan configuration, etc. I appreciate any help! Thank you!
Code:
<tv-program-info version="1.0">
<program>
<station>WMHT-DT4</station>
<tv-mode>digital</tv-mode>
<program-title>Molly of Denali</program-title>
<episode-title>The Off-Trail Tale; Star Eyes</episode-title>
<program-description>Molly and Tooey gather firewood but wind up lost in the wilderness; Molly navigates her way to a cabin by using a constellation as a reference point.</program-description>
<start-date>20250201</start-date>
<start-time>20:30</start-time>
<end-date>20250201</end-date>
<end-time>21:00</end-time>
<duration>00:30</duration>
<rf-channel>25</rf-channel>
<psip-major>17</psip-major>
<psip-minor>4</psip-minor>
<stream-number>4</stream-number>
</program>
</tv-program-info>
Hi - got back into NPVR by running the official docker container in Docker Desktop on an old Mac I had around. Now wanting to move it to my ubuntu 24.04 machine and it's unable to find the HDHR device on my network....
Code:
2025-02-01 15:52:55.114 [DEBUG][10] Got request [10.10.10.78]: /services/service (setting.devices)
2025-02-01 15:52:55.114 [DEBUG][10] parameters:
2025-02-01 15:52:55.114 [DEBUG][10] method: setting.devices
2025-02-01 15:52:55.114 [DEBUG][10] refresh: true
2025-02-01 15:52:55.114 [DEBUG][10] format: json
2025-02-01 15:52:55.114 [DEBUG][10] sid: 8b8d4ddc-362e-4826-b188-1a5b0297ac69
2025-02-01 15:52:55.114 [DEBUG][10] client_ip: 10.10.10.78
2025-02-01 15:52:55.114 [DEBUG][10] client_local: true
2025-02-01 15:52:55.114 [DEBUG][10] user_agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
2025-02-01 15:52:55.114 [DEBUG][10] host_callback: ...
2025-02-01 15:52:55.114 [DEBUG][10] setting.devices
2025-02-01 15:52:55.114 [DEBUG][10] Starting SAT>IP discovery
2025-02-01 15:52:55.182 [DEBUG][10] CaptureSource.LoadAll()
2025-02-01 15:53:00.185 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
2025-02-01 15:53:06.187 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
2025-02-01 15:53:12.191 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
2025-02-01 15:53:18.193 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
2025-02-01 15:53:24.196 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
2025-02-01 15:53:30.198 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
2025-02-01 15:53:36.200 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
2025-02-01 15:53:42.202 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
2025-02-01 15:53:48.205 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
2025-02-01 15:53:54.207 [ERROR][10] Error discovering HDHR devices: The operation has timed out.
I'm assuming I might be forgetting a setup step... here's my docker run command: