NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 3 4 5 6 7 43 Next »
When running Kodi, new recordings not showing up

 
  • 0 Vote(s) - 0 Average
When running Kodi, new recordings not showing up
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,897
Threads: 955
Joined: May 2006
#21
2021-09-20, 11:53 PM
Not much I can suggest, I tried 3 tests today setting something in the web browser watching live tv and coming out and the recordings where there. I am trying one more test now but I would not an exact set of repeatable steps these tests take a long time.

If you are leaving video running with the Kodi UI in the foreground I would not expect the recordings to update. For this use case I could potentially add an option to force a reload without restarting (deleting or scheduling a recording would also trigger an update)

Martin
mminehan
Offline

Junior Member

New Zealand
Posts: 26
Threads: 0
Joined: Sep 2021
#22
2021-09-21, 12:14 AM (This post was last modified: 2021-09-21, 12:16 AM by mminehan.)
Thanks for investing time in this.

It's really weird but this has happened on 2 rebuilds of Windows/Kodi.  I must be doing something wrong. I guess I could try a fresh install again and see what happens.  Or even give LibreELEC a try.  Or I could install Kodi on my desktop PC and see if that install gets the recordings updated automatically.  But I'll have to wait until I have some time off work.

I haven't checked if deleting a previous recording forces an update of the recordings list.  I'll try that when I get home from work.

But if there was a quick way to manually force the recordings list to reload that would be helpful.

I know I'm not going mad as there others who have reported having to quit and restart Kodi to get the recordings list updated.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,897
Threads: 955
Joined: May 2006
#23
2021-09-21, 12:31 AM
I don't think it is your setup. It is knowing the combination of events that cause it. Deleting or sccheduling and unscheduling an event should force a refresh for now. Adding reload is a low priority for me right now and not much easier than doing those steps.

Martin
mminehan
Offline

Junior Member

New Zealand
Posts: 26
Threads: 0
Joined: Sep 2021
#24
2021-09-21, 12:52 AM (This post was last modified: 2021-09-21, 12:53 AM by mminehan.)
Totally understand.  That's the nature of community support as people/developers are donating their time.

Maybe the manual reload might be a feature in a a future release.

I'll keep playing around with a few things and report back if I find anything.  In the meantime I'll try a delete/update schedule and see if that forces a reload as you say.

Just a quick question for my clarification, you are the developer of the plugin and 'Sub' is the developer of NextPVR based in New Zealand?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,897
Threads: 955
Joined: May 2006
#25
2021-09-21, 02:06 AM
Sub is the developer of NextPVR, and he created the Kodi PVR and the API that it uses. I first got invovled with the project because I don't like using Windows PCs as clients and came up with some of my own. Sub is still the Kodi pvr.nextpvr lead but I got involved a few years ago as another option for non Windows users, first because I got tired about the posts complaining about the RPi and then about timeshift in general. Somewhere along the way I starting doing more and more work for Kodi, since I think it is a pretty good client, but I work with other clients too, Roku, Emby, Jellyfin and maybe soon Android.

Martin
mminehan
Offline

Junior Member

New Zealand
Posts: 26
Threads: 0
Joined: Sep 2021
#26
2021-09-24, 10:19 PM
So I have been observing a few things.  Deleting an existing recording does force an update of the recordings list in Kodi.  But the automatic (background) updates seem very sporadic.  Sometimes after stopping a live or recorded stream a series of pop up notifications appear that relate to shows recently finished recording, even though they finished recording sometime prior.  And often, despite the pop notification, the recent recordings are still not in the recordings list necessitating deleting a different recording or restarting Kodi in order to update the list.

I don't know how the API/addon etc works but it seems the notifications from NextPVR often do not trigger Kodi itself to refresh the recordings list.

I'll try and get some more log details around when these things happen.

Marty
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,897
Threads: 955
Joined: May 2006
#27
2021-09-24, 10:26 PM
Those visual "toast" notifications you are seeing come from Kodi not pvr.nextpvr. Basically pvr.nextpvr just provides a list of recordings to Kodi. What you need to find is a condition looking in the NextPVR backend logs where Kodi doesn't request a recording list after the show finishes where the state change would have been indicated.

I agree it is sporadic, since I think there is an issue but I can't duplicate it in testing.

Martin
mminehan
Offline

Junior Member

New Zealand
Posts: 26
Threads: 0
Joined: Sep 2021
#28
2021-09-24, 10:56 PM (This post was last modified: 2021-09-24, 11:08 PM by mminehan.)
Ok...just so I can get my head around how this works and what I am looking for...there are two different actions we are looking at:
1) Kodi requests a list of recordings from NextPVR via the addon?
          This happens on Kodi start up or whenever Kodi makes a change to the schedule or recordings list?
          This should also happen when Kodi gets a 'state change' notification from NPVR?
2) The NextPVR backend tells Kodi there has been a 'state change' (e.g. recording stopped/started) which should trigger Kodi to get a list/update of the recordings as above?
          So does NextPVR broadcast to listening clients (e.g. PVR addon for Kodi)?
          If there were 2 PCs running Kodi/NPVR for example they should both update the recordings list at the same time as they should both receive the 'status change' notification from the NPVR backend?

And lastly, just so I can get fresh log files, is it safe to delete all the log files from the NextPVR backed 'logs' folder?

Appreciate your continued support.

Marty
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,897
Threads: 955
Joined: May 2006
#29
2021-09-24, 11:27 PM
It is all client pull. There are two situations. The default case Kodi asks the addon to get the recordings the addon gives the list back. This is done on a schedule I can't recall how often the polling is but it wasn't good enough for many users since sub received many complaints

So sub added a second addon based poll which checks the backend server and triggers the recording update if it finds a change. This polling shows in the logs as calls to lastupdated. If the addon determines the server update time is after last time Kodi was updated it also checks to see if there was an EPG update. If so it triggers the update.

Even if the addon poll fails, Kodi should still request recordings on an interval not sure why the restart is needed

Note this is the Matrix process, Leia is different but it won't be changed anyway.

Martin
mminehan
Offline

Junior Member

New Zealand
Posts: 26
Threads: 0
Joined: Sep 2021
#30
2021-09-24, 11:50 PM (This post was last modified: 2021-09-24, 11:51 PM by mminehan.)
OK.....thanks.  So all the update calls come from Kodi, and NextPVR should respond with the list of recordings.  NextPVR backend does not initiate any updates in Kodi.

Anyway...I'll clear the logs and do some more 'investigating'.

M
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Kodi Channel not updating aTF6i 2 446 2025-03-09, 12:26 AM
Last Post: aTF6i
  EPG not loading in Kodi? membball84 3 423 2025-02-13, 01:24 AM
Last Post: membball84
  Automated Updates of IPTV Channels in NPVR and Kodi via APIs taylormia 1 826 2025-02-04, 03:13 AM
Last Post: lustfulmacaw
  Kodi 22 (Piers) and library thumbnails mvallevand 8 1,232 2025-01-15, 06:32 PM
Last Post: mvallevand
  Suggestions for the KODI Add-on Escape7 38 9,051 2024-12-20, 05:31 AM
Last Post: sub
  Kodi Channel Icons wrong and can't be corrected wapkaplet 11 1,137 2024-10-23, 02:11 PM
Last Post: mvallevand
  Kodi PVR Client Not Working trongod 8 1,458 2024-09-11, 10:20 PM
Last Post: trongod
  Kodi 21.0 Omega/NextPVR 21.1.0 PVR & Live TV Group Manager bouilliabai 28 4,240 2024-08-06, 10:00 PM
Last Post: sub
  Kodi-V5 WiFi Problem? kerryball 0 392 2024-06-26, 06:49 AM
Last Post: kerryball
  Adding/editing timer to one time (manual) recording from Kodi guide has no effect mmortal03 6 1,121 2024-06-25, 09:30 PM
Last Post: mmortal03

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

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

Linear Mode
Threaded Mode