mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Fix issue that was causing autocomplete to fail in SystemService.
This commit is contained in:
parent
d0ad04d7c7
commit
deab36a89d
@ -32,10 +32,10 @@ import io.casey.musikcube.remote.service.websocket.model.ITrack
|
||||
import io.casey.musikcube.remote.ui.home.activity.MainActivity
|
||||
import io.casey.musikcube.remote.ui.settings.constants.Prefs
|
||||
import io.casey.musikcube.remote.ui.shared.extension.fallback
|
||||
import io.casey.musikcube.remote.ui.shared.util.AlbumArtLookup
|
||||
import io.casey.musikcube.remote.ui.shared.util.Size
|
||||
import io.casey.musikcube.remote.util.Debouncer
|
||||
import androidx.core.app.NotificationCompat.Action as NotifAction
|
||||
import io.casey.musikcube.remote.ui.shared.util.AlbumArtLookup.getUrl as getAlbumArtUrl
|
||||
|
||||
const val ENABLE_LOGGING = false
|
||||
|
||||
@ -241,7 +241,7 @@ class SystemService : Service() {
|
||||
if (track.artist.isNotBlank() && track.album.isNotBlank()) {
|
||||
log("downloadAlbumArtIfNecessary: metadata available, attempting to download artwork")
|
||||
|
||||
val url = getAlbumArtUrl(track, Size.Mega)
|
||||
val url = AlbumArtLookup.getUrl(track, Size.Mega)
|
||||
|
||||
val request = GlideApp.with(applicationContext)
|
||||
.asBitmap()
|
||||
|
Loading…
Reference in New Issue
Block a user