Jump to content

Emby Libraries not syncing to Kodi


Go to solution Solved by mammo0,

Recommended Posts

Posted

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

Posted

Hi, what versions of the addon and emby server? can you attach the emby server log as well? thanks.

Posted

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

Posted

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
Posted (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 by mammo0
  • Like 1
Posted

So looks like a client side update is needed to handle 204 responses?

Posted

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.

Posted

Bullseye mammo0, your patch to http.py did the trick.

 

I applied it, reset Kodi and Bam! The libraries are syncing now.

 

Thank you!

  • Like 1
Posted

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 :)

Posted

Who should that patch be submitted to?

Posted

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?

Posted

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.

Posted

Congratulations you just got promoted, you are now a add-on contributor, submit a pull request :)

Posted

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.

Guest
This topic is now closed to further replies.
×
×
  • Create New...