Jump to content

Multiple client sync failure 4.8.11.0


Go to solution Solved by quickmic,

Recommended Posts

ctmckinney
Posted

I've been wrestling with this for a few months.  And I'm not sure exactly when in the last 12 months or so this began to manifest.  What I have is multiple identical kodi installs on a number of clients (nvidia shiels, kodi).  Same equipment, same televisions in fact. When I add or delete from the server, only one of the clients will update (the first to access) while the others need a repair or update to see the new changes to the media library.  This hardware environment has gone unchanged for five years, and it has worked flawlessly the entire time until recently, so I'm left suspecting the emby server update as the culprit.  Is there a setting that I am missing?  Why is it only distributing updates to the first client?

Kodi companion is installed.

I've downgraded Kodi a number of times and it persists despite versions.

Emby for kodi 11.1.24

Like I said, it isn't a client issue.  If I access it first from one device, it updates appropriately while the others that follow will not. I can try a different device completely and it too will update, but the others will not.

Even though it hasn't needed it before, I still changed all device names to something unique, so emby is certain it isn't receiving the requests from the same devices.  I've even tried adding multiple user profiles, and even that doesn't get it done.

Any insight would be much appreciated!  Thanks!

 

quickmic
Posted

Wihich Emby server version?

Did you copy/paste the config from one device to another? If so, try to re-login to the server. Maybe the device IDs, tokens etc are identical on all boxes?

ctmckinney
Posted

Server says up to date 4.8.11.0

The device IDs was my suspicion too. I've reinstalled the clients numerous times, clean installs, with unique device IDs. Emby shows playback on the different devices, so it acknowledges there are different clients accessing the server. It just refuses to update any 2nd device. It is definitely behaving in a way where it considers all clients updated once it has done a sync once. I can't figure it out, especially considering this environment has been working perfectly for six or seven years.

quickmic
Posted (edited)

Did you check the Websocket connections?

You could test that by sending a text msg from the server to the clients. -> When playback is active, you find a text "msg send box" on server's Dashboard on the active client.

Edited by quickmic
ctmckinney
Posted
3 hours ago, quickmic said:

Did you check the Websocket connections?

You could test that by sending a text msg from the server to the clients. -> When playback is active, you find a text "msg send box" on server's Dashboard on the active client.

Thanks!  I don't have a clue how to do that, but I will give it a go.  Correct me if I'm wrong, but when I check the activity log I see two different devices doing playback.  At least the names I attached to the kodi installs. Even if this is the issue, what is the remedy?  I can't do anything more to differentiate a kodi install more than I already have.  At least I think I can't.

quickmic
Posted (edited)

msg2.thumb.png.7d209a4aadd127467ea878b33fddb149.png

Edited by quickmic
  • Thanks 1
ctmckinney
Posted

Thanks for helping, but I just did as you suggested and texting the clients works appropriately.  Each receives the messages and only the messages that are targeted for them.

I'm still perplexed. I can always live with it and manually update those cleints that were not first in the request order upon library changes, but that is aggravating, especially considering it was working properly prior to the server update.

I do remember now when this issue sprung up.  It was after the update to the server that specifies you wont be able to downgrade upon confirming the update.  Not sure what version I was running before, as auto updates are always on, but that was the culprit for this multiple client sync dysfunction.

Will this version continue to be worked on?  Are there settings I'm overlooking?  Or should I abandon all hope and downgrade... That'll be a nightmare with my massive library.

ctmckinney
Posted (edited)

removed

Ok, I think I've determined the problem.  Since one of my clients is always on, I was operating under the assumption that the first client was updating while the others were not.  That is not the case.  I powered off all clients and added new files to the server and powered up the clients.  None of them are updating.  I get the welcome message and the whole updating libraries thing, but it doesn't actually update and show new files. 

Now if both clients are on, the updating happens almost instantly.  It has me super excited to have this issue resolved. But if neither clients are on, updates dont actually update anything.  Peculiar. Any help would be most appreciated!

 

Edited by ctmckinney
quickmic
Posted

Did you disable the startup sync in plugin's config?

Also, please send me a kodi.log for review.

quickmic
Posted

Are the devices powered off of in sleep mode?

ctmckinney
Posted (edited)

The shield device is typically in sleep mode, but I usually as a matter of habit will always restart the kodi app to ensure the update routine engages.  And yes, startup sync is always on.

 

embyserver (1).txt

Edited by ctmckinney
  • Like 1
quickmic
Posted

Thanks but I need the kodi.log from the shield(s)

quickmic
Posted (edited)

Thanks, for the log.

5 hours ago, ctmckinney said:

Yikes!  I'm stepping on rakes just asking for help!

You are the first reporting this issue. Currently I cannot verify it on my setup as doesn't happen to me.

fyi, what you are reporting is a "Kodi start sync" problem.

The startup sync works very different than then the "realtime sync" when Kodi is online what you say is ok.

I can see in the log the start-sync and seems absolutely clean at this point.

EMBY.database.library: Retrieve changes, last synced: 2025-04-14T08:51:38Z

This line means, the delta changes from "2025-04-14T08:51:38Z" till "now" was requested from Emby server. During this timespan, no changes were made on Emby server as no changed items are reported from Emby server.

2025-04-14 15:31:05.238 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] shared / Person
2025-04-14 15:31:05.238 T:28926   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.338 T:28926   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.338 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Horror / Genre
2025-04-14 15:31:05.339 T:28927   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.344 T:28927   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.345 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Horror / Tag
2025-04-14 15:31:05.345 T:28928   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.350 T:28928   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.351 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Horror / Studio
2025-04-14 15:31:05.351 T:28929   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.357 T:28929   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.358 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Horror / Video
2025-04-14 15:31:05.358 T:28930   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.362 T:28930   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.362 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Horror / Movie
2025-04-14 15:31:05.363 T:28931   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.370 T:28931   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.371 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Horror / BoxSet
2025-04-14 15:31:05.372 T:28932   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.384 T:28932   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.386 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Horror / Folder
2025-04-14 15:31:05.387 T:28933   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.391 T:28933   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.392 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Chet / Genre
2025-04-14 15:31:05.393 T:28934   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.401 T:28934   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.401 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Chet / Tag
2025-04-14 15:31:05.401 T:28935   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.409 T:28935   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.410 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Chet / Studio
2025-04-14 15:31:05.410 T:28936   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.417 T:28936   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.418 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Chet / Video
2025-04-14 15:31:05.418 T:28937   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.426 T:28937   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.427 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Chet / Movie
2025-04-14 15:31:05.427 T:28938   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.436 T:28938   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.437 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Chet / BoxSet
2025-04-14 15:31:05.441 T:28939   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.450 T:28939   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.452 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Chet / Folder
2025-04-14 15:31:05.453 T:28940   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.463 T:28940   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.463 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Denise / Genre
2025-04-14 15:31:05.469 T:28941   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.476 T:28941   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.478 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Denise / Tag
2025-04-14 15:31:05.478 T:28942   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.488 T:28942   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.488 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Denise / Studio
2025-04-14 15:31:05.493 T:28943   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.502 T:28943   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.508 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Denise / Video
2025-04-14 15:31:05.509 T:28944   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.514 T:28944   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.516 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Denise / Movie
2025-04-14 15:31:05.520 T:28945   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.531 T:28945   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.531 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Denise / BoxSet
2025-04-14 15:31:05.531 T:28946   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.541 T:28946   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.542 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Denise / Folder
2025-04-14 15:31:05.542 T:28947   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.557 T:28947   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.559 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Movie Library / Genre
2025-04-14 15:31:05.561 T:28948   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.575 T:28948   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.577 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Movie Library / Tag
2025-04-14 15:31:05.578 T:28949   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.595 T:28949   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.595 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Movie Library / Studio
2025-04-14 15:31:05.596 T:28950   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.630 T:28950   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.633 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Movie Library / Video
2025-04-14 15:31:05.638 T:28951   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.643 T:28951   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.644 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Movie Library / Movie
2025-04-14 15:31:05.644 T:28952   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.662 T:28952   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.662 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Movie Library / BoxSet
2025-04-14 15:31:05.662 T:28953   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.677 T:28953   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.684 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] Movie Library / Folder
2025-04-14 15:31:05.688 T:28954   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.694 T:28954   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.697 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Movies / Genre
2025-04-14 15:31:05.697 T:28955   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.704 T:28955   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.704 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Movies / Tag
2025-04-14 15:31:05.705 T:28957   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.709 T:28957   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.709 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Movies / Studio
2025-04-14 15:31:05.709 T:28958   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.722 T:28958   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.722 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Movies / Video
2025-04-14 15:31:05.722 T:28959   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.726 T:28959   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.729 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Movies / Movie
2025-04-14 15:31:05.730 T:28960   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.737 T:28960   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.739 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Movies / BoxSet
2025-04-14 15:31:05.739 T:28961   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.744 T:28961   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.745 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Movies / Folder
2025-04-14 15:31:05.745 T:28962   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.750 T:28962   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.750 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Oldies Movies / Genre
2025-04-14 15:31:05.750 T:28963   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.755 T:28963   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.756 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Oldies Movies / Tag
2025-04-14 15:31:05.756 T:28964   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.773 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Oldies Movies / Studio
2025-04-14 15:31:05.775 T:28965   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.782 T:28965   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.782 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Oldies Movies / Video
2025-04-14 15:31:05.782 T:28966   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.786 T:28966   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.786 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Oldies Movies / Movie
2025-04-14 15:31:05.789 T:28967   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.801 T:28967   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.801 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Oldies Movies / BoxSet
2025-04-14 15:31:05.805 T:28968   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.811 T:28968   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.812 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New Oldies Movies / Folder
2025-04-14 15:31:05.812 T:28969   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.819 T:28969   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.827 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Episodes / Genre
2025-04-14 15:31:05.829 T:28970   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.835 T:28970   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.837 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Episodes / Tag
2025-04-14 15:31:05.837 T:28971   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.842 T:28971   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.843 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Episodes / Studio
2025-04-14 15:31:05.843 T:28972   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.852 T:28972   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.852 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Episodes / Video
2025-04-14 15:31:05.853 T:28973   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.857 T:28973   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.857 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Episodes / BoxSet
2025-04-14 15:31:05.858 T:28974   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.863 T:28974   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.863 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Episodes / Playlist
2025-04-14 15:31:05.864 T:28975   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.867 T:28975   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.877 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Episodes / Folder
2025-04-14 15:31:05.879 T:28976   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.883 T:28976   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.883 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Series / Tag
2025-04-14 15:31:05.884 T:28977   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.888 T:28977   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.889 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Series / Studio
2025-04-14 15:31:05.889 T:28978   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.905 T:28978   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.906 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Series / Genre
2025-04-14 15:31:05.906 T:28979   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.925 T:28979   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.926 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Series / Series
2025-04-14 15:31:05.926 T:28980   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.936 T:28980   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.938 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Series / Season
2025-04-14 15:31:05.939 T:28981   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.946 T:28981   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.946 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Series / Episode
2025-04-14 15:31:05.947 T:28982   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:05.979 T:28982   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:05.987 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Series / BoxSet
2025-04-14 15:31:05.988 T:28983   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.014 T:28983   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:06.014 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] New TV Series / Folder
2025-04-14 15:31:06.015 T:28984   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.034 T:28984   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:06.034 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] TV Series Seasons / Tag
2025-04-14 15:31:06.035 T:28985   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.040 T:28985   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:06.040 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] TV Series Seasons / Studio
2025-04-14 15:31:06.041 T:28986   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.105 T:28986   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:06.105 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] TV Series Seasons / Genre
2025-04-14 15:31:06.109 T:28987   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.190 T:28924   debug <general>: EMBY.emby.http: Websocket Pong received
2025-04-14 15:31:06.193 T:28987   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:06.193 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] TV Series Seasons / Series
2025-04-14 15:31:06.194 T:28988   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.208 T:28988   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:06.208 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] TV Series Seasons / Season
2025-04-14 15:31:06.209 T:28989   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.245 T:28989   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:06.246 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] TV Series Seasons / Episode
2025-04-14 15:31:06.246 T:28990   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.378 T:28990   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:06.384 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] TV Series Seasons / BoxSet
2025-04-14 15:31:06.385 T:28991   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.498 T:28991   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)
2025-04-14 15:31:06.499 T:28925    info <general>: EMBY.database.library: [ retrieve changes ] TV Series Seasons / Folder
2025-04-14 15:31:06.499 T:28992   debug <general>: EMBY.emby.api: THREAD: --->[ load Items ]
2025-04-14 15:31:06.521 T:28992   debug <general>: EMBY.emby.api: THREAD: ---<[ load Items ] (no items found or shutdown)

 

This all looks reasonable to me, as the requested Timestamp "2025-04-14T08:51:38Z" was very short (fresh Kodi restart).

I suggest, send me new log for review when the issue appears again and don't restart Kodi after the issue appears. I need the log including the "issue".

What I can rule out at this point, the start-sync was triggered correctly, and no program/plugin crash appeared.

 

 

Edited by quickmic
  • Like 1
ctmckinney
Posted (edited)

Thanks, and thanks for the lesson on the update routines.  I just made changes to a few libraries and can verify the real time sync works great, and it is the startup for sure.  On a clean reboot the changes I made did not show on the startup.  Here's the log.

 

https://paste.kodi.tv/upovayofob

 

I do see these errors regarding "Repository add-on repository.kodinerds"

I can confirm these are fresh installs of kodi and the plugin.  I've clean installed a half dozen times at this point.  The repository is from  http://kodi.emby.media

Edited by ctmckinney
quickmic
Posted (edited)
9 minutes ago, ctmckinney said:

Thanks, and thanks for the lesson on the update routines.  I just made changes to a few libraries and can verify the real time sync works great, and it is the startup for sure.  On a clean reboot the changes I made did not show on the startup.  Here's the log.

 

https://paste.kodi.tv/upovayofob

Well, I can see the startup sync jumped in, but no data was received.

Was the content change before?

EMBY.database.library: Retrieve changes, last synced: 2025-04-15T01:26:41Z

 

Did you change the content while the box was online? If so, the sync was already done via realtime sync and the startup sync would not request the same data again.

Actually, each sync (realtime or startup) updates the Timestamp.

One way to test a "plain" startsync is to shutdown the box, update content and turn it back on.

The other option is to set the timestamp manually. This can be done in plugins config menu, subsection "Sync".

 

Edited by quickmic
ctmckinney
Posted (edited)

I had one box off and one box on for the above log. And the off box did not startsync. I'm at a loss. I've tested both boxes off, and neither will startsync on startup.

Enable start sync - yes

Like i said, this is a recent occurrence. Before, real-time never worked (or didnt at some point) and I assumed that was a limitation at the time. So my typical usage is always to power off and restart kodi upon each use to ensure any updates are made. Now is the reverse. Real time works like a blessing, but startup sync does nothing.

The only difference in this ecosystem is the update of the server some weeks ago. I've had this setup running like a champion for six years. That the server and players have been so trouble free for so long explains why I'm fumbling about learning what is under the hood. Never needed to diagnose a dysfunction before. Exceptional system, despite this issue.

 

Edited by ctmckinney
quickmic
Posted

Well I performed another test on exact same Emby server version 4.8.11.0, same as you have. I still cannot find any issues.

At the moment, I've no idea what could be wrong.

If you are willing to continue with testing, let me know.

Please be aware, this will take quite some effort from your side to debug that issue and supporting me with logs.

ctmckinney
Posted (edited)

I absolutely would like to find the cause of this, if you're willing to provide your expertise. I adore the system.

I'm considering two options. One would be to downgrade the server itself, which would be horrifying but worth it if it fixes. Two would be to introduce a few different devices and see if it is the shield systems. I have an Amazon stick configured with kodi/emby.

 

BTW, are those errors for the kodinerds add on expected? Did I install the wrong repository perhaps?

Edited by ctmckinney
quickmic
Posted

Perfect, then please perform the following test:

1. Enable debug logs on Emby server.

2. Enable debug log on Kodi

3. Power off shield (No sleep mode)

4. Rename a movie on Emby server in the metadata manager, no need to rename the file. No need to rescan on Emby server. Add "test" at the end, you can remove it later

5. Finally start shield, and take a note of the starttime

Check if the movie was synced. If not, please send me the Emby server log, the Kodi log and the starttime of the box.

 

  • Solution
quickmic
Posted (edited)
2025-04-16 01:50:16.504 T:8615     info <general>: EMBY.database.library: Retrieve changes, last synced: 2025-04-16T06:41:13Z

What timezone are you? The timestamp of the "last synced" is "Zulu time" which is GMT.

The Kodi timestamp represents the local time.

Compare with the log times on the server, they are around 2025-04-15 03:03:55.822

This should also reflect the local time.

Unless the server and your box are in different timezones, something is wrong on your time settings.

Edited by quickmic
Posted (edited)

I gave it a few days, and sure enough all my issues stem from the server clock. I shouted the F word for a straight hour, given how much time I wasted. This thread is a total waste of time for any visitors, so I'd suggest delete it or rename it "Dumbass never bothered to check the pc clock, and sync went to hell". To excuse my noob mistake, this server has been powered on non stop for 15 years. I never wouldve thought to check such obvious things after so long a period of flawless function.

 

Anyway, there's  happy accident, as discovering the kodi companion plug-in ad been great! It works like a champ. No longer will I need to repair when I delete or shift videos around file system.

 

Lastly, I'm not sure if there's a discussion regarding the Titan version of Kodi, but after a few weeks of testing, I've downgraded back to Nexus. There's a host of performance issues I find too annoying to ignore with Titan, such as fast forwarding through a tv episode to the end will auto play the next episode, but the screen kicks out to the show menu while the episode plays in the background. Kind of minor, but still a bug. Plus Titan frequently crashes and restarts upon wake almost 100% of the time. Ne us, on the other hand, works perfectly. Is there any performance reasons to consider with emby on Titan? Am I sacrificing quality of display to avoid fiddly issues on Nexus?

 

Sorry for wasting your time with my 100% dumbass user side issue. But I greatly appreciate the effort.

Edited by ctmckinney
  • Like 1

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...