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

Replace BlurHashDecoder with com.vanniktech.blurhash dependency #2069

Merged
merged 2 commits into from
Sep 17, 2022

Conversation

nielsvanvelzen
Copy link
Member

This is a small PR to replace the BlurHashDecoder with a library that works roughly the same. This means we don't need to maintain that bit of code ourselves. Also implemented the onLowMemory and onTrimMemory functions for Glide and BlurHash to improve performance on slower/older devices.

Changes

  • Replace BlurHashDecoder with com.vanniktech.blurhash dependency
  • Clear BlurHash and Glide caches on low memory

Issues

@nielsvanvelzen nielsvanvelzen added backportable Change may be backported to a point release (remove label once cherrypicked) refactor Improvements to code realiability, readability and quality labels Sep 17, 2022
@nielsvanvelzen nielsvanvelzen added this to the v0.15.0 milestone Sep 17, 2022
@nielsvanvelzen nielsvanvelzen merged commit 08e239a into jellyfin:master Sep 17, 2022
@nielsvanvelzen nielsvanvelzen deleted the blurhash-lib branch September 17, 2022 14:28
@nielsvanvelzen nielsvanvelzen removed the backportable Change may be backported to a point release (remove label once cherrypicked) label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improvements to code realiability, readability and quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants