Montellese / mediaimporter.emby

Media importer add-on for Kodi to import items from Emby servers into Kodi
GNU General Public License v2.0
12 stars 3 forks source link

Real Time Events from Server not reported in Kodi #6

Closed Long-Man closed 4 years ago

Long-Man commented 4 years ago

Real time events (Web Socket Events) like marking something watched on the server did not show up in Kodi until I did a re-sync.

Montellese commented 4 years ago

This was working once but I haven't explicitly tested it in a while. Do you see a message in the logs that Kodi succesfully connected to your Emby server?

There might also still be issues with the Python 3 migration. I haven't tested the websocket part yet...

Long-Man commented 4 years ago

The web socket error was reported in the Emby forum. I tested it and confirmed it. I played a cople of movies on both servers and marked one as watched on the Jellyfin server. None were reflected in Kodi. I am not sure if you need the server logs too.

https://drive.google.com/file/d/1IDb3g6WFSpW4hbX-ZDskFhaxe6AnR5rO/view?usp=sharing

Montellese commented 4 years ago

I can confirm that no websocket messages are received by the add-on. I'll have to figure out where this was broken. We had to make some changes to the websocket client for the Python 3 migration...

Montellese commented 4 years ago

I just tested it with the latest py3 branch (with the external script.module.websocket_client and it's working fine again.

Long-Man commented 4 years ago

I can confirm this. Kodi is updating with play status live when online.

Is the plugin pulling script.module.websocket_client from the repo for you, i had to install it manually

Montellese commented 4 years ago

TBH I'm not yet familiar with the custom repository stuff. One issue certainly is that the versions of the mediaimporter add-ons in the repository are still Python 2 only and don't require the external script.module.websocket_client yet.

I'll soon merge the py3 branch into master and then we can update the repository and see if it works properly.

Unfortunately I've fallen sick so I'm only on my phone for now...

Long-Man commented 4 years ago

Sorry to hear that. Take care of yourself. That's the most important thing. The other things can be sorted afterwards.

Montellese commented 4 years ago

This should be fixed in master now since I merged the py3 branch.