Jump to content

Emby Libraries not syncing to Kodi


joaompfp
 Share

Go to solution Solved by mammo0,

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • Solution

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...