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

Use the ImageCache to decorate tracks #122

Merged
merged 1 commit into from
Jan 13, 2020
Merged

Use the ImageCache to decorate tracks #122

merged 1 commit into from
Jan 13, 2020

Conversation

whomwah
Copy link
Member

@whomwah whomwah commented Jan 9, 2020

Currently due to the fact Mopidy does not provide album art with track information and you have to make a separate call to get images, there's some complex code flow that does this in both the front end and back end. This involves lots of message passing and redux use.

This PR removes all that and caches all images in the backend and then decorates any track data with this information before it gets broadcast.

This means a lot less network traffic and a much smoother UI

TODO

  • All the spec init

@whomwah whomwah merged commit d68470c into master Jan 13, 2020
@whomwah whomwah deleted the jb121 branch January 13, 2020 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant