android/uamp

Use URIs for artwork

Aperta

#235 aperta il 12 lug 2018

 (3 commenti) (7 reazioni) (1 assegnatario)Kotlin (3759 fork)batch import
feature requesthelp wanted

Metriche repository

Star
 (13.191 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor