Open darren2hang opened 1 year ago
We want the lobby playlist to be a pool of all the users in the lobbys' top songs, so we can randomly choose a song from the playlist.
Later, we will create a getRandomSong function and it needs a pool of songs to choose from.
Modifiy the Lobby.synthesizePlaylist() function in the packages/@aurgy/server/lib/lobby.ts file.
Lobby.synthesizePlaylist()
packages/@aurgy/server/lib/lobby.ts
Use user.topSongs to get a users top songs
This is a :rocket: Feature Request
We want the lobby playlist to be a pool of all the users in the lobbys' top songs, so we can randomly choose a song from the playlist.
Use Case
Later, we will create a getRandomSong function and it needs a pool of songs to choose from.
Proposed Solution
Modifiy the
Lobby.synthesizePlaylist()
function in thepackages/@aurgy/server/lib/lobby.ts
file.Use user.topSongs to get a users top songs
This is a :rocket: Feature Request