android/uamp

Use URIs for artwork

Open

#235 opened on Jul 12, 2018

View on GitHub
 (3 comments) (7 reactions) (1 assignee)Kotlin (3,759 forks)batch import
feature requesthelp wanted

Repository metrics

Stars
 (13,191 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Currently UAMP stuffs Bitmaps into the MediaMetadataCompat objects, but this makes the object use a lot more memory, and forces the use of low resolution images (which are then poorly rendered on large surfaces, such as the background of the lock screen).

The app should use local URIs that point to a ContentProvider and use METADATA_KEY_ALBUM_ART_URI and METADATA_KEY_ART_URI to provide that for use by other components.

Contributor guide