split_splat 3 Posted June 5, 2022 Share Posted June 5, 2022 Hello, maybe I am doing something wrong here but I am out of ideas on how to fix my problem. I have marked files on the Emby Server as "Played" but this does not sync to Kodi. Under Unwatched Movies i see all my movies, not just the ones I have not seen. I am a fairly new user so this has never worked for me. I am running Kodi 19.3, Emby next gen 6.2.15, and Emby Server 4.7.2.0 So far I hvae tried the following: rebuilding library updating library messing around with filters Any help would be appreciated. Cheers Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 5, 2022 Share Posted June 5, 2022 (edited) 14 hours ago, split_splat said: Under Unwatched Movies i see all my movies, not just the ones I have not seen. What Kodi node are you using for "Unwatched Movies"? Are you using stock Kodi skin or a custom Node (with custom skin)? Edited June 5, 2022 by quickmic Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 6, 2022 Author Share Posted June 6, 2022 10 hours ago, quickmic said: What Kodi node are you using for "Unwatched Movies"? Are you using stock Kodi skin or a custom Node (with custom skin)? I am using Estuary Mod V2 but had the same issue with the Kodi stock skin. I tried it with the stock node and the Emby:Movie Node. Even when i check the Emby Folder "Unwatched" there are all movies. If I use the filter playstate "Unplayed in the Web View of the Emby Server it works though. Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 6, 2022 Share Posted June 6, 2022 Please try 6.2.17 (beta) and let me know if it works there. Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 6, 2022 Author Share Posted June 6, 2022 It does not. 1 Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 6, 2022 Share Posted June 6, 2022 (edited) Try to reset the nodes: delete ./kodi/userdata/library/* (2 folders -> music and video) ..and restart kodi twice. If this doesn't help, I've to check what's the issue Edited June 6, 2022 by quickmic Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 6, 2022 Author Share Posted June 6, 2022 Didn't help either. I did notice, that a few movies I have watched are marked as "watched" but this does not match up to the one's I have marked as watched on the server library. Maybe there are two databases? Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 6, 2022 Share Posted June 6, 2022 You mentioned you also tried a complete (plugin database reset). It's also out of sync after performing a reset? Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 6, 2022 Author Share Posted June 6, 2022 Yes I tried it again just now to be sure but unfortunately the issue persits. Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 6, 2022 Share Posted June 6, 2022 ok, very strange. I'll review it but will take a while. Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 6, 2022 Author Share Posted June 6, 2022 Thank you for your support! 1 Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 6, 2022 Share Posted June 6, 2022 Could you also try latest 7.x version please. I could imagine what's the problem, and it's already fixed in 7.x. If I'm right, I'll backport the fix. Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 6, 2022 Author Share Posted June 6, 2022 It is still the same Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 6, 2022 Share Posted June 6, 2022 Do you have a test case for me? Just marking a movie on Emby server as played/unplayed seems not doing the job. This syncs instantly. Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 6, 2022 Author Share Posted June 6, 2022 What do you mean by Test Case? On Emby Server i have 465 Movies; 52 of those are unwatched. The UI in kodi tells me i have 465 Movies and 445 unwatched. The 20 watched ones are mostly correct, as in, they are the ones i have recently seen. That is when i go via the stock node. The Emby:Movies node is exactly like that. Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 6, 2022 Share Posted June 6, 2022 (edited) 17 minutes ago, split_splat said: What do you mean by Test Case? Instructions how to trigger the issue. I can only test on my setup. 273 watched and 7653 unwatched. Impossible to check if this correct, so I need instructions. Like I said. Tagging a movie on Emby server as played/unplayed syncs correct. Kodi browsing list correctly tagged, Unwatched (node) widget updates correctly (removes movie from unwatched after tagged as played on Emby server). So what is incorrect. Only the initial sync, or updates after initial sync. I need details and instructions how to reproduce the issue. Edited June 6, 2022 by quickmic Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 6, 2022 Author Share Posted June 6, 2022 The initial sync is incorrect and there are no updates after initial sync - i just tried it both ways. Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 6, 2022 Share Posted June 6, 2022 Just now, split_splat said: The initial sync is incorrect and there are no updates after initial sync - i just tried it both ways. ok, please tag/untag a movie as watched on Emby while Kodi is running and send me after that the kodi log. There must be something seriously wrong. btw, do you see a message -> Websocket offline Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 6, 2022 Author Share Posted June 6, 2022 The logfile https://paste.kodi.tv/ibutadujar Quote btw, do you see a message -> Websocket offline Yes i do - i have never seen this before tough. Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 6, 2022 Share Posted June 6, 2022 2 minutes ago, split_splat said: The logfile https://paste.kodi.tv/ibutadujar Yes i do - i have never seen this before tough. Well the startup sync seems to work: 2022-06-06 21:11:19.723 T:18894 INFO <general>: EMBY.core.tvshows: UPDATE episode [82/82/1225/6586] 38744: Offset 2022-06-06 21:11:19.817 T:18894 INFO <general>: EMBY.core.movies: UPDATE movie [1/135/135] 38644: Emergency 2022-06-06 21:11:20.025 T:18894 INFO <general>: EMBY.core.movies: UPDATE movie [1/159/159] 38709: Fresh 2022-06-06 21:11:20.157 T:18894 INFO <general>: EMBY.core.movies: UPDATE movie [1/186/186] 38770: Great Freedom However, you have problems with the websocket connection. 2022-06-06 21:12:00.776 T:18895 INFO <general>: Emby.hooks.websocket: Close wesocket connection 95d8d52f712d4105b6da05f4051091e2 2022-06-06 21:12:00.800 T:18895 INFO <general>: Emby.hooks.websocket: --->[ websocket reconnecting ] 2022-06-06 21:12:05.802 T:18895 INFO <general>: Emby.hooks.websocket: [ websocket reconnecting failed ] 2022-06-06 21:12:05.802 T:18895 INFO <general>: Emby.hooks.websocket: Close wesocket connection 95d8d52f712d4105b6da05f4051091e2 2022-06-06 21:12:05.803 T:18895 INFO <general>: Emby.hooks.websocket: --->[ websocket reconnecting ] 2022-06-06 21:12:09.047 T:18897 INFO <general>: Emby.hooks.websocket: [ websocket reconnecting in progress ] 2022-06-06 21:12:10.819 T:18895 INFO <general>: Emby.hooks.websocket: ---<[ websocket reconnecting ] and even more problems (at this point this issues should not appear), seem plugins webservice/webserver is offline: 2022-06-06 21:12:00.886 T:18875 ERROR <general>: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://127.0.0.1:57342/p-95d8d52f712d4105b6da05f4051091e2-29514-0-p-d0382e0467a9380b9d00b6d620916511 2022-06-06 21:12:00.893 T:18822 ERROR <general>: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://127.0.0.1:57342/p-95d8d52f712d4105b6da05f4051091e2-29295-0-p-2bab32fa70f3c39b34f499477115fba0 2022-06-06 21:12:00.900 T:18875 ERROR <general>: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://127.0.0.1:57342/p-95d8d52f712d4105b6da05f4051091e2-29690-0-p-9448e63836c1c24b3b91469b61d1890f There are several issues. I'm already surprised that the playback in addon mode is working. (or do you use native mode)? Is your Emby server in the lan? Do you use a Reverse Proxy? Please perform a test on a PC/Mac whatever. I assume your Bravia TV (were Kodi is installed) causes major issues. Seems even ports are blocked. Did you try to power off/unplug the TV and restart it? At least this should fix the webservices issues (if port not blocked by OS). Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 7, 2022 Author Share Posted June 7, 2022 20 hours ago, quickmic said: I'm already surprised that the playback in addon mode is working. (or do you use native mode)? I am using addon mode. 20 hours ago, quickmic said: Is your Emby server in the lan? Do you use a Reverse Proxy? Yes it is in the lan. I am not sure what a reverse Proxy is. I didn't set one up intentionally. 20 hours ago, quickmic said: Please perform a test on a PC/Mac whatever. I tried it on the same pc that the server is running on and i encounter the same issue. 20 hours ago, quickmic said: Did you try to power off/unplug the TV and restart it? At least this should fix the webservices issues (if port not blocked by OS). Unplugging seems to have worked Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 7, 2022 Share Posted June 7, 2022 Try to send a message from Emby server to Kodi while playing content. This is a websocket test. If you don't receive the message on Kodi, the realtime sync/websocket communication is broken. However, a websocket issue does not explain why the init sync is not correct. Use the PC -> much easier to test. Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 7, 2022 Author Share Posted June 7, 2022 1 hour ago, quickmic said: Try to send a message from Emby server to Kodi while playing content. That works. Link to comment Share on other sites More sharing options...
quickmic 1136 Posted June 8, 2022 Share Posted June 8, 2022 10 hours ago, split_splat said: That works. Ok, this is a good, means websocket is working. I'll review the init sync, but quite hard without a dedicated pattern. Link to comment Share on other sites More sharing options...
split_splat 3 Posted June 15, 2022 Author Share Posted June 15, 2022 Sooooo as it turns out I am an idiot. I was logging in with the wrong user on my device.... Anyway... Thank you for your assistance. I learned a lot. 1 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