LongMan 112 Posted September 6, 2025 Posted September 6, 2025 (edited) no difference. Could this be related to the problem we had before where artist needed to be in 2 tables if i recall correctly? I think the second was the actors table Edited September 6, 2025 by LongMan
DarWun 349 Posted September 6, 2025 Posted September 6, 2025 I'm not sure how to provide information that will help troubleshoot this issue. But I'll try. I am seeing previously watched movies showing up as unwatched on E4K. Emby does not show them on my main server. But they show up in E4K on my Rpi4. If I do a library reset and add the libraries again, they will disappear. But eventually watched movies will start showing up again as unwatched. Screenshot from E4K: Screenshot from Emby Server" Together has been watched. E4K still shows it as unwatched even though Emby does not.
quickmic 1703 Posted September 7, 2025 Author Posted September 7, 2025 8 hours ago, DarWun said: I'm not sure how to provide information that will help troubleshoot this issue. But I'll try. I am seeing previously watched movies showing up as unwatched on E4K. Emby does not show them on my main server. But they show up in E4K on my Rpi4. If I do a library reset and add the libraries again, they will disappear. But eventually watched movies will start showing up again as unwatched. Screenshot from E4K: Screenshot from Emby Server" Together has been watched. E4K still shows it as unwatched even though Emby does not. Please verify such issues with the plugin nodes (via addon browser) and not something shown on skins. Otherwise I cannot know if it's a skin issue or a plugin issue. Can you confirm it's also wrong there?
quickmic 1703 Posted September 7, 2025 Author Posted September 7, 2025 (edited) 15 hours ago, LongMan said: no difference. Could this be related to the problem we had before where artist needed to be in 2 tables if i recall correctly? I think the second was the actors table I know what's the issue. As a temporary workaround, you can use "startswith" as operator. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <node order="5" type="filter" visible="True"> <label>Pop Music</label> <icon>DefaultMusicVideos.png</icon> <content>musicvideos</content> <match>all</match> <rule field="genre" operator="startswith"> <value>Pop</value> </rule> <group>artists</group> <order direction="ascending">artist</order> </node> I'll fix it in next version Edited September 7, 2025 by quickmic
DarWun 349 Posted September 7, 2025 Posted September 7, 2025 9 hours ago, quickmic said: Please verify such issues with the plugin nodes (via addon browser) and not something shown on skins. Otherwise I cannot know if it's a skin issue or a plugin issue. Can you confirm it's also wrong there? Sorry for not properly describing the issue. I watched the movie Together using E4K in LibreElec on my Rpi4. After finishing it, Emby marked it as watched and it was removed from Latest Movies on both Emby web and E4K. But a few days later it was showing as unwatched in E4K even though the status was still watched in Emby. This has happened a few times recently with other movies. I watch them, they will be removed from Latest Movies in E4K only to show up again as unwatched a few days later. To fix the issue, I have to do a database reset or library repair to sync watch status with the Emby server. After I reported the issue last night, I repaired the library to fix it. I'll have to wait until it happens again to confirm that it is not a skin issue. 1
quickmic 1703 Posted September 7, 2025 Author Posted September 7, 2025 29 minutes ago, DarWun said: Sorry for not properly describing the issue. I watched the movie Together using E4K in LibreElec on my Rpi4. After finishing it, Emby marked it as watched and it was removed from Latest Movies on both Emby web and E4K. But a few days later it was showing as unwatched in E4K even though the status was still watched in Emby. This has happened a few times recently with other movies. I watch them, they will be removed from Latest Movies in E4K only to show up again as unwatched a few days later. To fix the issue, I have to do a database reset or library repair to sync watch status with the Emby server. After I reported the issue last night, I repaired the library to fix it. I'll have to wait until it happens again to confirm that it is not a skin issue. And please send me the kodi.log when this issue happens again.
LongMan 112 Posted September 7, 2025 Posted September 7, 2025 (edited) 9 hours ago, quickmic said: I know what's the issue. As a temporary workaround, you can use "startswith" as operator. Could you explain the problem a little bit. If it makes the program less efficient, it is easy enough for me to change the nodes. Also Would 'contains' be a solution as well? Edited September 7, 2025 by LongMan
quickmic 1703 Posted September 7, 2025 Author Posted September 7, 2025 2 minutes ago, LongMan said: Cou If it makes the program less efficient, it is easy enough for me to change the nodes. Also Would 'contains' be a solution as well? "Contains" is also possible, as mentioned. I'll fix the issue in next version. Quote Could you explain the problem a little bit. That's not easy to explain. It's actually part of a workaround supporting multiple libraries in Kodi's music database. This is not possible with stock features as the music database don't support tagging and probably never will. For some content I need to add spaces to the labels to trick Kodi's database unique columns. Adding those extra spaces to musicvideo genres is not necessary and is actually a bug.
LongMan 112 Posted September 7, 2025 Posted September 7, 2025 Sounds like time to revisit the choice in the kodi music database to tie Music Source to a database path instead of making it a tag. Maybe they may be more receptive now.
quickmic 1703 Posted September 7, 2025 Author Posted September 7, 2025 (edited) New PUBLIC TESTING version available 12.3.0: Delta changelog 12.2.1 -> 12.3.0 fix tvshow boxset assignment fix musicgenres sync fix playlist sync upgrade issue Comment: This version requires a complete resync. Edited September 7, 2025 by quickmic
quickmic 1703 Posted September 7, 2025 Author Posted September 7, 2025 35 minutes ago, LongMan said: Sounds like time to revisit the choice in the kodi music database to tie Music Source to a database path instead of making it a tag. Maybe they may be more receptive now. Even with my workarounds, tags are not supported for music. However, i could think of supporting them too as I use tag-like parameters to unify Emby libraries. If you are interested, you can check the nodes the plugin generates. Instead of tags they use other parameters/database columns for "tagging".
Andy2k 75 Posted September 7, 2025 Posted September 7, 2025 Hi Quickmic, i have another bug on my clients, but im not sure if it is a client or a server problem. E4K Versions are 12.2.1 and 12.3.0. Since i updated my (beta) server from 4.9.1.22 to 4.9.1.23 (and above) i lost on most of my clients the Cast Info on the TV-Show information window. Usualy it shows like this (with stock skin): Now most clients shows only a banner instead of the cast... Estuary Mod v2 shows unseen episodes instead of the cast. A Database reset / update to E4K 12.3.0 and also a factory reset for the plugin made no change. Some idea?
quickmic 1703 Posted September 7, 2025 Author Posted September 7, 2025 25 minutes ago, Andy2k said: Hi Quickmic, i have another bug on my clients, but im not sure if it is a client or a server problem. E4K Versions are 12.2.1 and 12.3.0. Since i updated my (beta) server from 4.9.1.22 to 4.9.1.23 (and above) i lost on most of my clients the Cast Info on the TV-Show information window. Usualy it shows like this (with stock skin): Now most clients shows only a banner instead of the cast... Estuary Mod v2 shows unseen episodes instead of the cast. A Database reset / update to E4K 12.3.0 and also a factory reset for the plugin made no change. Some idea? currently not
LongMan 112 Posted September 7, 2025 Posted September 7, 2025 The music video nodes works now thanks.
LongMan 112 Posted September 7, 2025 Posted September 7, 2025 (edited) The initial sync is stopping before finishing. 2025-09-07 15:29:04.301 T:1656 error <general>: Traceback (most recent call last): 2025-09-07 15:29:04.301 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/database/library.py", line 785, in worker_library_add 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: if not self.update_Item(AddedLibraryProgress, ItemIndex, Item, SQLs, AddedLibrary[3], ProgressBar, False, ClassObject): 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/database/library.py", line 861, in update_Item 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: Ret = ClassObject.change(Item, IncrementalSync) 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/core/series.py", line 41, in change 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: common.set_MetaItems(Item, self.SQLs, self.GenreObject, self.EmbyServer, "Genre", "GenreItems", "", IncrementalSync, Item["LibraryId"]) 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/core/common.py", line 1259, in set_MetaItems 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: WorkerObject.change(SubItem, IncrementalSync) 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/core/genre.py", line 14, in change 2025-09-07 15:29:04.303 T:1656 error <general>: 2025-09-07 15:29:04.303 T:1656 error <general>: if not common.load_ExistingItem(Item, self.EmbyServer, self.SQLs["emby"], "Genre"): 2025-09-07 15:29:04.303 T:1656 error <general>: 2025-09-07 15:29:04.303 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/core/common.py", line 42, in load_ExistingItem 2025-09-07 15:29:04.303 T:1656 error <general>: 2025-09-07 15:29:04.303 T:1656 error <general>: ExistingItem = EmbyDB.get_item_by_id(Item['Id'], EmbyType) 2025-09-07 15:29:04.303 T:1656 error <general>: 2025-09-07 15:29:04.303 T:1656 error <general>: KeyError 2025-09-07 15:29:04.303 T:1656 error <general>: : 2025-09-07 15:29:04.303 T:1656 error <general>: 'Id' 2025-09-07 15:29:04.303 T:1656 error <general>: Edited September 7, 2025 by LongMan 1
quickmic 1703 Posted September 8, 2025 Author Posted September 8, 2025 (edited) 6 hours ago, LongMan said: The initial sync is stopping before finishing. 2025-09-07 15:29:04.301 T:1656 error <general>: Traceback (most recent call last): 2025-09-07 15:29:04.301 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/database/library.py", line 785, in worker_library_add 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: if not self.update_Item(AddedLibraryProgress, ItemIndex, Item, SQLs, AddedLibrary[3], ProgressBar, False, ClassObject): 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/database/library.py", line 861, in update_Item 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: Ret = ClassObject.change(Item, IncrementalSync) 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/core/series.py", line 41, in change 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: common.set_MetaItems(Item, self.SQLs, self.GenreObject, self.EmbyServer, "Genre", "GenreItems", "", IncrementalSync, Item["LibraryId"]) 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/core/common.py", line 1259, in set_MetaItems 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: WorkerObject.change(SubItem, IncrementalSync) 2025-09-07 15:29:04.302 T:1656 error <general>: 2025-09-07 15:29:04.302 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/core/genre.py", line 14, in change 2025-09-07 15:29:04.303 T:1656 error <general>: 2025-09-07 15:29:04.303 T:1656 error <general>: if not common.load_ExistingItem(Item, self.EmbyServer, self.SQLs["emby"], "Genre"): 2025-09-07 15:29:04.303 T:1656 error <general>: 2025-09-07 15:29:04.303 T:1656 error <general>: File "/storage/.kodi/addons/plugin.service.emby-next-gen/core/common.py", line 42, in load_ExistingItem 2025-09-07 15:29:04.303 T:1656 error <general>: 2025-09-07 15:29:04.303 T:1656 error <general>: ExistingItem = EmbyDB.get_item_by_id(Item['Id'], EmbyType) 2025-09-07 15:29:04.303 T:1656 error <general>: 2025-09-07 15:29:04.303 T:1656 error <general>: KeyError 2025-09-07 15:29:04.303 T:1656 error <general>: : 2025-09-07 15:29:04.303 T:1656 error <general>: 'Id' 2025-09-07 15:29:04.303 T:1656 error <general>: I can intercept this issue, but the crash report tells me there is an genre (Emby) item without an Id. Never seen this before, sounds very odd. Do you know what (Emby content) synced at this moment. I assume it was a realtime sync, so some content has changed on the server. Edited September 8, 2025 by quickmic
quickmic 1703 Posted September 8, 2025 Author Posted September 8, 2025 New PUBLIC TESTING version available 12.3.1: Delta changelog 12.3.0 -> 12.3.1 fix sync issue when Item has no Id
LongMan 112 Posted September 8, 2025 Posted September 8, 2025 18 hours ago, quickmic said: Do you know what (Emby content) synced at this moment. I assume it was a realtime sync, so some content has changed on the server. The item that was showing as stuck was 'Who Needs Enemies" If you still have my database you can check.
LongMan 112 Posted September 9, 2025 Posted September 9, 2025 (edited) <rule field="disambiguation" operator="is">EmbyLibraryId-xxx529</rule> Edited September 9, 2025 by LongMan
LongMan 112 Posted September 9, 2025 Posted September 9, 2025 On 9/7/2025 at 11:40 AM, quickmic said: If you are interested, you can check the nodes the plugin generates. Instead of tags they use other parameters/database columns for "tagging". <rule field="disambiguation" operator="is">EmbyLibraryId-xxx529</rule> Is this what you were refering to?
quickmic 1703 Posted September 9, 2025 Author Posted September 9, 2025 4 hours ago, LongMan said: <rule field="disambiguation" operator="is">EmbyLibraryId-xxx529</rule> Is this what you were refering to? exactly, that's one for Artists items. Albums and Songs uses different fields as "tags".
Andy2k 75 Posted September 10, 2025 Posted September 10, 2025 (edited) On 9/7/2025 at 9:29 PM, Andy2k said: Hi Quickmic, i have another bug on my clients, but im not sure if it is a client or a server problem. E4K Versions are 12.2.1 and 12.3.0. Since i updated my (beta) server from 4.9.1.22 to 4.9.1.23 (and above) i lost on most of my clients the Cast Info on the TV-Show information window. Usualy it shows like this (with stock skin): Now most clients shows only a banner instead of the cast... On 9/7/2025 at 9:29 PM, 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.... Edited September 10, 2025 by Andy2k 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