Jump to content

Emby for Kodi not updating database


Go to solution Solved by quickmic,

Recommended Posts

Posted (edited)

Hello,

Long time Emby for Kodi user, it seems I messed up my configuration lately.

After a Kodi database cleanup which failed, I reinstalled Kodi 21.1 and Emby For Kodi 11.1.5 and setup everything new.

It seems Emby for Kodi does manage to connect to the Emby server (I can see the "Welcome poppup" on the Kodi and the proper connection on the Emby server), however the inital database seems to fail (no ongoing update).

Debug log available here : https://paste.kodi.tv/obehimefuk

I think the issue has to do with the following lines :

2024-11-24 15:29:07.691 T:10187    info <general>: EMBY.database.library: Start sync, widget refresh
2024-11-24 15:29:07.691 T:10187    info <general>: EMBY.helper.utils: Refresh widgets initialized
2024-11-24 15:29:07.691 T:10187    info <general>: EMBY.helper.utils: Refresh widgets video started
2024-11-24 15:29:07.708 T:10187   debug <general>: Emby.helper.utils: Json response: {"jsonrpc":"2.0","method":"VideoLibrary.Scan","params":{"showdialogs":false,"directory":"EMBY_widget_refresh_trigger"},"id":1} / {'id': 1, 'jsonrpc': '2.0', 'result': 'OK'}
2024-11-24 15:29:07.708 T:10187    info <general>: EMBY.helper.utils: Refresh widgets initialized
2024-11-24 15:29:07.709 T:10187    info <general>: EMBY.helper.utils: Refresh widgets music started
2024-11-24 15:29:07.722 T:10187   debug <general>: Emby.helper.utils: Json response: {"jsonrpc":"2.0","method":"AudioLibrary.Scan","params":{"showdialogs":false,"directory":"EMBY_widget_refresh_trigger"},"id":1} / {'id': 1, 'jsonrpc': '2.0', 'result': 'OK'}
2024-11-24 15:29:07.723 T:10187   debug <general>: EMBY.database.library: THREAD: ---<[ retrieve changes ]
2024-11-24 15:29:07.749 T:10147    info <general>: VideoInfoScanner: Starting scan ..
2024-11-24 15:29:07.750 T:10147 warning <general>: Process directory 'EMBY_widget_refresh_trigger' does not exist - skipping scan.
2024-11-24 15:29:07.777 T:10147    info <general>: VideoInfoScanner: Finished scan. Scanning for video info took 39 ms
2024-11-24 15:29:07.785 T:10145   debug <general>: Process - Starting scan
2024-11-24 15:29:07.785 T:10145 warning <general>: Process directory 'EMBY_widget_refresh_trigger' does not exist - skipping scan.
2024-11-24 15:29:07.785 T:10145    info <general>: My Music: Scanning for music info using worker thread, operation took 0s
2024-11-24 15:29:07.786 T:10145   debug <general>: Process - Finished scan

(It is weird that the AudioLibrary does trigger since I don't have an audio library on my Emby server).

Any hints on what could be done ? Already tried local database reset / factory reset / ... without any success.

I can still access and read movies in Kodi through Files => Video Addons => Emby for Kodi => Dynamic Nodes => <My library>, so again connection seems OK...

This may also be linked to a recent emby server 4.8.10.0 update (I have not tried using e4k since that update)

Thank you!

Edited by m_cab
Added emby server version
Posted
2 minutes ago, m_cab said:

It seems Emby for Kodi does manage to connect to the Emby server (I can see the "Welcome poppup" on the Kodi and the proper connection on the Emby server), however the inital database seems to fail (no ongoing update).

Sorry, if that statement is not clear enough, I mean to imply that the Video / TV Shows pages of Kodi remain empty. As mentionned, I used to see the "ongoing emby for kodi database update" (which I set up at each startup), but it does not seem to work after reinstallation (even after reactivation of the Kodi setting).

  • Solution
quickmic
Posted (edited)

The log is completely fine.

Process directory 'EMBY_widget_refresh_trigger' does not exist

Those are also fine, as this is only used to trigger a Kodi skin refresh and has nothing to do with the actual sync. However, I see no init sync as well, seems you didn't sync any library at all.

Did you add libraries to sync?

Edited by quickmic
Posted
7 minutes ago, quickmic said:

Did you add libraries to sync?

Initially I selected the "All" option, however it seems no libraries were added.

After manually adding both my Movies & TV Shows library, the widgets do update properly.

I think I was misled by the library selection UI! Thank you for your help

  • Like 1
quickmic
Posted
6 minutes ago, m_cab said:

Initially I selected the "All" option, however it seems no libraries were added.

Welcome, I'll double check that.

Posted (edited)
28 minutes ago, quickmic said:

Welcome, I'll double check that.

I think it is just that the UI is misleading : If you are hovering the "All" option, it may seem selected (blue background on the item) while it isn't. You have to click/select it (font becomes yellow) and then "OK" the window.

Most probably a confirmation "Are you sure you do not want to add any library?" would avoid such errors

Edited by m_cab

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