elChupete 2 Posted July 26, 2017 Share Posted July 26, 2017 (edited) Hi there, can anyone tell me, what setting / entry in the emby.db etc. triggers the inital sync execution. Currently each time I fire up Kodi, the emby for Kodi plugin executes an initial sync although the media data already has been initially synced. I have the emby sync queue plugin installed on the server and activated fast sync in the emby for kodi plugin settings. While the initial sync is executed, i can browse my media and can view a movie or show. It looks to me, as if the initial sync was successful, but the setting for a successful sync was not stored. So Kodi / the plugin "thinks" the initial sync was not executed yet. Any ideas or advice what file / DB entry to check? Thanks Stefan Edited July 26, 2017 by elChupete Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted July 26, 2017 Share Posted July 26, 2017 Provide your Kodi log, what you are saying doesn't sound right. Thanks. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
elChupete 2 Posted July 27, 2017 Author Share Posted July 27, 2017 (edited) OK log is here https://pastebin.com/duxAwGxg I fear I the answer will be "Kodi 18 is not yet supported". 20:04:24.288 T:123145521946624 NOTICE: EMBY.librarysync -> ---===### Starting LibrarySync ###===--- 20:04:24.291 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: loading setting definitions 20:04:24.291 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: trying to load setting definitions from old format... 20:04:24.293 T:140736676656064 DEBUG: ------ Window Init (DialogNotification.xml) ------ 20:04:24.294 T:140736676656064 DEBUG: Window DialogNotification.xml was already loaded 20:04:24.297 T:140736676656064 DEBUG: Alloc resources: 0.04ms 20:04:24.298 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: loading setting values 20:04:24.299 T:123145521946624 DEBUG: CSettingsManager: requested setting (setting) was not found. 20:04:24.299 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: failed to find definition for setting setting. Creating a setting on-the-fly... 20:04:24.299 T:123145521946624 DEBUG: CSettingsManager: requested setting (SyncInstallRunDone) was not found. 20:04:24.313 T:123145428467712 DEBUG: RunQuery took 28 ms for 12 items query: SELECT genre.genre_id, genre.name FROM genre JOIN genre_link ON genre.genre_id = genre_link.genre_id JOIN tvshow_view ON genre_link.media_id = tvshow_view.idShow AND genre_link.media_type='tvshow' GROUP BY genre.genre_id 20:04:24.347 T:123145521946624 NOTICE: EMBY.librarysync -> Database version: 20:04:24.347 T:123145521946624 NOTICE: EMBY.librarysync -> SyncDatabase (started) 20:04:24.365 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: loading setting definitions 20:04:24.365 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: trying to load setting definitions from old format... 20:04:24.369 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: loading setting values 20:04:24.370 T:123145521946624 DEBUG: CSettingsManager: requested setting (setting) was not found. 20:04:24.370 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: failed to find definition for setting setting. Creating a setting on-the-fly... 20:04:24.372 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: loading setting definitions 20:04:24.372 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: trying to load setting definitions from old format... 20:04:24.375 T:123145428467712 DEBUG: RunQuery took 24 ms for 13 items query: SELECT studio.studio_id, studio.name FROM studio JOIN studio_link ON studio.studio_id = studio_link.studio_id JOIN tvshow_view ON studio_link.media_id = tvshow_view.idShow AND studio_link.media_type='tvshow' GROUP BY studio.studio_id 20:04:24.376 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: loading setting values 20:04:24.377 T:123145521946624 DEBUG: CSettingsManager: requested setting (setting) was not found. 20:04:24.377 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: failed to find definition for setting setting. Creating a setting on-the-fly... 20:04:24.377 T:123145521946624 DEBUG: CSettingsManager: requested setting (SyncInstallRunDone) was not found. 20:04:24.379 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: loading setting definitions 20:04:24.379 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: trying to load setting definitions from old format... 20:04:24.383 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: loading setting values 20:04:24.385 T:123145521946624 DEBUG: CSettingsManager: requested setting (setting) was not found. 20:04:24.385 T:123145521946624 DEBUG: CAddonSettings[plugin.video.emby]: failed to find definition for setting setting. Creating a setting on-the-fly... 20:04:24.748 T:123145428467712 DEBUG: CMultiPathDirectory::GetDirectory(multipath://special%3a%2f%2fprofile%2fplaylists%2fvideo/special%3a%2f%2fprofile%2fplaylists%2fmixed/) 20:04:24.750 T:123145428467712 DEBUG: Getting Directory (special://profile/playlists/video) 20:04:24.766 T:123145428467712 DEBUG: Getting Directory (special://profile/playlists/mixed) 20:04:24.766 T:123145428467712 DEBUG: CMultiPathDirectory::MergeItems, items = 2 20:04:24.808 T:123145428467712 DEBUG: CRecentlyAddedJob::UpdateMusic() - Running RecentlyAdded home screen update Perhaps a hint or idea :-) why the settings can not be read? Especially why 20:04:24.299 T:123145521946624 DEBUG: CSettingsManager: requested setting (SyncInstallRunDone) was not found. fails? Thanks Stefan Edited July 27, 2017 by elChupete Link to comment Share on other sites More sharing options...
Solution Angelblue05 4130 Posted July 27, 2017 Solution Share Posted July 27, 2017 Your log is incomplete. Probably something was changed in kodi 18 about addon settings. That's what holds the flag when the initial sync is completed. If for whatever reason, Kodi can't read the settings file, then this could definitely cause the issue you are seeing. 1 Link to comment Share on other sites More sharing options...
elChupete 2 Posted July 28, 2017 Author Share Posted July 28, 2017 Yes, log is incomplete. Because pastebin free is only 512kb. and log had 1.7MB I think, that there are changes in Kodi. I will check with Kodi then. Thx a lot for your help, much appreciated. 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted July 28, 2017 Share Posted July 28, 2017 No problem, let me know if you find anything about it. I can't say I have seen this error yet, but again, not many people are running v18 because it's not officially supported by emby for kodi. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Recommended Posts