joaompfp 1 Posted October 20, 2019 Posted October 20, 2019 Hello, Weird issue: if I use Embycon, Kodi sees and plays my libraries without issue, but when I choose sync through Emby Add-on, nothing happens, empty library! Already triwd setting up through add-on and direct (native), running out of ideas on what I may be doing wrong. Log file: https://paste.kodi.tv/runasipeke
Luke 38850 Posted October 20, 2019 Posted October 20, 2019 Hi, what versions of the addon and emby server? can you attach the emby server log as well? thanks.
joaompfp 1 Posted October 21, 2019 Author Posted October 21, 2019 Oh, sorry about that, should have been more specific. Latest (stable) Emby server: 4.2.1.0 Latest (stable) add-on: 4.1.14 EmbyCon 1.9.38 works as expected. Emby Server log: https://pastebin.com/x352D0fE
joaompfp 1 Posted October 21, 2019 Author Posted October 21, 2019 Oh, and I should add that I have no other media getting pulled into Kodi, i.e. I'm using it purely as a client for emby-server. I thought maybe the problem was that since there was no Kodi library created, the add-on would not sync to an inexisting database, so I added a local dir to Kodi to populate a Movies DB. Even then Emby and Kodi won't sync.
Solution mammo0 1 Posted October 21, 2019 Solution Posted October 21, 2019 (edited) Hello joaompfp, I had the same problem a few weeks ago on one of my devices. On GitHub I opened an issue that describes this issue: https://github.com/MediaBrowser/plugin.video.emby/issues/308 Good News: Meanwhile I also discovered a simple workaround for this problem. I described it in detail in the first comment on the above GitHub page. Hope that helps you Edited October 21, 2019 by mammo0 1
Luke 38850 Posted October 21, 2019 Posted October 21, 2019 So looks like a client side update is needed to handle 204 responses?
mammo0 1 Posted October 21, 2019 Posted October 21, 2019 So looks like a client side update is needed to handle 204 responses? I think so. But I don't really have an idea why this error is happening at all. It seems like a bug in the Python interpreter.
joaompfp 1 Posted October 21, 2019 Author Posted October 21, 2019 Bullseye mammo0, your patch to http.py did the trick. I applied it, reset Kodi and Bam! The libraries are syncing now. Thank you! 1
mammo0 1 Posted October 21, 2019 Posted October 21, 2019 Bullseye mammo0, your patch to http.py did the trick. I applied it, reset Kodi and Bam! The libraries are syncing now. Thank you! I'm glad I could help you
joaompfp 1 Posted October 22, 2019 Author Posted October 22, 2019 The affected file plugin.video.emby/libraries/emby/core/http.py Belongs to the Emby add-on, so I'd say to the team that maintains it?
mammo0 1 Posted October 22, 2019 Posted October 22, 2019 The affected file plugin.video.emby/libraries/emby/core/http.py Belongs to the Emby add-on, so I'd say to the team that maintains it? I would also say so... But that patch was just a quick workaround. I didn't analyzed the whole Kodi plugin. Maybe there are also downsides of this patch. Or maybe a better approach. But this has to be decided by the plugin maintainers.
TeamB 2393 Posted October 22, 2019 Posted October 22, 2019 Congratulations you just got promoted, you are now a add-on contributor, submit a pull request
mammo0 1 Posted October 23, 2019 Posted October 23, 2019 Congratulations you just got promoted, you are now a add-on contributor, submit a pull request Well... Thanks Maybe I have some free time on the weekend to create and submit the pull request.
Recommended Posts