toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Nope, still nothing. Just to be on the safe side, tried https://42.lw.itsby.design/, https://42.lw.itsby.design/toomanynights/ and https://42.lw.itsby.design/toomanynights/emby/ (in that order). Now it returns me to the "Select main server" screen real quick (before there was a delay). Nothing else seems to be changed. kodi.log
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 1 minute ago, toomanynights said: Nope, still nothing. Just to be on the safe side, tried https://42.lw.itsby.design/, https://42.lw.itsby.design/toomanynights/ and https://42.lw.itsby.design/toomanynights/emby/ (in that order). Now it returns me to the "Select main server" screen real quick (before there was a delay). Nothing else seems to be changed. kodi.log 197.56 kB · 0 downloads ok, I run a test, hold on.
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 Ok, I think I know the issue. I'll fix it... 1
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 (edited) Temporary fixed version, might have side effects. Not sure if the websocket connection (realtime updates) works. I'll add a permanent fix in next beta version. Obviously, I could only test till the username/password was asked. "https://42.lw.itsby.design/toomanynights/" 443 plugin.service.emby-next-gen-10.0.31 build 1.zip Edited June 14, 2024 by quickmic
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Now that was fast! Thanks! Let me try this now... 1
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 Just out of curiosity, did in 9.x the realtime (e.g. progress) updates work? I doubt that, but actually depends on your proxy settings.
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 What's the realtime updates? You mean when I for example added a new episode on emby, did it appear instantly on Kodi? It did not. Had to reboot every time.
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 (edited) 2 minutes ago, toomanynights said: What's the realtime updates? You mean when I for example added a new episode on emby, did it appear instantly on Kodi? It did not. Had to reboot every time. Yes, exactly that and that's what I expected. since 4.x the websocket connection (which is used for realtime updates) cannot work with your config. Can you please check, if they work in 10.X? Did you configure the proxy yourself? Edited June 14, 2024 by quickmic
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 No, it was pre-configured on my seedbox. Trying the updated version now... So far it let me authorize (hooray!), but whatever I try to play, it says "One or more items failed to play". (Not only for the problematic episode, but even for ones that were playing before) kodi.log
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 1 minute ago, toomanynights said: No, it was pre-configured on my seedbox. Trying the updated version now... So far it let me authorize (hooray!), but whatever I try to play, it says "One or more items failed to play". (Not only for the problematic episode, but even for ones that were playing before) kodi.log 604.04 kB · 0 downloads Ups, I think I know the reason. I forgot to modify the playback redirections.
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 Just asking, would it be possible to assign me a test account on your server for better debugging?
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 btw, the fix will take a while, I'll send you an update later in the afternoon...
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 10 minutes ago, quickmic said: Just asking, would it be possible to assign me a test account on your server for better debugging? For sure. I'll PM you with deets 1
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 (edited) If you have access to the proxy config, enable "websocket" redirections for "/emby/embywebsocket". Might also be labeled as ws/wss in your proxy config. ws is like http and wss is like https for websockets. You might want wss. Myself use an apache proxy, config looks like that: ProxyPass "/emby/embywebsocket" "wss://192.168.0.207:443/" ProxyPassReverse "/emby/embywebsocket/" "wss://192.168.0.207:443/" Edited June 14, 2024 by quickmic
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 I don't think I have that. It's not supposed to be in Emby config, is it?
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 1 minute ago, toomanynights said: I don't think I have that. It's not supposed to be in Emby config, is it? Emby supports websocket out of the box (no config needed there), but proxies do not redirect ws/wss request by default, only http/https. Websocket usually must be enabled. I don't know seedbox, but quite sure it is possible. btw, even if you manage enable websocket, i doubt it will work in 9.x. But you can test the connection already in the (broken) 10.x version (only the playback is affected by the bug). Just play something on Emby Server directly WebUI using the same account you used for connecting Kodi, and it should at least update the progress/marked as watched etc instantly.
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 (edited) Fix was easier than expected. Here is the new test version. You need to re-login to server! Playback should work now, but not everything is reviewed yet. On the plus side, realtime updates are working. Seems your proxy redirects the websocket communication. You can disable the account, thanks for that. Let me know if the subtitle download is still a problem. plugin.service.emby-next-gen-10.0.31 build 3.zip Edited June 14, 2024 by quickmic 1
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 OK, so I can sign in now, I can start playback. BUT... The subtitle is still not there On a bright side - the sync seems to be working instantly now! Well, partially... I marked 1x03 of "You, me and the apocalypse" as "unwatched" and version 10 grabbed the change instantly. When I returned it back to "watched" though, the change didn't sync. It was synced after reboot though. kodi.log
visproduction 250 Posted June 14, 2024 Posted June 14, 2024 It sounds like you have it solved. I looked up Kodi cache and this search found a lot of results. Perhaps Kodi cache is still contributing to your errors. https://duckduckgo.com/?q=Clear+Kodi+cache+subtitle+error&ia=web
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 I nuked the database after each update from @quickmicthough. Clearing cache, unfortunately, does not fix the issue. The subtitle is still not there.
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 2 minutes ago, toomanynights said: I nuked the database after each update from @quickmicthough. Clearing cache, unfortunately, does not fix the issue. The subtitle is still not there. ok, then please re-enable my account, and tell me which movie/episode includes the subtitle.
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 (edited) 11 minutes ago, visproduction said: It sounds like you have it solved. I looked up Kodi cache and this search found a lot of results. Perhaps Kodi cache is still contributing to your errors. https://duckduckgo.com/?q=Clear+Kodi+cache+subtitle+error&ia=web Yes, could be the Kodi cache, but I need to go in steps from here. External subtitles are actually downloaded from Emby server into a temp dir on the Kodi device. This must work flawless, before blaming Kodi. Edited June 14, 2024 by quickmic
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 26 minutes ago, quickmic said: ok, then please re-enable my account, and tell me which movie/episode includes the subtitle. Didn't disable it yet It's "Vexed", [EN] is embedded, I expect the external [RU]. There's only one episode.
quickmic 1593 Posted June 14, 2024 Posted June 14, 2024 (edited) Ok, it's a bug in the plugin. The subtitle index was wrongly synced. Fixed version attached, you need to resync the tvshow library. btw, this was never detected (and is probably an very old bug) cause the subtitle indexes are usually in a row like 1,2,3,4 yours are like, 1,2,3,101 and the 101 was the affected subtitle. I'll add the fixes in next beta, after a bit more reviewing the changes I made. plugin.service.emby-next-gen-10.0.31 build 4.zip Edited June 14, 2024 by quickmic
toomanynights 13 Posted June 14, 2024 Author Posted June 14, 2024 Right! Going ahead to check this. (Why was it 101? ) Also, bit of a lame question... Is there a repo or something I could use to install these betas on my TV?
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