mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-11 00:10:35 -07:00
Added lastPlay info in queue model
This commit is contained in:
parent
4adde9e951
commit
76f4f1d021
6 changed files with 44 additions and 3 deletions
|
|
@ -29,4 +29,7 @@ public interface QueueDao {
|
|||
|
||||
@Query("SELECT COUNT(*) FROM queue")
|
||||
int count();
|
||||
|
||||
@Query("UPDATE queue SET last_play=:timestamp WHERE id=:id")
|
||||
void setLastPlay(String id, long timestamp);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue