NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 2 3 4 5 … 43 Next »
Recordings Disappear and Reappear

 
  • 0 Vote(s) - 0 Average
Recordings Disappear and Reappear
boukmandutty
Offline

Junior Member

USA
Posts: 19
Threads: 5
Joined: Aug 2020
#1
2024-04-21, 07:23 AM (This post was last modified: 2024-04-21, 07:24 AM by boukmandutty.)
Any idea why my recordings disappear and reappear? I am left sometimes with a blank screen with only two dots. After a bit of waiting the recordinga will just reappear. Other times I have to restart kodi. I have attached a picture of the screen as well as my logs. This happens both with my android as well as my windows kodi clients.


Attached Files Thumbnail(s)
   

.zip   kodi logs.zip (Size: 28.17 KB / Downloads: 1)
.zip   logs-20240421-0214.zip (Size: 1.73 MB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,851
Threads: 954
Joined: May 2006
#2
2024-04-21, 12:53 PM
The reason for that is the Kodi default http timeout is not long enough for the 1 minute it is taking NextPVR to fetch your recording.

2024-04-21 01:51:15.410 [DEBUG][46] Got request [192.168.1.25]: /service (recording.list)
2024-04-21 01:51:15.464 [DEBUG][46] GetRecordingsList@2
2024-04-21 01:51:15.464 [DEBUG][46] Matched 5055 recordings
...
2024-04-21 01:52:12.960 [DEBUG][46] GetRecordingsList@exit

You have a lot of recordings but the database call was under a second. On chat we discussing setting <CheckForRenamedRecordings>false</CheckForRenamedRecordings> and if you have set that perhaps the problem is elsewhere. I don't know what NextPVR does in the step after that though.

Did you create those recording or import them with NextTool? If you used NextTool perhaps you need to run it again with the --resize parameter to populate the file size field. I am speculating that NextPVR is requesting the filesize and you might have files on a share that takes a while to load.

If running that doesn't work sub would need to comment on what other bottleneck might be occurring

Martin
boukmandutty
Offline

Junior Member

USA
Posts: 19
Threads: 5
Joined: Aug 2020
#3
2024-04-21, 07:18 PM
So I made the changes for renamed recordings as well as the other change you suggested. The recordings were imported using NextTool. I will try to import again using the --resize parameter to see if that helps.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,851
Threads: 954
Joined: May 2006
#4
2024-04-21, 07:22 PM
Was the import primarily from SageTV? When I wrote that NextPVR didn't have the size field and there hasn't been much feedback from SageTV users so I didn't really follow up on that but it should have created the size too.

Martin
boukmandutty
Offline

Junior Member

USA
Posts: 19
Threads: 5
Joined: Aug 2020
#5
2024-04-21, 07:27 PM
In order to rule out the problems that might come from different recording and naming schemes I took all the sagetv recordings and renamed them to plex style convention. I then imported them with NextTool as normal file recordings
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,851
Threads: 954
Joined: May 2006
#6
2024-04-21, 07:48 PM
The the size field is probably ok. I think the issue is different anyway since it isn't consistent. Here it took 9 seconds, 26 seconds under the Kodi 30 second too long for a database only query but nowhere near that minute.. Could be your server was overloaded? You probably need to bump the Kodi timeout

Code:
2024-04-21 01:44:33.651    [DEBUG][37]    Got request [192.168.1.25]: /service (recording.list)
2024-04-21 01:44:33.651    [DEBUG][37]    method=recording.list
2024-04-21 01:44:33.651    [DEBUG][37]    parameters:
2024-04-21 01:44:33.651    [DEBUG][37]       method: recording.list
2024-04-21 01:44:33.651    [DEBUG][37]       filter: all
2024-04-21 01:44:33.651    [DEBUG][37]       sid: 66c40e3d09e74158989277febb0c1f9f
2024-04-21 01:44:33.651    [DEBUG][37]       client_ip: 192.168.1.25
2024-04-21 01:44:33.651    [DEBUG][37]       user_agent: Kodi/20.5 (Windows NT 10.0.22631.3447; Win64; x64) App_Bitness/64 Version/20.5-(20.5.0)-Git:20240303-4b95737efa
2024-04-21 01:44:33.651    [DEBUG][37]       host_callback: ...
2024-04-21 01:44:33.651    [DEBUG][37]    GetRecordingsList()
2024-04-21 01:44:33.651    [DEBUG][37]    GetRecordingList@1.4)
2024-04-21 01:44:33.701    [DEBUG][37]    GetRecordingsList@2
2024-04-21 01:44:33.701    [DEBUG][37]    Matched 5055 recordings
2024-04-21 01:44:42.850    [DEBUG][37]    GetRecordingsList@exit

2024-04-21 01:50:16.596    [DEBUG][48]    Got request [192.168.1.25]: /service (recording.list)
2024-04-21 01:50:16.596    [DEBUG][48]    method=recording.list
2024-04-21 01:50:16.596    [DEBUG][48]    parameters:
2024-04-21 01:50:16.596    [DEBUG][48]       method: recording.list
2024-04-21 01:50:16.596    [DEBUG][48]       filter: all
2024-04-21 01:50:16.596    [DEBUG][48]       sid: 25b307feaee341a0913443934f90c47c
2024-04-21 01:50:16.596    [DEBUG][48]       client_ip: 192.168.1.25
2024-04-21 01:50:16.596    [DEBUG][48]       user_agent: Kodi/20.5 (Windows NT 10.0.22631.3447; Win64; x64) App_Bitness/64 Version/20.5-(20.5.0)-Git:20240303-4b95737efa
2024-04-21 01:50:16.596    [DEBUG][48]       host_callback: ...
2024-04-21 01:50:16.596    [DEBUG][48]    GetRecordingsList()
2024-04-21 01:50:16.596    [DEBUG][48]    GetRecordingList@1.4)
2024-04-21 01:50:16.649    [DEBUG][48]    GetRecordingsList@2
2024-04-21 01:50:16.649    [DEBUG][48]    Matched 5055 recordings
2024-04-21 01:50:42.222    [DEBUG][48]    GetRecordingsList@exit

I am concerned that this call never completed it might mean Kodi abandoned the call.

Code:
2024-04-21 01:50:41.502    [DEBUG][53]    Got request [192.168.1.163]: /service (recording.list)
2024-04-21 01:50:41.502    [DEBUG][53]    method=recording.list
2024-04-21 01:50:41.502    [DEBUG][53]    parameters:
2024-04-21 01:50:41.502    [DEBUG][53]       method: recording.list
2024-04-21 01:50:41.502    [DEBUG][53]       filter: all
2024-04-21 01:50:41.502    [DEBUG][53]       sid: 69126c886e044dc6adb57370d03bd59d
2024-04-21 01:50:41.502    [DEBUG][53]       client_ip: 192.168.1.163
2024-04-21 01:50:41.502    [DEBUG][53]       user_agent: Kodi/20.5 (Linux; Android 11.0; SHIELD Android TV Build/RQ1A.210105.003) Android TV/11.0.0 Sys_CPU/aarch64 App_Bitness/64 Version/20.5-(20.5.0)-Git:20240303-f869066a2e
2024-04-21 01:50:41.502    [DEBUG][53]       host_callback: ...
2024-04-21 01:50:41.502    [DEBUG][53]    GetRecordingsList()
2024-04-21 01:50:41.502    [DEBUG][53]    GetRecordingList@1.4)
2024-04-21 01:50:41.553    [DEBUG][53]    GetRecordingsList@2
2024-04-21 01:50:41.553    [DEBUG][53]    Matched 5055 recordings


Martin
boukmandutty
Offline

Junior Member

USA
Posts: 19
Threads: 5
Joined: Aug 2020
#7
2024-04-22, 04:59 AM
It might be that the android box went to sleep while I was focused on the kodi installation on my main pc.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,851
Threads: 954
Joined: May 2006
#8
2024-04-22, 05:32 AM
There is still something going wrong with your system (perhaps the system drive going to sleep) because there are many instances where the load is under ten seconds and I found this example

2024-04-21 00:11:11.461 [DEBUG][246] Matched 5056 recordings
(dead time)
2024-04-21 00:11:32.014 [DEBUG][92] Got request [192.168.1.163]: /service (recording.lastupdated)
2024-04-21 00:11:42.806 [DEBUG][246] GetRecordingsList@exit

where nothing was logged for 20 seconds but the delay would have been enough to timeout on Kodi.

Same thing here another 20 seconds of no logging with a timeout.

2024-04-21 00:12:54.642 [DEBUG][92] Matched 5058 recordings
2024-04-21 00:13:15.161 [DEBUG][240] Got request [192.168.1.163]: /service (recording.recurring.list)
2024-04-21 00:13:41.316 [DEBUG][92] GetRecordingsList@exit

You'd be wise to increase the timeout since each failure will generate another request so it could load the server. Right now it is 10x3.

<curlclienttimeout>10</curlclienttimeout> <!-- Timeout in seconds for libcurl (http/ftp) connections -->
<curlretries>2</curlretries>

Martin
boukmandutty
Offline

Junior Member

USA
Posts: 19
Threads: 5
Joined: Aug 2020
#9
2024-04-22, 01:38 PM
I am going to try that and watch it for a day or so to see what happens.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Import recordings from Humax FVP-5000T ceejayemm 2 744 2024-05-12, 07:44 AM
Last Post: ceejayemm
  Kodi Omega NextPVR Recordings short press context menu (More... item) mmortal03 5 1,062 2024-04-18, 11:19 PM
Last Post: mmortal03
Question Kodi 19.4 not seeing NextPVR v4 Recordings Aussie 3 1,264 2022-07-28, 02:37 PM
Last Post: mvallevand
  Kodi not playing older recordings bobster151 10 2,349 2022-06-28, 10:18 PM
Last Post: mvallevand
  When running Kodi, new recordings not showing up jorrenb 53 11,195 2022-05-18, 12:52 AM
Last Post: mvallevand
  Recordings with Schedules Direct data don't show title? Caesium 4 1,523 2022-02-20, 09:48 PM
Last Post: mvallevand
  "Include filesize with recordings" Creates Delays PRBUK 15 3,392 2021-09-02, 09:54 AM
Last Post: PRBUK
  Unable to schedule recordings from Kodi Migue 7 2,068 2021-07-28, 01:20 PM
Last Post: mvallevand
  Recordings not playing in Kodi 19.1 ceejayemm 7 2,447 2021-06-18, 08:58 AM
Last Post: ceejayemm
  Recordings not showing matt77303 3 1,533 2021-06-11, 07:14 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