Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebSocket API rewrite #352

Merged
merged 2 commits into from
Mar 26, 2022
Merged

WebSocket API rewrite #352

merged 2 commits into from
Mar 26, 2022

Conversation

nielsvanvelzen
Copy link
Member

@nielsvanvelzen nielsvanvelzen commented Jan 21, 2022

Still working on it but opening the pull request for visibility.

To do:

  • Finish documentation
  • Automatic connect/disconnect based on listener amount (no listeners->no connection)
  • Smart reconnection (retry a few times before giving up)
  • Factory in JellyfinOptions to allow different implementation for connections
  • Auto-(un)subscribe on listener/connection changes
  • Test
  • Implement in ATV app (Migrate WebSockets to new SocketApi from SDK jellyfin-androidtv#1456)
  • Bug: adding new listeners causes unnecessary reconnects

@nielsvanvelzen
Copy link
Member Author

I'll be fixing the two remaining todo items in separate pull requests so we can get this merged first.

@nielsvanvelzen nielsvanvelzen marked this pull request as ready for review March 18, 2022 20:20
Copy link
Member

@Maxr1998 Maxr1998 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments/questions/suggestions and then it's ready to merge I think 👍

@Maxr1998 Maxr1998 merged commit 5dd9e24 into jellyfin:master Mar 26, 2022
@nielsvanvelzen nielsvanvelzen deleted the ws-2 branch March 26, 2022 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants