Add queue next endpoint
This commit is contained in:
parent
51aafb9771
commit
2df62ff714
3 changed files with 24 additions and 4 deletions
|
@ -24,6 +24,7 @@ class Room:
|
|||
songs: dict[str, UserScoredSong] # canzoni + voto
|
||||
history: list[Song] # canzoni riprodotte (in ordine)
|
||||
playing: list[Song] # canzoni che sono i riproduzione
|
||||
playing_idx: int
|
||||
|
||||
def rank_song(self, song: Song, user_score: int) -> float:
|
||||
rank = 0.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue