Add stats for nerds (#33)

This commit is contained in:
vfsfitvnm
2022-06-21 22:56:35 +02:00
parent 8a94c7e714
commit 68a14796ea
4 changed files with 177 additions and 22 deletions

View File

@@ -47,7 +47,7 @@ interface Database {
fun songWithInfo(id: String): SongWithInfo?
@Transaction
@Query("SELECT * FROM Song WHERE totalPlayTimeMs >= 15000 ORDER BY ROWID DESC")
@Query("SELECT * FROM Song ORDER BY ROWID DESC")
fun history(): Flow<List<SongWithInfo>>
@Transaction