diff --git a/app/src/main/java/me/vanpetegem/accentor/media/MusicService.kt b/app/src/main/java/me/vanpetegem/accentor/media/MusicService.kt index 0c8d2e49..65f0be29 100644 --- a/app/src/main/java/me/vanpetegem/accentor/media/MusicService.kt +++ b/app/src/main/java/me/vanpetegem/accentor/media/MusicService.kt @@ -181,7 +181,7 @@ class MusicService : MediaSessionService() { .setArtist(track.stringifyTrackArtists()) .setAlbumTitle(album.title) .setAlbumArtist(album.stringifyAlbumArtists().let { if (it.isEmpty()) application.getString(R.string.various_artists) else it }) - .setArtworkUri(Uri.parse(album.image500)) + .setArtworkUri(album.image500?.let { Uri.parse(it) }) .setTrackNumber(track.number) .setReleaseYear(album.release.year) .setReleaseMonth(album.release.monthValue)