Resume points/watched statues for TV Recordings appear then disappear - Kodi 19.0
#1
I have troubleshooted a problem whereby using Kodi 19.0, TV recording resume points and watched statues are loaded on first use but then are all lost as you are using Kodi. I am not currently using an advancedsettings.xml file.
  1. Load Kodi 19.0 on Windows PC (using Mosaic DVBLink client)
  2. PVR guide and recordings are loaded as normal, includes resume points and watched statuses.
  3. Go to the Recordings view to check.
  4. Within a few minutes ALL those resume points and watched statuses are lost in the Recording view. You can leave the Recordings screen on and see that happen.
  5. If you reload the guide data or restart Kodi, the resume points and watched statues return.
To prove this is potentially a Kodi 19.0 issue, I have repeated the same steps on another PC using Kodi 18.9 and things work as normal, none of the resume points and watched statuses are lost.

Anyone else seeing this behaviour?
Reply
#2
statuses not statues  Eek
Reply
#3
No problems with that over here. I use tvheadend in the backend. Most probably a problem with the PVR add-on / backend you are using.
Reply
#4
(2021-03-09, 14:00)ksooo Wrote: No problems with that over here. I use tvheadend in the backend. Most probably a problem with the PVR add-on / backend you are using.

To prove that out, wondering if any other users of the TVMosaic/DVBLink PVR Client (v4.7.2) have this problem specifically after upgrading to Kodi 19.0. I have had many different Kodi versions over the years that have been fine. I will be troubleshooting a bit more in the meantime.
Reply
#5
I am using dvblink addon on kodi19 and don't see this issue. Might be something in your setup, does it happen on a clean instance as well ?
Reply
#6
(2021-03-09, 16:44)Atreyu Wrote: I am using dvblink addon on kodi19 and don't see this issue. Might be something in your setup, does it happen on a clean instance as well ?

Haven't tried a clean instance on Windows as yet, however uninstalling Kodi 19.0 from an Android device and then re-installing still gives me exactly the same problem.

Current thoughts are that previously in the past I used advancedsettings.xml (I don't now) with a common mySQL database for Kodi across my devices. I have removed advancedsettings.xml though and thus do not connect to this database. I am wondering if something in that use case scenario has made a difference here.
Reply
#7
Ah, yes. That could certainly mess these things up i imagine...
Reply
#8
A fresh install of Kodi 19.0 does not seem to solve this issue on Windows or Android. Mark a tv recording as watched or set a resume point on it and a couple of minutes of using Kodi, they get wiped.

Kodi 18.9 does not have that problem though.

What is the service that would be doing that wipe/refresh? Would it be initiated from Kodi or the DVBLink client? Just trying to work out if the problem can be fixed.
Reply
#9
(2021-03-09, 22:33)Atreyu Wrote: Ah, yes. That could certainly mess these things up i imagine...

Is my thinking right here. Resume points and watched statuses are saved in the Kodi database? I have access to the DVBLink database and there are no indications that resume points and statuses of recorded tv are saved in there. Infact in order to share resume points across devices you need to integrate with the common Kodi database like with mySQL on a NAS.

So if I have a clean install of Kodi 19.0, the Kodi database starts from scratch, it loads in just tv recording metadata and that is the job done.

If I watch a recording, its resume point goes into the Kodi database. So Kodi is responsible for that.

I am just puzzled as to how on a clean install (so no migration occurred), a service comes along and wipes resume points that reside in the Kodi database.

Kodi 18.9 seems to work without that problem.
Reply
#10

  1. Here is the problem with a bit more context now.
  2. Install a fresh copy of Kodi 19.0.
  3. Start Kodi 19.0.
  4. Install the Mosaic DVBLink PVR Client and configure as normal. No other settings are configured for anything.
  5. The TV guide and TV recordings load via the DVBLink PVR client as normal.
  6. The watch status and resume points get loaded from the Kodi database.
  7. They all look fine at that point.
  8. I just recorded a TV program to test things out. Is stopped it and watched it, skipped through until 5 minutes. The bookmark gets recorded in the Kodi database (bookmark table).

    idBookmark    idFile    timeInSeconds    totalTimeInSeconds
    2    6    308.667067    802.0

  9. The ‘in progress’ icon is shown next to the title in the TV recordings.

  10. Kodi or DVBLink client at some point appears to do a refresh. The Kodi log shows this:

    2021-03-10 17:52:30.142 T:3272     INFO <general>: AddOnLog: pvr.dvblink: Found 83 recordings

  11. As that refresh occurs, that is when all watched statuses and resume points get lost.
  12. The ‘in progress’ icon for the TV program changes back to unwatched.
  13. The Kodi bookmark database table stays the same still showing the resume point for the tv program.
  14. If you now restart Kodi or clear the guide data, all the resume points and watch statuses return back to how they should be (but then the cycle of losing them starts all over again). Back to Step 6!
Kodi 18.9 does not have this problem. For info,  the DVBLink client is version 4.7.2.
Kodi 19.0 uses DVBLink version 9.1.0

So my conclusion is that the latest version of the DVBLink client with Kodi 19.0 now does a refresh that does not sweep up the bookmarks or Kodi doesn't do it, not sure what is in charge of that.
Reply
#11
Looking at pvr.dvblink add-on code, the add-on supports server-side playposition. It could be, that the add-on delivers correct play positions when Kodi pullsv recording data on startup, but not when updating recordings.
Reply
#12
(2021-03-11, 19:01)ksooo Wrote: Looking at pvr.dvblink add-on code, the add-on supports server-side playposition. It could be, that the add-on delivers correct play positions when Kodi pullsv recording data on startup, but not when updating recordings.
That was my line of thinking too after going through things, thanks for checking.

Given I want to keep updates to Kodi going, DVBLink is now dead (perhaps not becoming open source); it may be too risky to keep with this setup, not having bookmarks is useless. Perhaps TVHeadEnd or similar running on a Synology box is the next step now.
Reply
#13
Maybe I misunderstand the issue; just checked again and all watch statuses for recordings are present and changing correctly.
Reply
#14
(2021-03-11, 21:16)Atreyu Wrote: Maybe I misunderstand the issue; just checked again and all watch statuses for recordings are present and changing correctly.
Interesting. So the problem appears to be with

Kodi 19.0 using DVBLink addon client version 9.1.0

Is that what you are using?
Reply
#15
Running on coreelec/kodi19/dvblink addon v 9.1.0.2

/edit. Ah, i only just noticed you are using windows. How did I get here ? Wink
I'll try that when I get near a keyboard...
Reply

Logout Mark Read Team Forum Stats Members Help
Resume points/watched statues for TV Recordings appear then disappear - Kodi 19.00