Jump to content

Watched progress not working after Kodi reboot.


djon
Go to solution Solved by djon,

Recommended Posts

If a watch part of a TV-Show or movie but do not finish it, I can see the watched progress fine in Kodi and if I resume that will work too - until I reboot Kodi (which it does every time I turn off the TV as my Odroid N2+ power is being turned off). On Emby server the Watched progress is still correct, but after restarting Kodi, watched progress is gone.

I can see this a lot in the kodi log:

"resumetime" in ListItem.setProperty() is deprecated and might be removed in future Kodi versions. Please use InfoTagVideo.setResumePoint().

And wonder if that has something to do with it?

01_KODI.log

Link to comment
Share on other sites

I searched and searched but nowhere in the log does it specifically say that it can't get a correct progress for a video I just watched some of, before taking the power off the Odroid and turning it on again. It just doesn't seem to retrieve the watched progress from Emby server.

Link to comment
Share on other sites

quickmic

All warnings in the log are not from e4k plugin.

Some 3rd party plugin using deprecated APis.

Quote

It just doesn't seem to retrieve the watched progress from Emby server.

 

It does, the question is. Is it correct and complete.

2023-09-29 08:06:05.265 T:6898     info <general>: EMBY.database.library: THREAD: --->[ retrieve changes ]
2023-09-29 08:06:05.267 T:6898     info <general>: EMBY.database.dbio: ---> DBOpenRO: bd46f2f7431d45ca8b4ffc46ce1ff655worker_remove3236467392
2023-09-29 08:06:05.268 T:6898     info <general>: EMBY.database.dbio: ---< DBCloseRO: bd46f2f7431d45ca8b4ffc46ce1ff655worker_remove3236467392
2023-09-29 08:06:05.268 T:6898     info <general>: EMBY.database.library: -->[ worker remove started ] queue size: 0
2023-09-29 08:06:05.270 T:6898     info <general>: EMBY.database.dbio: ---> DBOpenRO: bd46f2f7431d45ca8b4ffc46ce1ff655worker_update3236467392
2023-09-29 08:06:05.271 T:6898     info <general>: EMBY.database.dbio: ---< DBCloseRO: bd46f2f7431d45ca8b4ffc46ce1ff655worker_update3236467392
2023-09-29 08:06:05.271 T:6898     info <general>: EMBY.database.library: -->[ worker update started ] queue size: 0
2023-09-29 08:06:05.272 T:6896     info <general>: Emby.hooks.websocket: ---<[ websocket connect ]
2023-09-29 08:06:05.272 T:6900     info <general>: Emby.hooks.websocket: THREAD: --->[ ping ]
2023-09-29 08:06:05.273 T:6898     info <general>: EMBY.database.dbio: ---> DBOpenRO: bd46f2f7431d45ca8b4ffc46ce1ff655worker_userdata3236467392
2023-09-29 08:06:05.273 T:6898     info <general>: EMBY.database.library: -->[ worker userdata started ] queue size: 0
2023-09-29 08:06:05.274 T:6898     info <general>: EMBY.database.dbio: ---< DBCloseRO: bd46f2f7431d45ca8b4ffc46ce1ff655worker_userdata3236467392
2023-09-29 08:06:05.276 T:6898     info <general>: EMBY.database.dbio: ---> DBOpenRO: bd46f2f7431d45ca8b4ffc46ce1ff655worker_library3236467392
2023-09-29 08:06:05.277 T:6898     info <general>: EMBY.database.dbio: ---< DBCloseRO: bd46f2f7431d45ca8b4ffc46ce1ff655worker_library3236467392
2023-09-29 08:06:05.277 T:6898     info <general>: EMBY.database.library: -->[ worker library started ] queue size: 0
2023-09-29 08:06:05.277 T:6898     info <general>: EMBY.database.library: --<[ worker library empty ]
2023-09-29 08:06:05.277 T:6898     info <general>: EMBY.database.library: Retrieve changes, last synced: 2023-09-29T05:36:48Z
2023-09-29 08:06:05.278 T:6898     info <general>: EMBY.helper.utils: Progress Bar open: 1
2023-09-29 08:06:05.278 T:6898     info <general>: EMBY.database.library: -->[ Kodi companion ]
2023-09-29 08:06:05.298 T:6898    error <general>: EMBY.emby.http: [ Statuscode ] 404
2023-09-29 08:06:05.298 T:6898     info <general>: EMBY.database.library: --<[ Kodi companion ]
2023-09-29 08:06:05.298 T:6898     info <general>: EMBY.database.library: [ retrieve changes ] 11 / TV shows
2023-09-29 08:06:05.886 T:6898     info <general>: Skipped 3 duplicate messages..
2023-09-29 08:06:05.886 T:6898     info <general>: EMBY.database.library: [ retrieve changes ] 4 / Movies
2023-09-29 08:06:06.118 T:6898     info <general>: Skipped 2 duplicate messages..
2023-09-29 08:06:06.118 T:6898     info <general>: EMBY.database.library: [ retrieve changes ] 7324 / Kids Movies
2023-09-29 08:06:06.333 T:6829     info <general>: Skipped 2 duplicate messages..
2023-09-29 08:06:06.333 T:6829     info <general>: [ script.embuary.info ] Finished next airing database refreshing
2023-09-29 08:06:06.424 T:6898     info <general>: EMBY.helper.utils: Progress Bar close: 0
2023-09-29 08:06:06.436 T:6898     info <general>: EMBY.database.dbio: ---> DBOpenRW: bd46f2f7431d45ca8b4ffc46ce1ff655/set_syncdate
2023-09-29 08:06:06.454 T:6898     info <general>: EMBY.database.dbio: ---< DBCloseRW: bd46f2f7431d45ca8b4ffc46ce1ff655 / 2 / set_syncdate rows updated on db close
2023-09-29 08:06:06.484 T:6898     info <general>: EMBY.database.library: THREAD: ---<[ retrieve changes ]

Is the date correct -> "Retrieve changes, last synced: 2023-09-29T05:36:48Z"

Also it updates content:

2023-09-29 08:06:06.771 T:6898     info <general>: EMBY.core.tvshows: UPDATE episode [38 / 53 / 401 / 2895] 21834: Do or Die

 

First, check if content progress is at any time in sync on Emby server. Especially before Kodi start.

btw, I hope you don't powercut Kodi.

Can you reproduce the issue? If yes, give me exact instructions, how to trigger it.

 

 

 

 

 

Link to comment
Share on other sites

  • Solution
On 9/30/2023 at 5:42 AM, quickmic said:

btw, I hope you don't powercut Kodi.

That made me think and I could see I had set CEC to suspend Odroid, which would then be power cut when the TV turned off. I changed the CEC behavior to Shutdown instead, and that seems to have fixed the progress issues.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...