Pejamas 45 Posted July 23, 2023 Share Posted July 23, 2023 I reverted back to 8.2.8 and everything updates as per usual. Either a repair or manual update was the only way to get artwork to refresh on 8.2.9. 1 Link to comment Share on other sites More sharing options...
Andy2k 60 Posted July 23, 2023 Share Posted July 23, 2023 Hi, some new(?) issue syncing watched status / progress between kodi / E4K / Emby Server. Kodi 20.2 on CoreElec + Windows, E4K 8.2.9, 8.2.8 and im almost sure some more older versions back. After playing a file/ files from outside the library / unsynced content from a mounted or external drive E4K fails zu sync watched progress on files within the library. The correct status will shown for 1-3 sec, then it reset back to the state before the playback. The watched progress on emy-server will also not updated. Only a Kodi restart "reset" this "lock". I could trigger this on different clients. 1. play some .mkv from a mounted or external drive. 2. play a movie or tv-show from the library, ff or skipping to some time works also, and stop it. 3. watched progress will reset immediately. Log attached. kodi.log Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 23, 2023 Author Share Posted July 23, 2023 36 minutes ago, Andy2k said: Hi, some new(?) issue syncing watched status / progress between kodi / E4K / Emby Server. Kodi 20.2 on CoreElec + Windows, E4K 8.2.9, 8.2.8 and im almost sure some more older versions back. After playing a file/ files from outside the library / unsynced content from a mounted or external drive E4K fails zu sync watched progress on files within the library. The correct status will shown for 1-3 sec, then it reset back to the state before the playback. The watched progress on emy-server will also not updated. Only a Kodi restart "reset" this "lock". I could trigger this on different clients. 1. play some .mkv from a mounted or external drive. 2. play a movie or tv-show from the library, ff or skipping to some time works also, and stop it. 3. watched progress will reset immediately. Log attached. kodi.log 186.87 kB · 0 downloads You mean playing content via dynamic nodes? Link to comment Share on other sites More sharing options...
Andy2k 60 Posted July 23, 2023 Share Posted July 23, 2023 Not sure if this is a dynamic node;) Just a added media source (-folder) showing under the video section of kodi without content type: <source> <name>TMP Ordner</name> <path pathversion="1">nfs://192.168.0.40/volume1/video/TMP Ordner/</path> <allowsharing>true</allowsharing> </source> Im almost sure updating watched status for library files worked in the past after playing a file from such a media source, but i cant say if it was with an older 8.x.x or a 7.x.x version of E4Kng. Link to comment Share on other sites More sharing options...
Andy2k 60 Posted July 23, 2023 Share Posted July 23, 2023 (edited) btw, i saw in the kodi log, e4k try to update the progress status for these files, but fails as expected cause the file is not in the library. i guess ek4 lockup after this. Maybe there is a way to exclude these souces from E4K processing.... Edited July 23, 2023 by Andy2k Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 23, 2023 Author Share Posted July 23, 2023 (edited) 1 hour ago, Andy2k said: Not sure if this is a dynamic node;) Just a added media source (-folder) showing under the video section of kodi without content type: <source> <name>TMP Ordner</name> <path pathversion="1">nfs://192.168.0.40/volume1/video/TMP Ordner/</path> <allowsharing>true</allowsharing> </source> Im almost sure updating watched status for library files worked in the past after playing a file from such a media source, but i cant say if it was with an older 8.x.x or a 7.x.x version of E4Kng. Not sure what you expect from external files. This is native Kodi content. Not synced content and not dynamic (nodes) content. Standalone Kodi stuff. E4K should not process this files. If it does, it's an issue but sounds you want to sync progress to Emby server? Edited July 23, 2023 by quickmic Link to comment Share on other sites More sharing options...
Andy2k 60 Posted July 23, 2023 Share Posted July 23, 2023 I only expect to play these files;) Just playing before i process these files with TMM and add them to my libary.... E4K try to process the watched progress and it seems this lockup some sync stuff in E4K because these files are not exists in the synced stuff. In German: Im Grunde sind das Filme / Episoden die ich mir ansehe bevor ich die Zeit habe diese weiter zu bearbeiten, oder neue Serien bei denen ich mir nicht sicher bin ob ich diese überhaupt in die Bibliothek aufnehme...der playback status wird dann lokal auf dem einen client gespeichert, mehr will ich gar nicht;). Aber seit einiger Zeit scheint scheint das abspielen dieser Files die Update Routine von E4K "abzuschießen". Das ich zwischen standalone und emby stuff wechsele kommt nicht sehr häufig vor, und durch die ganze Beta Server Problematik hatte ich diesen einen client den ich dafür nutze auch länger nicht aktualisiert. Da ich das jetzt über die letzten Wochen immer mal wieder gesehen habe, habe ich das auf nem anderen client versucht nachzustellen und eben hier geschrieben;) Dieses "setup" nutze ich so schon ewig, ich kann aber jetzt nicht sagen ob das seit 8.x.x auftrat oder schon in 7.x.x der Fall war... Lt. log sieht es aus, als ob E4K diese Files bearbeitet wie jedes andere innerhalb der Bibliothek(en), und da es diese Files auf dem Server nicht gibt, hängt sich die Routine bis zum Neustart von Kodi auf. Im Grunde sollte man dann Pfade die in sources.xml zusätzlich eingetragen sind von der Bearbeitung ausschließen, aber vielleicht gibt es auch ne andere, bessere Lösung;) Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 23, 2023 Author Share Posted July 23, 2023 (edited) 20 minutes ago, Andy2k said: Aber seit einiger Zeit scheint scheint das abspielen dieser Files die Update Routine von E4K "abzuschießen". Ja, ich sehe einen Fehler im Kodi.log. Ich werde fixen ich dachte aber, dass bei deinem lokalen Content das progress Update nicht mehr stimmt. Der wird komplett intern von Kodi gehandelt, da muesste schon etwas komplett Komisches abgehen, dass der angegriffen wird. Kannst du bitte bestaetigen, dass der Progress vom lokalen Content korrekt ist? Weiters sehe ich naemlich im Log, dass bei "The_Equalizer_2__2018__h264_1080p_DTS_6ch_Blu_ray.mkv" der Progress resettet wurde. Das ist ein Emby server content, und scheint gewollt zu sein. 2023-07-23 14:01:26.481 T:48120 info <general>: VideoPlayer::OpenFile: http://127.0.0.1:57342/movies/a04048e4aad64b4eb35047ef5c588113/285047/m-287478-ebbd5cbf526748d2478eacd078055751-1127-1127-1-1-0-0-0-0-h264-7365032-dts-1536000--The_Equalizer_2__2018__h264_1080p_DTS_6ch_Blu_ray.mkv 2023-07-23 14:01:47.558 T:56536 info <general>: EMBY.core.movies: USERDATA [1127 / 1127] 287478 2023-07-23 14:01:46.997 T:57048 info <general>: EMBY.hooks.monitor: [ VideoLibrary_OnUpdate reset progress 287478 ] Darum geht's also nicht? Edited July 23, 2023 by quickmic Link to comment Share on other sites More sharing options...
Andy2k 60 Posted July 23, 2023 Share Posted July 23, 2023 Doch darum gehts, das ist nämlich das Problem....das war einer der Testfilme....der Progress ist für nen Moment ok und wird dann resettet. Genau das sollte nicht passieren. Das passiert immer dann, nachdem lokaler Content abgespielt wird...diesen Film hatte ich für das Log angespielt und bis zur Mitte vorgeskippt. Kodi Neustart, Film anspielen und stoppen, dann klappts wieder mit dem Progress Update...starte ich einen Film oder Episode die schon einen gewissen Progress zB 15min hatte, wird auf diesen Wert resettet nachdem ich ein lokales File abgespielt habe...also immer auf den letzten Stand des Emby Servers. Aber eben immer nur dann wenn ein lokales File an- oder abgespielt wurde.... Beim lokalen Content ist der Progress immer ok, so wie er sein sollte... Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 23, 2023 Author Share Posted July 23, 2023 (edited) 7 minutes ago, Andy2k said: Doch darum gehts, das ist nämlich das Problem....das war einer der Testfilme....der Progress ist für nen Moment ok und wird dann resettet. Genau das sollte nicht passieren. Das passiert immer dann, nachdem lokaler Content abgespielt wird...diesen Film hatte ich für das Log angespielt und bis zur Mitte vorgeskippt. Kodi Neustart, Film anspielen und stoppen, dann klappts wieder mit dem Progress Update...starte ich einen Film oder Episode die schon einen gewissen Progress zB 15min hatte, wird auf diesen Wert resettet nachdem ich ein lokales File abgespielt habe...also immer auf den letzten Stand des Emby Servers. Aber eben immer nur dann wenn ein lokales File an- oder abgespielt wurde.... Beim lokalen Content ist der Progress immer ok, so wie er sein sollte... Ok, das muss ich genauer anschauen. Koennte ein Folgefehler von dem Crash beim lokalem Content sein. Testcase ist ist also: 1. Lokalen Content abspielen 2. Emby content abspielen -> Progress falsch/resettet. Edited July 23, 2023 by quickmic Link to comment Share on other sites More sharing options...
Andy2k 60 Posted July 23, 2023 Share Posted July 23, 2023 (edited) je genau.... Vielleicht sollte man lokalen content aus der Verarbeitung ausschließen.... Edited July 23, 2023 by Andy2k 1 Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 23, 2023 Author Share Posted July 23, 2023 (edited) 21 minutes ago, Andy2k said: Vielleicht sollte man lokalen content aus der Verarbeitung ausschließen.... I continue in English... Yes, it was designed that way, but there is a bug which causes the player module to crash in the e4k code when playing local content. This seems to have a side affect. The player no longer keeps track of played content. (Emby) progress updates depends on that information. -> Due to Kodi limitations, the content progress reset function works on a pattern. Kodi doesn't report this action in a direct manner (via API). Edited July 23, 2023 by quickmic 1 Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted July 24, 2023 Share Posted July 24, 2023 @quickmicAre you able to populate any other rating fields from Emby? The two ratings I'm thinking you can from Emby are the imdb=Emby community rating and tomatometerallcritics=Emby critic rating. That would get me 2 flags that I'm no longer getting using e4k and AZR skin. At least those are the only two I see in metadata. I think you are using the community rating for Kodi's default rating now, but I believe that is also the IMdb rating so it could be used for both the default Kodi and the IMdB ratings. Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 24, 2023 Author Share Posted July 24, 2023 (edited) 11 hours ago, quickmic said: Ok, das muss ich genauer anschauen. Koennte ein Folgefehler von dem Crash beim lokalem Content sein. Testcase ist ist also: 1. Lokalen Content abspielen 2. Emby content abspielen -> Progress falsch/resettet. I performed several tests and never triggered the issue. Without detailed instructions, I can only try to fix the issue based on your kodi.log. I cannot design a test case. I found the issue. You haven't synced the content to Kodi. You are playing just a "file". Edited July 24, 2023 by quickmic 1 Link to comment Share on other sites More sharing options...
Pejamas 45 Posted July 24, 2023 Share Posted July 24, 2023 1 hour ago, FrostByte said: @quickmicAre you able to populate any other rating fields from Emby? The two ratings I'm thinking you can from Emby are the imdb=Emby community rating and tomatometerallcritics=Emby critic rating. That would get me 2 flags that I'm no longer getting using e4k and AZR skin. At least those are the only two I see in metadata. I think you are using the community rating for Kodi's default rating now, but I believe that is also the IMdb rating so it could be used for both the default Kodi and the IMdB ratings. You can use tmdb helper +omdb api key to get all ratings. 1 Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 24, 2023 Author Share Posted July 24, 2023 23 hours ago, Pejamas said: Any one else having issues with 8.2.9 and artwork not updating? If i update posters in emby normally it would change in kodi nearly instantly. Now I need to repair library for the change to happen. This is actually a Emby server issue. I'll write a workaround: @Luke This query works: http://192.168.0.206:8096/Users/745311f44ca14121b45c38133e019e6d/Items?api_key=XXX&Recursive=True&ParentId=167&IncludeItemTypes=Episode,Movie,MusicVideo,Season,Series,Video&Ids=1987&Fields=Path,SpecialEpisodeNumbers,Genres,SortName,Studios,Writer,Taglines,LocalTrailerCount,Video3DFormat,OfficialRating,PremiereDate,ProductionYear,DateCreated,People,Overview,CommunityRating,CriticRating,ShortOverview,Tags,ProviderIds,ParentId,RemoteTrailers,MediaSources,PresentationUniqueKey,OriginalTitle,AlternateMediaSources,PartCount,SpecialFeatureCount,Chapters,UserDataPlayCount,UserDataLastPlayedDate,ProductionLocations,Status,MediaStreams&EnableTotalRecordCount=False&LocationTypes=FileSystem,Remote,Offline This one has an issue: http://192.168.0.206:8096/Users/745311f44ca14121b45c38133e019e6d/Items?api_key=XXX&Recursive=True&ParentId=167&IncludeItemTypes=Folder,Episode,Movie,Trailer,MusicVideo,BoxSet,MusicAlbum,MusicArtist,Season,Series,Audio,Video&Ids=1987&Fields=Path,SpecialEpisodeNumbers,Genres,SortName,Studios,Writer,Taglines,LocalTrailerCount,Video3DFormat,OfficialRating,PremiereDate,ProductionYear,DateCreated,People,Overview,CommunityRating,CriticRating,ShortOverview,Tags,ProviderIds,ParentId,RemoteTrailers,MediaSources,PresentationUniqueKey,OriginalTitle,AlternateMediaSources,PartCount,SpecialFeatureCount,Chapters,UserDataPlayCount,UserDataLastPlayedDate,ProductionLocations,Status,MediaStreams&EnableTotalRecordCount=False&LocationTypes=FileSystem,Remote,Offline The problem is related to IncludeItemTypes. Link to comment Share on other sites More sharing options...
Luke 37112 Posted July 24, 2023 Share Posted July 24, 2023 16 minutes ago, quickmic said: This is actually a Emby server issue. I'll write a workaround: @Luke This query works: http://192.168.0.206:8096/Users/745311f44ca14121b45c38133e019e6d/Items?api_key=XXX&Recursive=True&ParentId=167&IncludeItemTypes=Episode,Movie,MusicVideo,Season,Series,Video&Ids=1987&Fields=Path,SpecialEpisodeNumbers,Genres,SortName,Studios,Writer,Taglines,LocalTrailerCount,Video3DFormat,OfficialRating,PremiereDate,ProductionYear,DateCreated,People,Overview,CommunityRating,CriticRating,ShortOverview,Tags,ProviderIds,ParentId,RemoteTrailers,MediaSources,PresentationUniqueKey,OriginalTitle,AlternateMediaSources,PartCount,SpecialFeatureCount,Chapters,UserDataPlayCount,UserDataLastPlayedDate,ProductionLocations,Status,MediaStreams&EnableTotalRecordCount=False&LocationTypes=FileSystem,Remote,Offline This one has an issue: http://192.168.0.206:8096/Users/745311f44ca14121b45c38133e019e6d/Items?api_key=XXX&Recursive=True&ParentId=167&IncludeItemTypes=Folder,Episode,Movie,Trailer,MusicVideo,BoxSet,MusicAlbum,MusicArtist,Season,Series,Audio,Video&Ids=1987&Fields=Path,SpecialEpisodeNumbers,Genres,SortName,Studios,Writer,Taglines,LocalTrailerCount,Video3DFormat,OfficialRating,PremiereDate,ProductionYear,DateCreated,People,Overview,CommunityRating,CriticRating,ShortOverview,Tags,ProviderIds,ParentId,RemoteTrailers,MediaSources,PresentationUniqueKey,OriginalTitle,AlternateMediaSources,PartCount,SpecialFeatureCount,Chapters,UserDataPlayCount,UserDataLastPlayedDate,ProductionLocations,Status,MediaStreams&EnableTotalRecordCount=False&LocationTypes=FileSystem,Remote,Offline The problem is related to IncludeItemTypes. If you're specifying ids then you don't really need the type filter, right? Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 24, 2023 Author Share Posted July 24, 2023 4 minutes ago, Luke said: If you're specifying ids then you don't really need the type filter, right? That will be my workaround. -> remove IncludeItemTypes in this case In general, it should work with the IncludeItemTypes as well. Also I used the IncludeItemTypes info to define the (additional) field parameters. IncludeItemTypes=None must query all possible fields (for my usecase). The module was designed generic expecting Emby server could handle all sorts of IncludeItemTypes at once when filtered by parentid. Link to comment Share on other sites More sharing options...
Andy2k 60 Posted July 24, 2023 Share Posted July 24, 2023 2 hours ago, quickmic said: I performed several tests and never triggered the issue. Without detailed instructions, I can only try to fix the issue based on your kodi.log. I cannot design a test case. I found the issue. You haven't synced the content to Kodi. You are playing just a "file". Sorry, i thought i said Kodi is only used as a player to play a file, without syncing in this case. But great you found the issue:)) 1 Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 24, 2023 Author Share Posted July 24, 2023 New BETA version available 8.2.10: Delta changelog 8.2.9 -> 8.2.10 Widget refresh improvement fix progress updates, playing native (Kodi) files in combination of Emby content fix check artwork update -> https://emby.media/community/index.php?/topic/116208-embyforkodi-next-gen-8xx-support/&do=findComment&comment=1268202 fix minor sync issue 2 Link to comment Share on other sites More sharing options...
quickmic 1352 Posted July 24, 2023 Author Share Posted July 24, 2023 6 hours ago, FrostByte said: @quickmicAre you able to populate any other rating fields from Emby? The two ratings I'm thinking you can from Emby are the imdb=Emby community rating and tomatometerallcritics=Emby critic rating. That would get me 2 flags that I'm no longer getting using e4k and AZR skin. At least those are the only two I see in metadata. I think you are using the community rating for Kodi's default rating now, but I believe that is also the IMdb rating so it could be used for both the default Kodi and the IMdB ratings. I'll check what's possible. 1 Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted July 24, 2023 Share Posted July 24, 2023 1 hour ago, quickmic said: I'll check what's possible. I got TMdBHelper and OMDB key to work. It seems very slow (I'm on a hotspot in the middle of nowhere) and I'm not sure how long that plugin actually saves the information. One second it will be there and the next it's gone even though the rest of flags are present. Almost like it's refreshing the information again. I suppose that could be a good thing? Unless Emby is already current. I appreciate it. Maybe the two could work together, not even sure now. Option possibly. I can live with TMdbHelper I guess. Anyhow, got 8.2.10 now. Link to comment Share on other sites More sharing options...
FrostByte 5052 Posted July 24, 2023 Share Posted July 24, 2023 IMDB position (top 250) also if Emby saves that. That one TMdBhelper doesn't appear to get. Link to comment Share on other sites More sharing options...
Chalklands 26 Posted July 24, 2023 Share Posted July 24, 2023 (edited) Excuse my ignorance, but why does Emby wipe my Kodi database every time the emby server is updated with a new version? Apologies for the question, but I just don't understand why. Edited July 24, 2023 by Chalklands Link to comment Share on other sites More sharing options...
Luke 37112 Posted July 24, 2023 Share Posted July 24, 2023 16 minutes ago, Chalklands said: Excuse my ignorance, but why does Emby wipe my Kodi database every time the emby server is updated with a new version? Apologies for the question, but I just don't understand why. Hi, this is not normal. Can we please look at an example? Thanks. Link to comment Share on other sites More sharing options...
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