Show local tracks in ArtistScreen
This commit is contained in:
@@ -110,6 +110,11 @@ interface Database {
|
||||
|
||||
@Query("SELECT thumbnailUrl FROM Song JOIN SongInPlaylist ON id = songId WHERE playlistId = :id ORDER BY position LIMIT 4")
|
||||
fun playlistThumbnailUrls(id: Long): Flow<List<String?>>
|
||||
|
||||
@Transaction
|
||||
@RewriteQueriesToDropUnusedColumns
|
||||
@Query("SELECT * FROM Info JOIN SongWithAuthors ON Info.id = SongWithAuthors.authorInfoId JOIN Song ON SongWithAuthors.songId = Song.id WHERE browseId = :artistId ORDER BY Song.ROWID DESC")
|
||||
fun artistSongs(artistId: String): Flow<List<SongWithInfo>>
|
||||
}
|
||||
|
||||
@androidx.room.Database(
|
||||
|
||||
Reference in New Issue
Block a user