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

Refactor ConnectionManager intialization #468

Merged

Conversation

thornbill
Copy link
Member

@thornbill thornbill commented Apr 30, 2020

Changes

  • Adds a ConnectionManagerRepository singleton to handle initialization of the ConnectionManager
  • Adds SerializerRepository singleton to handle the GsonJsonSerializer
  • Moves initialization of PlaybackManager to TvApp
  • Adds constants for common extras values

Issues
N/A

@thornbill thornbill added this to In progress in v0.12.0 Apr 30, 2020
@codeclimate
Copy link

codeclimate bot commented Apr 30, 2020

Code Climate has analyzed commit 4bad5ed and detected 18 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 18

View more on Code Climate.

@thornbill thornbill marked this pull request as ready for review April 30, 2020 21:22
@thornbill
Copy link
Member Author

I think this is ready for review now. I will address the logging changes in a separate PR.

@nielsvanvelzen nielsvanvelzen self-requested a review May 1, 2020 07:42
Copy link
Member

@nielsvanvelzen nielsvanvelzen left a comment

Choose a reason for hiding this comment

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

Looks good overall, one comment about the extra's changes.

I don't really like the singletons but those can (and will) be solved when we implement dependency injection.

@thornbill thornbill mentioned this pull request May 2, 2020
@nielsvanvelzen nielsvanvelzen merged commit 15887a6 into jellyfin:master May 2, 2020
v0.12.0 automation moved this from In progress to Done May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
v0.12.0
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants