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
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#21
2018-11-12, 12:20 AM
It is the correct log but you need to enable debug level. I do it in advanced settings.xml so it is always on

In the Kodi settings there is an option to reset the database. It is necessary when you rescan NextPVR or change tuners

Martin
Bobins
Offline

Posting Freak

UK (North West)
Posts: 1,227
Threads: 139
Joined: Sep 2004
#22
2018-11-12, 01:06 PM
OK PVR database is reset/reloaded, Kodi debug turned on and RPI rebooted ... I'll monitor now for the update stopping.
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,227
Threads: 139
Joined: Sep 2004
#23
2018-11-12, 04:36 PM
Ok. This seems pretty consistent in that the stopping of the update happens relatively shortly after a reboot of the RPIs.
Haven't been able to pin down a specific trigger although I was watching live TV on the Kodi and stopped watching 1 minute before the updates stopped..
Attached is the web.log and Kodi log (with debug on).
The updating stops about 15:44.
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
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#24
2018-11-12, 04:55 PM
Ok it would have been nice to get all the web logs but in any case, I think this is the crappy ethenet in the RPi is really causing you a lot of grief. All those EAGAIN calls are blocking on the network that I pretty much only see on the RPi. Seveal years ago I submitted a fix for streaming to handle them but looking at all those debug errors on http calls I think similar retry logic needs to be added to the the DoRequest() function.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#25
2018-11-12, 05:02 PM
Yeah, it basically looks like one of the network calls fails, and some logic in the addon disables the method=recording.lastupdated call on the assumption it's running an old server which doesn't support it (which is not the case)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#26
2018-11-12, 05:08 PM
Mike who did the recent timeshift changes to the addon is taking a look at the addon at the moment, so I've sent him a few lines of code to better handle this. I'm unable to compile the Kodi addon at the moment, so I've asked him to include the change.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#27
2018-11-12, 05:09 PM
FYI, the change will only be included in Kodi 18, since that is what the current code base is.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#28
2018-11-12, 05:20 PM
sub Wrote:Yeah, it basically looks like one of the network calls fails, and some logic in the addon disables the method=recording.lastupdated call on the assumption it's running an old server which doesn't support it (which is not the case)

The disable flag only occurs if the web server returns a web error. In this case the blocking is causing the file, so the line

while (XBMC->ReadFileString(fileHandle, buffer, 1024))

needs to handle the 0 return option with EAGAIN somehow

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#29
2018-11-12, 05:39 PM
Quote:13:28:59.691 T:1567617792 DEBUG: CurlFile::Open(0x5393050) http://192.168.2.4:8866/service?method=r...6b82cf85d9
13:29:18.197 T:1567617792 ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
13:29:18.197 T:1567617792 ERROR: CCurlFile::Open failed with code 0 for http://192.168.2.4:8866/service?method=r...6b82cf85d9
13:29:18.197 T:1567617792 ERROR: Open - failed to open source <http://192.168.2.4:8866/service?method=recording.lastupdated&sid=f5d1ee45513d483ebda9d76b82cf85d9>
13:29:18.197 T:1567617792 NOTICE: AddOnLog: NextPVR PVR Client: Disabling recording update. Update NextPVR to v3.4
The fix I've requested is to remove this disabling logic, since no one is running old pre v3.4 releases these days.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,124
Threads: 957
Joined: May 2006
#30
2018-11-12, 05:42 PM
sub Wrote:The easy fix I've requested is remove this disabling logic, since no one is running old pre v3.4 releases these days.

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.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


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