diff --git a/CHANGELOG.md b/CHANGELOG.md index 609c11d7a..d9a774917 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ be parsed as images - Fixed issue where short names starting with an article would not be correctly sorted (ex. "the 1") - Fixed incorrect item arrangement on landscape - Fixed disappearing dividers in search view +- Reduced likelihood that images (eg. album covers) would not update when the music library changed #### Dev/Meta - Switched to androidx media3 (New Home of ExoPlayer) for backing player components diff --git a/app/src/main/java/org/oxycblt/auxio/image/extractor/Components.kt b/app/src/main/java/org/oxycblt/auxio/image/extractor/Components.kt index 3f0ecfb38..12ef10a50 100644 --- a/app/src/main/java/org/oxycblt/auxio/image/extractor/Components.kt +++ b/app/src/main/java/org/oxycblt/auxio/image/extractor/Components.kt @@ -36,12 +36,11 @@ import org.oxycblt.auxio.list.Sort import org.oxycblt.auxio.music.* class SongKeyer @Inject constructor() : Keyer { - override fun key(data: Song, options: Options) = - "${data.album.uid}${data.album.songs.hashCode()}" + override fun key(data: Song, options: Options) = "${data.album.uid}${data.album.hashCode()}" } class ParentKeyer @Inject constructor() : Keyer { - override fun key(data: MusicParent, options: Options) = "${data.uid}${data.songs.hashCode()}" + override fun key(data: MusicParent, options: Options) = "${data.uid}${data.hashCode()}" } /**