NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 12 13 14 15 16 … 43 Next »
New recordings not updating

 
  • 0 Vote(s) - 0 Average
New recordings not updating
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#31
2018-11-12, 06:07 PM
mvallevand Wrote:That is what I figured but based on the last set of logs that won't fix it, since the logs show that all the calls to lastupdated were failing with length 0 even though the web server was returning the correct time.
I'm no expert at reading kodi logs, but what log messages makes you think that?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,115
Threads: 957
Joined: May 2006
#32
2018-11-12, 06:15 PM
14:41:32.385 T:1449128704 DEBUG: CurlFile::Open(0x64a5e388) http://192.168.2.4:8866/service?method=c...87e5e5fa2c
14:41:32.597 T:1440740096 DEBUG: Thread FileCache start, auto delete: false
14:41:32.597 T:1440740096 INFO: CFileCache:Tonguerocess - Source read didn't return any data! Hit eof(?)
14:41:32.647 T:1440740096 DEBUG: Thread FileCache 1440740096 terminating

The fact that the disabling only occurs on the 30 second timeout shows the network is the source of the problem not the web server so it doesn't really fix the problem Getting rid of it just means that it might update some time. The live tv playback shows the EAGAIN issue that the http call doesn't handle at all.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#33
2018-11-12, 06:22 PM
I'm pretty sure the "CFileCache:Tonguerocess - Source read didn't return any data! Hit eof(?)" isn't saying it returned no data. It's just saying it's read until the end of the response. Likely means the last loop to read more data from the socket got no more data. ie, you'll see the same thing on the successful calls, like session.login

14:37:01.080 T:1905259264 DEBUG: CurlFile::Open(0x71048bb0) http://192.168.2.4:8866/service?method=s...C6E2FB065B
14:37:01.096 T:1549792000 DEBUG: Thread FileCache start, auto delete: false
14:37:01.096 T:1549792000 INFO: CFileCache:Tonguerocess - Source read didn't return any data! Hit eof(?)
14:37:01.146 T:1549792000 DEBUG: Thread FileCache 1549792000 terminating
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,226
Threads: 139
Joined: Sep 2004
#34
2018-11-12, 09:29 PM
Just to add a bit of input. The network is hardwired Gigabit and this test was done on the latest RPi 3B+ hardware which is supposed to have better ethernet than the older models.
I assume the blocking being referred to is in the software handling the ethernet connectivity for Kodi on the RPi and not specifically the hardware.
From a bit of further testing, it looks like this update stop can consistently be triggered after watching live tv on the RPi.
NPVR Version= 7.0.2.250621
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX 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
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,226
Threads: 139
Joined: Sep 2004
#35
2018-11-12, 09:47 PM
Sub. If you get to know when the change has been included in the v18 beta I'll happily test on one of my RPs's
NPVR Version= 7.0.2.250621
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX 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: 53,115
Threads: 957
Joined: May 2006
#36
2018-11-12, 10:06 PM
The problem is not Kodi it is the network stack it does not handle things as gracefully as any other device I have seen and quickly returns no data warnings which originally the pvr adon wasn't handling for steaming. And your logs are full of these retries. This was fixed but the same problem was not fixed for API calls. Subs fix will mask the problem because it will continue to retry in the minutes and hours ahead.

There is no reason that things should get disabled now though. Thirty seconds is much too long for that call and if it isn't your RPI you need to get check your network.

Martin
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,226
Threads: 139
Joined: Sep 2004
#37
2018-11-12, 10:26 PM
Thanks for the explanation Martin.
I'm pretty confident in my network not being the problem as I'm not seeing any network issues across any other devices attached. (and most of my rather long working life has been spent in IT hardware / system design Big Grin. I do have some software writing experience but mostly on somewhat larger systems)
I do see the same problem consistently on all the RPi's so I think you're spot on with pointing to their poor network handling.
Shame considering they're pretty good for their overall cost/size.
NPVR Version= 7.0.2.250621
Intel i5 Ten Core 14400 + 16GB DDR5 in Gigabyte B760 AX 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
PapaJay
Offline

Junior Member

Posts: 31
Threads: 10
Joined: Oct 2017
#38
2018-11-18, 08:56 PM
Hi

I think I am hitting the same problem as Bruce. Here is my configuration:

NPVR Version= 4.1.1 (4.2.3 downloaded, but not installed)
Intel i3-6100 Quad Core + 8GB DDR2 Gigabyte Motherboard
Windows 10 Pro 64bit
HDHomeRun Connect tuner
250Gb SSD System Disk
2Tb WD Media Store

Raspberry Pi3 B+ running LibreELEC (Kodi v17.6)

Everything is connected via a hardwired gigabit LAN.

This is very similar to what Bruce is running.

What is happening in our case is that we record the CTV National News and then when we want to watch the latest recording, it is not in the list of recordings. The problem started after I upgraded the Raspberry Pi 3b from OpenELEC 7.0.1 (Kodi 16.1) to LibreELEC 8.2.5 (Kodi 17.6). Based on your analysis, I am guessing that there is some extra network load being put on the RaspBerry Pi network adapter by the new level.

After lots of reading of forum threads from several years ago I learned back in September that before the fix that checks every 60 seconds for updates, the NextPVR addon only checked the NextPVR server for updates when it was loaded (started) by Kodi, or when the user deleted a recorded show from the list.

Based on this, to workaround the problem in the current 17.6 code (easiest to most disruptive):

1) Delete a show that has been watched (and you don't want to keep) using the Kodi interface on the Raspberry Pi. We delete last nights National News, to watch tonight's and don't delete tonight's until tomorrow night. This has worked every time so far. If you keep everything, and want to refresh the list often, then you may need to record something that you will never watch so you can delete a show it to drive list refresh.
2) Disable and enable the NextPVR addon in Kodi. The act of disabling it unloads the addon and enabling it reloads it, which will drive a refresh of the recorded shows from the server. Note that this will also drive a reload of the TV Guide info (if it is not cached on Kodi) and an update of the media information for shows that are new, but you probably want to do this anyway. If the Raspberry Pi has not been used for sometime updating the media info could take time as there will be lots of new shows.
3) Reboot the Raspberry Pi. From the viewpoint of the NextPVR addon it does the same thing as an disable / enable but you add in the reboot time.

Because I had read the forum postings from several years ago back in late September, I assumed that somehow I had gotten a back level release of the NextPVR addon when I upgraded to 17.6. In this thread I asked how I could check to see if the addon was the current stable level: https://forums.nextpvr.com/showthread.ph...odi-Add-on. Sub assured me that I had the 17.6 addon, so the only reasonable explanation now appears to be that I am hitting the same problem Bruce reported.

Papajay
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (4): « Previous 1 2 3 4


Possibly Related Threads…
Thread Author Replies Views Last Post
  Kodi Channel not updating aTF6i 2 577 2025-03-09, 12:26 AM
Last Post: aTF6i
  Import recordings from Humax FVP-5000T ceejayemm 2 865 2024-05-12, 07:44 AM
Last Post: ceejayemm
  Recordings Disappear and Reappear boukmandutty 8 1,140 2024-04-22, 01:38 PM
Last Post: boukmandutty
  Kodi Omega NextPVR Recordings short press context menu (More... item) mmortal03 5 1,192 2024-04-18, 11:19 PM
Last Post: mmortal03
Question Kodi 19.4 not seeing NextPVR v4 Recordings Aussie 3 1,371 2022-07-28, 02:37 PM
Last Post: mvallevand
  Kodi not playing older recordings bobster151 10 2,473 2022-06-28, 10:18 PM
Last Post: mvallevand
  When running Kodi, new recordings not showing up jorrenb 53 12,212 2022-05-18, 12:52 AM
Last Post: mvallevand
  Recordings with Schedules Direct data don't show title? Caesium 4 1,673 2022-02-20, 09:48 PM
Last Post: mvallevand
  "Include filesize with recordings" Creates Delays PRBUK 15 3,619 2021-09-02, 09:54 AM
Last Post: PRBUK
  Unable to schedule recordings from Kodi Migue 7 2,257 2021-07-28, 01:20 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode