-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No recently album music added since Kodi19 #481
Comments
Very odd. I wonder if this is a change in the music database that we haven't accounted for. Especially if it's only happening after the upgrade to Kodi 19. |
Thank you for the answer! This is not directly to this issue (as the recently added album list is not based on the albumview) but with Kodi 19, they for example changed the way the dateAdded is built in the albumview in the music DB. So apparently, they indeed made some changes in the way the dateAdded is managed for albums in the new KODI Music DB. |
So I finally got some time to check into this and I can't replicate it. I added a new album both when Kodi was running (get the new data via websocket) and while Kodi was turned off (via the Kodi Sync Queue plugin) and both times it synced fine. I do see that the entire I added Guitar Gangsters... while Kodi was turned off, and Beyond Hell... while Kodi was running and they've both shown up fine. So on a hunch, I'm guessing that different views are querying the database in different ways. Not sure why dateAdded isn't being populated in Kodi 19 yet, but on my system at least it doesn't appear to be an issue. Possibly it's using that column as primary and falling back to another method if it can't find anything? That will still need investigating. |
Thank you for your investigations. |
I can verify that I'm seeing the same issue on Kodi 19. The new albums are added in the Music, but they do not show up in the Recently Added Music. Even when browsing into the Music library through the Jellyfin plugin on Kodi, the latest Music there is not the same as what shows in Jellyfin web. |
I'm assuming thew views are defined to look by dateAdded, but falls back to something else if it's not present. But since you upgraded from v18 that had dateAdded, but the sync isn't adding it for v19 it's taking the older values and missing the new ones. We'll need to look into the queries to see why that field isn't being populated properly |
Yeah, I just diffed the schemas for Kodi18 vs Kodi19 and saw the same thing, good catch.
Should be an easy enough fix. Just another example of playing with the database that we're not supposed to play with. |
Thank you all for your finding and already for the upcoming fix! |
I pulled the changed files and updated my local plugin. I can verify that the Recently Added Music is now properly updating in Kodi widgets and within the Jellyfin plugin. |
Since I updated to Kodi 19, when I add new music albums on JellyFin, they are correctly synced wih Kodi (using Kodi Sync Queue) but the albums are no more added to the recently added albums view in Kodi.
I activated the debug mode in Kodi and in the plugin and attached to this issue the section for the jellyfin music sync
kodi.log, but I didn't find any relevant error...
I looked into the new Kodi music DB (MyMusic82.db) and I found that the field dateAdded is correctly filled for all songs but is empty for albums added after my update to KODI 19.
Does anybody else have the same issue ?
Thank you !
My configuration
Jellyfin 10.6.4 on NAS Docker (Linux)
Kodi 19 on NVidia Shield (Android)
Jellyfin-Kodi plugin 0.7.0+py3
The text was updated successfully, but these errors were encountered: