Cache album information

This commit is contained in:
vfsfitvnm
2022-06-30 15:33:36 +02:00
parent f126972f2d
commit 3429f27840
7 changed files with 553 additions and 558 deletions

View File

@@ -46,9 +46,9 @@ fun Database.insert(mediaItem: MediaItem): Song {
authorsText = null,
thumbnailUrl = null,
shareUrl = null,
).also(::insert)
).also(::upsert)
insert(
upsert(
SongAlbumMap(
songId = song.id,
albumId = albumId,