Kodi Community Forum
Reset Resume Position Does Does not Stick - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: Reset Resume Position Does Does not Stick (/showthread.php?tid=369776)



Reset Resume Position Does Does not Stick - Nekromantik - 2022-09-24

Hi all

So since Kodi 19 when I choose reset resume position for a video it removes it from in progress for that time but after reboot its back to same position.
I am using Rpi and the DB is a MariaDB server on my LAN.

Thanks


RE: Reset Resume Position Does Does not Stick - Klojum - 2022-09-24

Resumes are stored in the bookmarks table, and normally that works independently from Kodi, reboots or not.
Are you actually using the MariaDB server or accidentally picking up the local database?

A debug log (wiki) should tell us a bit more.


RE: Reset Resume Position Does Does not Stick - Nekromantik - 2022-09-24

@Klojum 
Here is debug log

https://paste.kodi.tv/atocawonid.kodi


RE: Reset Resume Position Does Does not Stick - Klojum - 2022-09-24

Just a few random observations...

- Kodi 20 is Alpha, so breakage can happen
- The librarywatchdog add-on may do some interfering?
- Some bookmarks/resumes are removed
sql:
DEBUG <general>: Mysql execute: delete from bookmark where idFile=9561 and type=1
DEBUG <general>: Mysql execute: delete from bookmark where idFile=5725 and type=1
- A bookmark/resume is updated
sql:
DEBUG <general>: Mysql execute: update bookmark set timeInSeconds = 551.595303, totalTimeInSeconds = 6841.000000, thumbNailImage = '', player = '', playerState = '' where idBookmark = 523
- A new bookmark/resume is added
sql:
DEBUG <general>: Mysql execute: insert into bookmark (idBookmark, idFile, timeInSeconds, totalTimeInSeconds, thumbNailImage, player, playerState, type) values(NULL,9561,4402.287498,5586.000000,'','','', 1)
and all those MySQL transactions are committed, thus approved and executed. No errors there.
- This doesn't help, likely a MariaDB hiccup, although 10.5.17 is the current stable version.
xml:
2022-09-24 17:58:55.966 T:1188 DEBUG <general>: connect replacing configured host 192.168.1.20 with resolved host 192.168.1.20
2022-09-24 17:58:56.804 T:1199 INFO <general>: Skipped 20 duplicate messages..
2022-09-24 17:58:56.804 T:1199 DEBUG <general>: DatabaseUtils::GetSortFieldList: unknown field 26
2022-09-24 17:58:56.804 T:1199 DEBUG <general>: DatabaseUtils::GetSortFieldList: unknown field 31
2022-09-24 17:58:56.804 T:1199 DEBUG <general>: DatabaseUtils::GetSortFieldList: unknown field 40
2022-09-24 17:58:56.804 T:1199 DEBUG <general>: DatabaseUtils::GetSortFieldList: unknown field 68

Running LibreELEC, do you have "Wait for network" enabled?


RE: Reset Resume Position Does Does not Stick - Nekromantik - 2022-09-24

@Klojum 
I also experience the issue on Kodi 19 so this issue was not fixed for me since stable 19.
I always had librarywatchdog when it used to work. I can try remove but anyway for same function without it?
Will check MariaDB.
The ones where the bookmarks are added and updated dont make sense as when I copied the log over to PC to post online I did not start or resume any videos. I just started LE and removed 2 resume marks and then uploaded the logs.
So something is causing these changes by itself.

Yes Wait for Network is enabled.


RE: Reset Resume Position Does Does not Stick - Klojum - 2022-09-24

@Nekromantik

One of the other KodiTeamers suggested that the Trakt add-on may be the culprit, and that it's probably re-syncing the resume position again...
I've never used Trakt, so I'm not familiar with its workings.


RE: Reset Resume Position Does Does not Stick - Nekromantik - 2022-09-24

(2022-09-24, 23:19)Klojum Wrote: @Nekromantik

One of the other KodiTeamers suggested that the Trakt add-on may be the culprit, and that it's probably re-syncing the resume position again...
I've never used Trakt, so I'm not familiar with its workings.

ah I just searched trakt resume position and another thread from 2 years ago was posted about it. shame the devs not fixed that issue as I like ability to sync resume positions between my kodi instances
thanks