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

Optmise trackChanged events #80

Merged
merged 1 commit into from
Nov 14, 2019
Merged

Optmise trackChanged events #80

merged 1 commit into from
Nov 14, 2019

Conversation

whomwah
Copy link
Member

@whomwah whomwah commented Nov 14, 2019

Currently any core tracklistChanged events get sent to the client and it's up to the client to re-ask for the updated.trackList. This PR optimises this by intercepting the tracklistChanged event in the API and fetching the updated tracklist and then passing it on to all the connected clients as a getTracks event which the clients can handle.

@whomwah whomwah self-assigned this Nov 14, 2019
@whomwah whomwah merged commit 68d7213 into master Nov 14, 2019
@whomwah whomwah deleted the track_changed_optimize branch November 14, 2019 10:16
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.

1 participant