quickmic 1703 Posted September 11, 2025 Author Posted September 11, 2025 11 hours ago, Andy2k said: Hi quickmic, i made some tests with a clean Kodi Installation on Windows: Scenario: Clean Kodi by wiping / renaming the ...\appdata\roaming\kodi folder. Kodi 21.2 64bit Version, running on (a allmost clean) Windows 11 Pro. No other addons in Kodi other than stock ones, no additional settings other than language and setting level sometimes to expert. E4k was used in Addon-Mode only, also with stock settings, no helper addons, and i added only my movie and tv-show libraries... Result, against Emby Server Beta 4.9.1.27 + 4.9.1.29 E4k 12.1.0 + 12.1.2 - ok, Actors / Cast shown in TV-Shows information window E4k 12.2.1 + 12.3.1 - nok, only a banner is shown instead of cast. Same result against some older beta server, i have tested 4.9.2.17, 22, 23.... This tells me, something in e4k 12.2.1 and above was changed and cause the artist / cast "bug". But then, i have ONE client, Coreelec 21.2 on odroid n2+, with lastest e4k addon, and all are fine there. On a 2. Coreelec / odroid n2+ some of the tv-shows shown ok, most not... I can provide some logs if you need, and could do some mor testings.... Thanks, I think i found the problem and try to fix it.
quickmic 1703 Posted September 11, 2025 Author Posted September 11, 2025 New PUBLIC TESTING version available 12.3.2: Delta changelog 12.3.1 -> 12.3.2 fix cast fix timeouts on content selections Comment: Repair sync for TV shows is required to apply the patch 1
supermood 71 Posted September 11, 2025 Posted September 11, 2025 is there a repo for the latest beta versions of 12.x? in my both repos from you I have only 11.x thanks!
LongMan 112 Posted September 11, 2025 Posted September 11, 2025 Can you explain the choices that you made with regards to music library. This is what I gathered. For artist nodes <content>artists</content> <rule field="disambiguation" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> <rule field="role" operator="is"> <value>artist</value> </rule> For album nodes <content>albums</content> <rule field="type" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> For song nodes <content>songs</content> <rule field="comment" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> Why was it not enough to use one field, either disambiguation, comment or type to tag for the libraries (eg just disambiguation=EmbyLibraryId-xxxxxx) and allow kodi to handle the content (ie artist, album or songs). <content>artists</content> <rule field="disambiguation" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> <rule field="role" operator="is"> <value>artist</value> </rule> <content>albums</content> <rule field="disambiguation" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule <content>songs</content> <rule field="disambiguation" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> Is there a reason why the above would not work? BTW I truly appreciate your efforts to support multiple libraries, it is something asked for in the kodi forums before. https://forum.kodi.tv/showthread.php?tid=346636&highlight=source. I am not sure if they are more receptive now
quickmic 1703 Posted September 12, 2025 Author Posted September 12, 2025 (edited) 10 hours ago, LongMan said: Can you explain the choices that you made with regards to music library. This is what I gathered. For artist nodes <content>artists</content> <rule field="disambiguation" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> <rule field="role" operator="is"> <value>artist</value> </rule> For album nodes <content>albums</content> <rule field="type" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> For song nodes <content>songs</content> <rule field="comment" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> Why was it not enough to use one field, either disambiguation, comment or type to tag for the libraries (eg just disambiguation=EmbyLibraryId-xxxxxx) and allow kodi to handle the content (ie artist, album or songs). <content>artists</content> <rule field="disambiguation" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> <rule field="role" operator="is"> <value>artist</value> </rule> <content>albums</content> <rule field="disambiguation" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule <content>songs</content> <rule field="disambiguation" operator="is"> <value>EmbyLibraryId-xxxxxx</value> </rule> Is there a reason why the above would not work? BTW I truly appreciate your efforts to support multiple libraries, it is something asked for in the kodi forums before. https://forum.kodi.tv/showthread.php?tid=346636&highlight=source. I am not sure if they are more receptive now Not sure how familiar you are with Kodi's database structure, but you must dive deeply into that matter to know what's going on. I try to explain as best as I can. As mentioned, Kodi has no support of "TAG" for music content and probably never will. To make it more clear, Kodi has no way to assign Tags music (Album, Artist, Songs) by its internal mechanism. It's not possible separate (Album, Artist, Songs) from different libraries. e.g I have a 3 Emby libraries including "Songs". Music, Comedy and Audiobooks. All have mp3/flacs etc. but I don't want them mixed together in Kodi. In the "video world" I would simply assign TAGs in Kodi's database but this is not an option for music. Therefore I use workarounds, raping other Kodi (database) fields to address content (Album, Artist, Songs) by Emby's library IDs. As the "artist", "album" and "song" table in Kodi's database has no common table structure, I need to use individual fields for each table to put in the Tag info. As a criteria, I cannot use commonly used fields for that. e.g. If I put the LibraryIds in the title field, it would be viewed in Kodi's browser. e.g. Michael Jackson - "Thriller-EmbyLibrayId-XXX" would be shown as song title -> Not an option, so I was looking for fields (not really used) but addressable by Kodi's nodes. The choice was "disambiguation", "type" and (unfortunately) "comment" for songs. "Comment" is actually used for Songs (and shown by Kodi's browsers) but that's a price to pay. However, I didn't replace the comment, I just added the Library Ids at the end of the "real" comment for identification. btw, you posted the wrong "operator", comment uses "contains" "<rule field="comment" operator="contains">EmbyLibraryId-XXX</rule> As the comment field has the actual comment and the "EmbyLibraryId-XXX" assigned. "is" operator would not work here. If you wanna really know what's going on, download sqlite browser and analyze Kodi's MyMusic database. Maybe it's more clear then. btw, songs can also include Emby's (music) playlist IDs additionally to the "EmbyLibraryId-XXX" to proper support playlists but it's a different/tricky matter. Kodi's m3u playlist support is very weak therefore I don't use it. Edited September 12, 2025 by quickmic
LongMan 112 Posted September 12, 2025 Posted September 12, 2025 (edited) Thanks for explaining. I took your advice and looked at the database and I see what you are saying. There is no field common to the three content types so you had to choose a field from each of the three tables. Understood. I am going pick your brain again, so please indulge me a little. I noticed three tables that I wondered about that implemented the source feature which I spoke about in the linked discussion in the kodi forum. The tables are source (idSource, strName, strMultipath) source_path (idSource, idPath, strPath) album_source (idSource, idAlbum) Is there a way to overcome the constraints of strPath in source_path so as to add the EmbyLibrarayId there and does propagate through the kodi source feature and separate the libraries that way. Maybe you have considered it before, maybe you have not. I would love to hear your thoughts on that. Edited September 12, 2025 by LongMan
quickmic 1703 Posted September 13, 2025 Author Posted September 13, 2025 16 hours ago, LongMan said: Is there a way to overcome the constraints of strPath in source_path so as to add the EmbyLibrarayId there and does propagate through the kodi source feature and separate the libraries that way. Maybe you have considered it before, maybe you have not. I would love to hear your thoughts on that. Not really, paths are only assigned to songs. Maybe could be used for Albums too, but surly not for artists. Also would only work in addon mode, but never in native mode. I cannot alter native paths. "album_source" is poorly documented, I might have a look but not for filter reasons. Currently it's not used by the plugin. https://kodi.wiki/view/Databases/MyMusic#album_source
DarWun 349 Posted September 15, 2025 Posted September 15, 2025 On 9/7/2025 at 10:33 AM, quickmic said: And please send me the kodi.log when this issue happens again. The issue happened again. E4K is showing movies as unwatched again, even though Emby properly shows them as watched. Latest Movies as per Emby web client: Latest Movies as per E4K on RPi4 (LibreElec): I changed to the default Estuary skin to rule out skin node issues. It shows that there are actually a lot more watched movies that E4K/Kodi are showing as unwatched. All circlede movies on the image below are watched and should not be showing up as unwatched: I've attached logs from the timeframe when these movies started showing up as unwatched in E4K. After doing a library repair, the issue was resolved. I'm not sure what is causing E4K to go out of sync with the Emby server with respect to watched/unwatched movies. kodi.log embyserver.txt
quickmic 1703 Posted September 15, 2025 Author Posted September 15, 2025 (edited) 2 hours ago, DarWun said: The issue happened again. E4K is showing movies as unwatched again, even though Emby properly shows them as watched. Latest Movies as per Emby web client: Latest Movies as per E4K on RPi4 (LibreElec): I changed to the default Estuary skin to rule out skin node issues. It shows that there are actually a lot more watched movies that E4K/Kodi are showing as unwatched. All circlede movies on the image below are watched and should not be showing up as unwatched: I've attached logs from the timeframe when these movies started showing up as unwatched in E4K. After doing a library repair, the issue was resolved. I'm not sure what is causing E4K to go out of sync with the Emby server with respect to watched/unwatched movies. kodi.log 2.56 MB · 0 downloads embyserver.txt 4.92 MB · 0 downloads Was this a multiversion movie and you removed a version? 2025-09-14 20:28:15.830 Info App: Removing item from database, Type: Movie, Name: Together, Path: /volume1/MediaStorage/Users/DarWunder/Videos/Movies/Together (2025)/Together (2025) [Download].mkv, Id: 2222402 Edited September 15, 2025 by quickmic
DarWun 349 Posted September 15, 2025 Posted September 15, 2025 (edited) 18 hours ago, quickmic said: Was this a multiversion movie and you removed a version? 2025-09-14 20:28:15.830 Info App: Removing item from database, Type: Movie, Name: Together, Path: /volume1/MediaStorage/Users/DarWunder/Videos/Movies/Together (2025)/Together (2025) [Download].mkv, Id: 2222402 Hi @quickmic. It is not a multi-version movie. There is only one version of the movie in my library, and I did not remove it from my library at any point. I just checked the .nfo file in the movie folder, and it was updated yesterday at around the same time it started showing up again in E4K/Kodi. I don't know what changed with the metadata that would have required the update. Edited September 15, 2025 by DarWun
DarWun 349 Posted September 15, 2025 Posted September 15, 2025 (edited) Alright. I think I know what is triggering the issue. I am fairly certain it is somehow tied to the Trakt plugin. Emby just did a library scan that took longer than normal. This is similar to what happened yesterday when I posted about the issue. Before both scans, I had spent about an hour removing movies I recently watched from my Trakt library (previously collections). The movies are still on my server. I just no longer want them showing as collected in Trakt. After the scheduled Emby scan some (not all) of those movies are now showing up again in Trakt as "Collected". I spot-checked 10 of those movies, and they are all also now showing up again in E4K/Kodi as being unwatched even though Emby shows them as being watched. Repairing the library restores the watched status for those movies. Edited September 15, 2025 by DarWun
DarWun 349 Posted September 15, 2025 Posted September 15, 2025 (edited) Temporary workaround is to disable the Sync Library option in the Trakt plugin. After doing so, I can remove collected movies in Trakt without Emby adding them back in a future library scan. That prevents them from showing up again in E4K/Kodi as unwatched. My question is, if the movies are tagged as watched in Emby on the main server why is E4K/Kodi considering them to be unwatched after Trakt updates? If the libraries are synced properly E4K/Kodi should be seeing the watched status the same as the main server. Which it does after a library repair/database reset. Let me know if there is any other information I can provide to help troubleshoot the issue. Edited September 15, 2025 by DarWun 1
quickmic 1703 Posted September 16, 2025 Author Posted September 16, 2025 3 hours ago, DarWun said: My question is, if the movies are tagged as watched in Emby on the main server why is E4K/Kodi considering them to be unwatched after Trakt updates? If the libraries are synced properly E4K/Kodi should be seeing the watched status the same as the main server. Which it does after a library repair/database reset. I don't know, but now I have something to work with. Just guessing, maybe the Trakt resets the playstate and Emby "corrects" that by another by another task. This second task might not reported or not processed by Kodi. However, I can design a test case based on your findings. Thanks 1
DarWun 349 Posted September 16, 2025 Posted September 16, 2025 11 hours ago, quickmic said: I don't know, but now I have something to work with. Just guessing, maybe the Trakt resets the playstate and Emby "corrects" that by another by another task. This second task might not reported or not processed by Kodi. However, I can design a test case based on your findings. Thanks I think you are on to something. I just did a test run to see what Emby was showing during the scan when Trakt collected items are being updated. This is what shows up temporarily in Emby while the scan is occurring. There are placeholders for many previously watched movies. All of those items end up being retagged as collected in Trakt. When the scan is complete, only the watched items remain in Emby. But E4K/Kodi shows those movies as unwatched until I do a library repair/database reset.
RonB26 14 Posted September 19, 2025 Posted September 19, 2025 On 8/31/2025 at 2:28 PM, quickmic said: fyi, there is a bug in latest version when updating from an older version. In some cases a (manual) factory reset might be required (if the automatic resync is not working correctly) I'll fix it in next version. Just a heads up. Went to upgrade to Ver 12.3.2 and got in a resync loop (Native mode). Went back to 12.1.2 and no issues.
quickmic 1703 Posted September 20, 2025 Author Posted September 20, 2025 9 hours ago, RonB26 said: Just a heads up. Went to upgrade to Ver 12.3.2 and got in a resync loop (Native mode). Went back to 12.1.2 and no issues. Can you please send me a kodi.log
quickmic 1703 Posted September 20, 2025 Author Posted September 20, 2025 On 9/16/2025 at 1:45 AM, DarWun said: Temporary workaround is to disable the Sync Library option in the Trakt plugin. After doing so, I can remove collected movies in Trakt without Emby adding them back in a future library scan. That prevents them from showing up again in E4K/Kodi as unwatched. My question is, if the movies are tagged as watched in Emby on the main server why is E4K/Kodi considering them to be unwatched after Trakt updates? If the libraries are synced properly E4K/Kodi should be seeing the watched status the same as the main server. Which it does after a library repair/database reset. Let me know if there is any other information I can provide to help troubleshoot the issue. I cannot find this setting, also I don't know how to upsync (configure) movies to trakt, only tvshows are working. Please keep in mind, I don't use trakt and I don't wanna spend too much time learn how trakt works. Obviously it's not too easy to configure trakt, even the WebUi is overloaded with external content (not my Emby content). Can you please give me detailed instructions how you upsync and how you delete movies in trakt?
quickmic 1703 Posted September 20, 2025 Author Posted September 20, 2025 fyi, I found a sync bug when a playlist was removed. Will be fixed in next version. 2
RonB26 14 Posted September 20, 2025 Posted September 20, 2025 13 hours ago, quickmic said: Can you please send me a kodi.log Sorry quickmic, I don't have it. I'll try to briefly explain. I had an issue with Kodi and E4K not caching images and loading very slow. I'm not sure when or why this started happening. I thought it might be a new beta version of Emby that caused this. So in the process of troubleshooting, I tried upgrading E4K to version 12.3.2 When doing so, E4K started a DB reset. Once Kodi rebooted, E4K started to populate the DB. It got about 70-80% and rebooted (or crashed). once restarted, it began to repopulate the DB, again crasing and rebooting. I ended up starting fresh with a new Kodi 21.2 stable install, and restore from backup. All is good with E4K 12.1.2 Next week I'll give it another go with 12.3.2 and if there is any issues, I'll get you a log. Thanks for all your hard work. 1
quickmic 1703 Posted September 21, 2025 Author Posted September 21, 2025 9 hours ago, RonB26 said: Sorry quickmic, I don't have it. I'll try to briefly explain. I had an issue with Kodi and E4K not caching images and loading very slow. I'm not sure when or why this started happening. I thought it might be a new beta version of Emby that caused this. So in the process of troubleshooting, I tried upgrading E4K to version 12.3.2 When doing so, E4K started a DB reset. Once Kodi rebooted, E4K started to populate the DB. It got about 70-80% and rebooted (or crashed). once restarted, it began to repopulate the DB, again crasing and rebooting. I ended up starting fresh with a new Kodi 21.2 stable install, and restore from backup. All is good with E4K 12.1.2 Next week I'll give it another go with 12.3.2 and if there is any issues, I'll get you a log. Thanks for all your hard work. Thanks, meanwhile I checked the native mode sync again and seems to have no issues on my setup. Must be something not covered by my tests. 1
quickmic 1703 Posted September 21, 2025 Author Posted September 21, 2025 (edited) New PUBLIC TESTING version available 12.3.3: Delta changelog 12.3.2 -> 12.3.3 fix playlist remove fix song, musicvideo realtime remove Edited September 21, 2025 by quickmic 1
DarWun 349 Posted September 21, 2025 Posted September 21, 2025 22 hours ago, quickmic said: fyi, I found a sync bug when a playlist was removed. Will be fixed in next version. Interesting. Thanks! I'll install and post back if I seen any issues moving forward.
DarWun 349 Posted September 21, 2025 Posted September 21, 2025 On 9/20/2025 at 11:00 AM, quickmic said: I cannot find this setting, also I don't know how to upsync (configure) movies to trakt, only tvshows are working. Please keep in mind, I don't use trakt and I don't wanna spend too much time learn how trakt works. Obviously it's not too easy to configure trakt, even the WebUi is overloaded with external content (not my Emby content). Can you please give me detailed instructions how you upsync and how you delete movies in trakt? @quickmicFYI, that setting is one of the options available in the Trakt plugin. FYI, I think the issue may have been a one off due to an Emby database cleanup (mass removal/addition of items from the database as evident in the log I posted). It may not have actually had anything to do with the Trakt/Emby sync. That was just a symptom of the cleanup. That also seems to have lead to a lot of items being purged from my Movies playlist when Emby removed them from the database. Why the cleanup occurred in Emby, I have no idea. Although I was able to reproduce the issue multiple times last weekend. I have been unable to do so since. Sorry if I wasted your time chasing down a non-issue. I suspect it may actually have been tied to the playlist change which you have patched in v12.3.3. 1
RonB26 14 Posted September 22, 2025 Posted September 22, 2025 On 9/21/2025 at 1:05 AM, quickmic said: Thanks, meanwhile I checked the native mode sync again and seems to have no issues on my setup. Must be something not covered by my tests. Tried to upgrade to 12.3.2, and have the sync loop problem. It seems to be occurring at the 76% - 78% completed mark . Tried restarting a second time, and same results. I saved the logs for you and will PM them. I'm going to try and factory reset with version 12.3.2 and see what happens. Let it run until it stopped again at 78% and tried to factory reset. This time it did not reset on it's own. I had to force close. I will report back once I do some more testing. 1
quickmic 1703 Posted September 22, 2025 Author Posted September 22, 2025 20 minutes ago, RonB26 said: Tried to upgrade to 12.3.2, and have the sync loop problem. It seems to be occurring at the 76% - 78% completed mark . Tried restarting a second time, and same results. I saved the logs for you and will PM them. I'm going to try and factory reset with version 12.3.2 and see what happens. Let it run until it stopped again at 78% and tried to factory reset. This time it did not reset on it's own. I had to force close. I will report back once I do some more testing. Thanks for the logs, I can see the issue but not sure why this happened to you. I will fix it one way or the other. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now