NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 20 21 22 23 24 … 43 Next »
KODI NextPVR client calling GetRecordingsList too often

 
  • 0 Vote(s) - 0 Average
KODI NextPVR client calling GetRecordingsList too often
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#21
2016-10-27, 08:23 PM (This post was last modified: 2016-10-27, 08:51 PM by madas.)
a bit more testing. I shutdown all KODI clients and booted up just one. LiveTV ran for 30 mins without any sort of freeze. So the problem is definitely related to those other clients making requests to the server. The client that ran for 30 mins was my test client and kept freezing every couple of mins before shutting down the other clients. As the listing update still seems slow i'm not sure if this is a cause or an effect.

I am still running the WebServer in Classic mode. Not sure if this makes a difference or not.

<WebServer>
<UseLiteServer>false</UseLiteServer>
<Enabled>true</Enabled>
<Port>8866</Port>
<Username>admin</Username>
<Password>xxx</Password>
<PinMD5>xxx</PinMD5>
<WebInterface>classic</WebInterface>
<AllowRemoteAPI>true</AllowRemoteAPI>
<AllowRemoteTranscode>true</AllowRemoteTranscode>
<AllowRemoteStreaming>true</AllowRemoteStreaming>
<TranscodeProfile>720p - 2Mbps</TranscodeProfile>
<TranscodeExe>.\other\ffmpeg3.exe</TranscodeExe>
<TranscodeHLS>default</TranscodeHLS>
<TranscodeArgs>-y -v 0 -i [SOURCE] -f mpegts -acodec ac3 -ab 96k -ar 44100 -ac 2 -s [RESOLUTION] -vcodec libx264 -b [BITRATE] -maxrate [BITRATE] -flags +loop -refs 1 -coder 0 -me_range 16 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 200k -bufsize 96K -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 30 -aspect [ASPECT] -g 30 -async 2 [TARGET]</TranscodeArgs>
</WebServer>
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#22
2016-10-27, 11:19 PM
madas Wrote:a bit more testing. I shutdown all KODI clients and booted up just one. LiveTV ran for 30 mins without any sort of freeze. So the problem is definitely related to those other clients making requests to the server. The client that ran for 30 mins was my test client and kept freezing every couple of mins before shutting down the other clients. As the listing update still seems slow i'm not sure if this is a cause or an effect.

I am still running the WebServer in Classic mode. Not sure if this makes a difference or not.

I usually default to classic too but when you are running web services it doesn't touch the UI stuff. If you are running Krypton, there are reported rpi problems. You won't get a lot of RPi love from me though sorry.

Martin
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#23
2016-10-27, 11:24 PM (This post was last modified: 2016-10-27, 11:45 PM by madas.)
I'm running 16.1. I have it running on some Cubox-i4 and some Pi2/3 devices. They all exhibit the same problem. I have a couple of x86 devices around as well...same problem. The problem appears to sit with the server. Not sure where to go from here. Having all devices shutdown gives me one reliable TV...not great! recordings are fine.

I need to get the root cause of whats going on with these updates and either why they are so slow and/or locking the database. It looks like the LiveTV stream is not keeping its reservation after another client does a guide update???
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#24
2016-10-31, 12:57 PM
anymore thoughts guys? not sure what my next debug step will be.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,850
Threads: 954
Joined: May 2006
#25
2016-10-31, 01:07 PM
Load up your normal configuration and then try a login from an x86 machine and send that debug Kodi log and the NextPVR logs right when it fails.

Martin
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#26
2016-10-31, 01:21 PM (This post was last modified: 2016-10-31, 05:30 PM by madas.)
ok. I'll do this tonight when I get home. I had previously posted the non-debug Kodi logs and the full NPVR logs but there wasn't a whole lot of info on the NPVR side pointing to the issue. It was apparent that the freeze happened right when another client was requesting a guide/recordings update.

Is it related to having the recordings mapped to a unc path on the nas?

\\ip\share
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,673
Threads: 767
Joined: Nov 2003
#27
2016-10-31, 04:48 PM
It probably just means you need a faster processor or faster hard drive in your server to support that many clients.
madas
Offline

Member

Posts: 148
Threads: 20
Joined: Dec 2007
#28
2016-10-31, 05:08 PM (This post was last modified: 2016-10-31, 05:13 PM by madas.)
This is only a few months old..i7 machine doing nothing but NextPVR...and its not being highly utilized. NPVR database is on a SSD along with the OS partition and recordings are on a separate drive so they don't interfere. My recordings are moved off to a NAS later in the day and the database is re-mapped to point to the NAS.

Even with only a single KODI client connected it still takes about 10 or 15 times longer to download the EPG listing than it used to
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,673
Threads: 767
Joined: Nov 2003
#29
2016-10-31, 05:37 PM
madas Wrote:This is only a few months old..i7 machine doing nothing but NextPVR...and its not being highly utilized. NPVR database is on a SSD along with the OS partition
That should be fine then.

Quote:Even with only a single KODI client connected it still takes about 10 or 15 times longer to download the EPG listing than it used to
I'm not aware of any other reports of that.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 106,673
Threads: 767
Joined: Nov 2003
#30
2016-10-31, 05:40 PM
What do your have <AutoRemoveMissingRecordings> and <CheckForRenamedRecordings> set to in your config.xml?
« Next Oldest | Next Newest »

Users browsing this thread: 2 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 413 2025-03-09, 12:26 AM
Last Post: aTF6i
  EPG not loading in Kodi? membball84 3 394 2025-02-13, 01:24 AM
Last Post: membball84
  Automated Updates of IPTV Channels in NPVR and Kodi via APIs taylormia 1 792 2025-02-04, 03:13 AM
Last Post: lustfulmacaw
  Kodi 22 (Piers) and library thumbnails mvallevand 8 1,185 2025-01-15, 06:32 PM
Last Post: mvallevand
  Suggestions for the KODI Add-on Escape7 38 8,920 2024-12-20, 05:31 AM
Last Post: sub
  NextPVR and Android 10 charlyms 7 777 2024-11-17, 09:39 PM
Last Post: mvallevand
  Kodi Channel Icons wrong and can't be corrected wapkaplet 11 1,070 2024-10-23, 02:11 PM
Last Post: mvallevand
  Kodi PVR Client Not Working trongod 8 1,416 2024-09-11, 10:20 PM
Last Post: trongod
  NextPVR Client for CoreELEC ChrisI 3 566 2024-09-07, 10:11 PM
Last Post: mvallevand
  Kodi 21.0 Omega/NextPVR 21.1.0 PVR & Live TV Group Manager bouilliabai 28 4,106 2024-08-06, 10:00 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode