NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
1 2 3 4 5 … 113 Next »
NPVR Tray stuck showing EPG Updating

 
  • 0 Vote(s) - 0 Average
NPVR Tray stuck showing EPG Updating
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,504
Threads: 148
Joined: Sep 2004
#1
2026-08-18, 02:41 PM
My system alerted me to the fact it wasn't sleeping as per its schedule and the culprit was the NPVR Tray stuck showing EPG was updating.

Checking the logs it looks like it was caused after this error:-

2026-08-16 08:03:44.318 [DEBUG][23] Merged listings. Total=8150
2026-08-16 08:03:44.318 [DEBUG][23] ProcessListings received 8150 listings
2026-08-16 08:03:44.354 [DEBUG][23] 0 events for unknown channels
2026-08-16 08:03:44.555 [ERROR][23] Unexpected error loading from catalog: System.IO.FileNotFoundException: Could not find file 'C:\Users\Public\NPVR-data\media\shows\Inside The Langham_ Britainâ%C2%80%C2%99s First Grand Hotel-catalog.xml'.
File name: 'C:\Users\Public\NPVR-data\media\shows\Inside The Langham_ Britainâ%C2%80%C2%99s First Grand Hotel-catalog.xml'
  at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
  at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
  at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
  at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
  at System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials, IWebProxy proxy)
  at System.Xml.XmlTextReaderImpl.OpenUrl()
  at System.Xml.XmlTextReaderImpl.Read()
  at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
  at System.Xml.XmlDocument.Load(XmlReader reader)
  at System.Xml.XmlDocument.Load(String filename)
  at NShared.MetadataManager.LoadEntityFromCatalog(MetadataEntity returnEntity)
2026-08-16 08:03:44.765 [DEBUG][23] ExtraMetadataHelper.PopulateExtraMetadata: processed 8126 listings across 40 channels, updated 66 in 409ms
2026-08-16 08:03:44.911 [DEBUG][23] About to save listings
2026-08-16 08:03:44.981 [DEBUG][23] Listings saved

The actual programme title was 

Inside The Langham Britainâs First Grand Hotel

When I copy the directory and file names they display as :-
 
Inside.The.Langham.Britain’s.First.Grand.Hotel.S01E04.ts
Inside The Langham Britain’s First Grand Hotel

I assume there's a problem NPVR handling the characters in the title.

Ray
NPVR Version= 7.0.4.251215
AMD Ryzen 5 7600X + 16GB DDR5 in Gigabyte B850 Gaming Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,733
Threads: 996
Joined: May 2006
#2
2026-08-18, 03:27 PM (This post was last modified: 2026-08-18, 09:30 PM by mvallevand.)
It isn't the tray app, the EPG update is likely failing with recent change to try and populate the original air date from the catalog. Always better to post logs to help us figure out how to prevent this since that looks like a trapped error.

The source EPG is part of the of problem, it should be a quote but the UK guide often has these https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html This is an ongoing issue with NextPVR but I think I have improved it for the next version.

Martin
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,504
Threads: 148
Joined: Sep 2004
#3
2026-08-19, 03:22 PM
Martin,

I didn't think the NPVRtray was the cause other than the NPVR service not clearing it of the "Updating EPG" status when the error occurred. (Hence my failed system sleep).

If this gives any further help, I've attached the relevant unedited log.

Ray.


Attached Files
.zip   nrecord.log.zip (Size: 419.73 KB / Downloads: 1)
NPVR Version= 7.0.4.251215
AMD Ryzen 5 7600X + 16GB DDR5 in Gigabyte B850 Gaming Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,733
Threads: 996
Joined: May 2006
#4
2026-08-19, 03:40 PM
I almost always ask for all the zippled logs since the problem on the EPG update is with the tuner in the DeviceHost. Here is the wayward thread and if I had to guess it was the DVB-T tuner that failed

Code:
2026-08-16 12:14:01.116 [ERROR][24] TS continuity counter indicates missing packets 2026-08-16 15:04:06.239 [ERROR][24] TS continuity counter indicates missing packets 2026-08-16 15:04:08.402 [ERROR][24] TS continuity counter indicates missing packets 2026-08-16 15:04:09.379 [ERROR][24] TS continuity counter indicates missing packets 2026-08-16 15:04:12.207 [ERROR][24] TS continuity counter indicates missing packets 2026-08-16 17:55:29.011 [DEBUG][24] System.IndexOutOfRangeException: Index was outside the bounds of the array. 2026-08-16 17:55:31.287 [DEBUG][24] System.IndexOutOfRangeException: Index was outside the bounds of the array. 2026-08-16 17:55:32.360 [DEBUG][24] System.IndexOutOfRangeException: Index was outside the bounds of the array. 2026-08-16 17:55:33.241 [DEBUG][24] System.IndexOutOfRangeException: Index was outside the bounds of the array. 2026-08-16 20:45:35.913 [ERROR][24] TS continuity counter indicates missing packets 2026-08-16 20:45:42.875 [ERROR][24] TS continuity counter indicates missing packets

Martin
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,504
Threads: 148
Joined: Sep 2004
#5
2026-08-19, 04:35 PM
Had a look at the DVB-T tuner that was used for the EPG update however the logs for the EPG update time had already gone as they're all filled with:-

2026-08-18 10:54:43.977 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:44.204 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:44.459 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:44.743 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:45.027 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:45.282 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:45.566 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:45.820 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:46.077 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:46.332 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:46.587 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:46.814 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:47.069 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:47.268 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:47.489 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:47.721 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:47.949 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:48.176 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:48.431 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:48.686 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:48.885 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:49.112 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:49.367 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:49.590 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:49.821 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:50.077 [DEBUG][4] Processed 83848 bytes
2026-08-18 10:54:50.275 [DEBUG][4] Processed 83848 bytes ..................>

which carries on till I rebooted the system. Looks like the stream from the tuner wasn't stopped from about the time of the error in the record.log.

So I think the "TS continuity counter indicates missing packets" is likely due to the fact the tuner was already streaming when a recording started on that tuner.
The recording was successful on the tuner.

I've not seen this problem happen before so I think it's probably rare given the UK broadcasters don't normally use non UK style characters in program titles ( & EPG.)

Ray.
NPVR Version= 7.0.4.251215
AMD Ryzen 5 7600X + 16GB DDR5 in Gigabyte B850 Gaming Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,733
Threads: 996
Joined: May 2006
#6
2026-08-19, 05:43 PM (This post was last modified: 2026-08-19, 06:05 PM by mvallevand.)
I really would have preferred the zipped logs, that snippet doesn't help. If that was from the DVB-T log not the DVB-S log it would have been much earlier than the error.

It isn't extremely rare in a large OTA set in fact the style guides so the \u2019 is preferred to the apostrophe. Usually it is in the description, but it can be in a title and the new original air date change will highlight them more since it touches all of them.

Martin
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,504
Threads: 148
Joined: Sep 2004
#7
2026-08-19, 10:56 PM
Martin,

That last error log snippet was from the DVB-T tuner used for the EPG update.
Unfortunately I didn't get to the system till most of the relevant log data had been overwritten (especially with the repeating tuner processed message)

I've often wished we could change the default max log size or number of logs kept before rollover.

Ray.
NPVR Version= 7.0.4.251215
AMD Ryzen 5 7600X + 16GB DDR5 in Gigabyte B850 Gaming Motherboard
Windows 11 Pro 64bit
TBS-6902 dual DVB-S tuner
TBS-6205 quad DVB-T tuner
500Gb System Disk (M2 Nvme SSD)
4Tb Media Store (2 x 2Tb M2 Nvme SSD Spanned)

Raspberry Pi3 B+, Pi4B (OSMC) & Pi5 (XBian) running Kodi v21.1
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,733
Threads: 996
Joined: May 2006
#8
2026-08-19, 11:14 PM (This post was last modified: 2026-08-19, 11:14 PM by mvallevand.)
OK.  In the future the very best thing to do is send the zipped logs with the initial post.  It is curious that the DVB-T tuner didn't stop before the DVB-S tuner started, so something to watch for.

For the catalog error the next version should fix that special case.  It takes good eyes to differentiate the  different apostrophe in  Britain’s First vs Langham's spa  at least it won't be that mess anymore.

Martin


Attached Files Thumbnail(s)
   
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  How to program the Green Button to launch NPVR? Joram 11 1,324 2026-08-20, 01:56 PM
Last Post: Bobins
  Only updating 7 days from Schedules Direct Swami 2 319 2026-08-09, 01:35 AM
Last Post: Swami
Thumbs Down New USB Stick works with TVRPlayer won't scan channels in NPVR SteveEllard 1 308 2026-08-01, 06:33 PM
Last Post: mvallevand
  Guide data no longer updating after updating bac80 16 1,085 2026-07-12, 01:16 PM
Last Post: mvallevand
  Nextpvr only showing DVB-T not DVB-T2 Gop 6 594 2026-07-04, 09:51 AM
Last Post: Bobins
  Continued issues, how is this not related to NPVR? Ricknextpvr 12 1,786 2026-06-23, 10:45 PM
Last Post: Ricknextpvr
  Problems with NPVR offline installation Joram 11 1,105 2026-06-15, 11:46 PM
Last Post: sub
  Frequency updating challenge Bobins 24 1,813 2026-05-23, 05:13 AM
Last Post: pabaxt
  Showing duplicate of every channel lately merkyone 2 510 2026-04-29, 01:44 PM
Last Post: merkyone
  Cableco DVR with six tuners, can NPVR use more than one? Joram 9 951 2026-04-28, 04:31 PM
Last Post: Joram

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

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

Linear Mode
Threaded Mode