NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Other Clients v
« Previous 1 2 3 4 Next »
Kodi NPVR client refresh interval

 
  • 0 Vote(s) - 0 Average
Kodi NPVR client refresh interval
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#1
2020-06-10, 08:29 AM
Using the latest NPVR plugin with LibreElec (9.2.3 / Kodi 18.7.1) on a RPi, how do I stop the plugin refreshing the list of recordings etc every minute ? An interval of an hour or so would be fine for my purposes.

Thnaks

Chris
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#2
2020-06-10, 08:36 AM
Oops, sorry meant to post this the Kodi /XBMC sub forum. Pleae move there if you wish.

Chris
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,090
Threads: 957
Joined: May 2006
#3
2020-06-10, 09:11 AM (This post was last modified: 2020-06-10, 09:20 AM by mvallevand.)
It only updates the recording list when the recording status changes, when you watch a recording or when the server restarts. I can't seem to get the message across that logs are important. I can tell you much more about what is happening with this information and I don't have to ask.

I did look at your old logs and because of the lock error you are experiencing, kodi will be asking for channel listings often because of missing epg data. Are you sure it is recordings that is the issue?

Martin
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#4
2020-06-10, 09:40 AM
Martin

Thanks for the quick response as always.

I didn't post the logs as I thought, if there was a solution, it would be a case of 'change this setting to that value'.

You are right though I did come across this 'issue' as a result of investigating the 'database locked' issue where I am seeing Kodi requests for updates every minute or so making it difficult to 'see the wood from the trees'. If this is a symptom of the locked database issue then I an happy to look at this again once the main issue is resolved.

Thanks again.

Chris
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#5
2020-06-10, 10:32 PM (This post was last modified: 2020-06-10, 10:33 PM by pkscout.)
I'd noticed this before and just decided the logs were *really* robust.  I'm attaching my zip of logs to look through.  I know I'm watching more Live TV (which seems to generate more log entries), but I think there are big chunks (like early in the mornings that I'm not even up to interact with anything). It's not really a big deal, but if what I'm seeing isn't the expected behavior, then I'm happy to help figure out what the issue is.


.zip   logs-20200610-1224.zip (Size: 980.76 KB / Downloads: 1)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,090
Threads: 957
Joined: May 2006
#6
2020-06-10, 11:14 PM (This post was last modified: 2020-06-11, 12:47 AM by mvallevand.)
@pkscout what are you asking me to check? Is this about the recordings? Sub likes the pretty-print url logging so IMO the logs are way too verbose (except for UI Client mode) and things look busier then they are but everything seems fine

- there are 2 sets of timer checks (recurring and scheduled) that Kodi backend does every five minutes.
- there are forced recording checks every minute because users complained that 5 minutes was too long to wait.
- there are channel.listings updates every two hours (PVR GUI setting)

Your right though you have a good setup because Kodi will do more backend checks when a channel is missing.

Martin
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#7
2020-06-11, 08:55 PM
@mvallevand, I see. I thought there might be an issue with the checks every minute, but if that's the expected behavior, then we're good. So basically I'm not asking you to look at anything then. '-) I honestly rarely look at the NPVR logs, and I've gotten used to creating search terms to try and find what I'm looking for through all the rest of the stuff.
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#8
2020-06-15, 04:59 PM
Now the 'Database is Locked' issue seems to be sorted and out of the way I can see what is happening here. The update frequencies posted by Martin above are way too frequent for my purposes, the machines involved will be spending more time working for each other that they would ever do for me.

I guess this isn't the place to ask for this process to be parameterized (and to also include a manual update option) - but where is ?

Chris
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,090
Threads: 957
Joined: May 2006
#9
2020-06-15, 05:12 PM (This post was last modified: 2020-06-15, 05:18 PM by mvallevand.)
They are minutes not seconds and computer tasks are usually considered in microsecond. The call every minute is a trivial call 107 bytes which just looks bad because of excessive NextPVR logging, I would recommend turning off NextPVR debug logging since that probably will improve performance almost as much as reducing the calls.

For Matrix I am looking at improving the EPG update logic so that 24/7 clients only need to call for updates once a day. I am also going to cache the timer calls, if I can't find a way to patch the back end to make it async.

Finally you choose to build an RPi based platform, I did suggest it wasn't the best choice https://forums.nextpvr.com/showthread.ph...#pid531253

Martin
ceejayemm
Offline

Member

UK
Posts: 150
Threads: 27
Joined: Sep 2019
#10
2020-06-15, 05:41 PM
Martin

You did indeed suggest that an RPi was not necessarily the best machine to run NPVR and I did it anyway using a RPi 4B with 4GB memory to see what happens. Apart from viewing Live TV / recordings via the web app it has performed flawlessly (other that the database is locked issue which now seems fixed) for nearly 6 months and I have absolutely no complaints about using this platform. I do my viewing via a separate RPi 3B running Libreelec v9.2.3 which again performs flawlessly for me. I appreciate my usage is not in the 'power user' range and as such the RPi's suit me just fine. It was on this basis that I queried the number of updates performed by the two PIs and which do indeed fill up an awful log of log space. I have been toying with setting the config.xml logging options to 'ERROR' rather than the default 'DEBUG' setting and may be this thread is the spur I need to make this happen.

Thanks as always for your invaluable help and suggestions, I appreciate them immensely which, together with the quick turn around from Sub, makes NPVR one of the better pieces of software I use - may it long continue.

Thanks

Chris
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextUI Client three6zerocool 6 1,558 2024-02-24, 02:11 AM
Last Post: gEd
  nlite client fails to find server, then crashes nikkilocke 3 1,164 2024-02-18, 09:42 PM
Last Post: sub
  Next PVR client Add on not working on Android TV Heifer 2 1,708 2023-09-16, 07:41 PM
Last Post: Heifer
  NPVR Client Fails on OSMC Update vintdiesel 3 1,301 2023-07-02, 09:12 PM
Last Post: mvallevand
  Possible to run new Kodi addon on Kodi 17 fla 2 1,667 2023-01-12, 04:55 PM
Last Post: fla
  Smart TV (what's the best way to watch npvr in another room?) smiffypr 7 2,465 2022-09-12, 04:55 PM
Last Post: smiffypr
  Kodi client enable direct streams markosjal 1 2,009 2022-05-12, 10:30 AM
Last Post: mvallevand
  Shield TV - Going around in circles trying to instal Client Steve Button 3 1,443 2021-05-21, 03:51 AM
Last Post: mvallevand
  Kodi 19 client constantly asking for updates from server PapaJay 2 1,503 2021-03-21, 06:54 PM
Last Post: sub
  Smart TV Client newyankee 6 3,760 2020-11-11, 07:05 PM
Last Post: fred250

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

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

Linear Mode
Threaded Mode