SEbbaDK / sonica

Music playing daemon and clients, acting as a FOSS party music player alternative to Spotify playlists.
GNU General Public License v3.0
4 stars 0 forks source link

Show the current queue, even if there is no 'up next' #5

Closed Rawrior closed 3 years ago

Rawrior commented 3 years ago

The response to queue should be the currently playing song, what is currently called queue, and what the next X songs in the playlist after up next.

For example, the output could be:

I'm playing **[Song]** by *[Artist]*. Up next is:
**[Other song]** by *[Other artist]*

After that, I will play:
**[Song 1]** by *[Artist 1]*
...
**[Song N]** by *[Artist N]*

If there is no songs up next, the output could be:

I'm playing **[Song]** by *[Artist]*.

After that, I will play:
**[Song 1]** by *[Artist 1]*
...
**[Song N]** by *[Artist N]*
SEbbaDK commented 3 years ago

This could be done by getting the head 3 elements of the playlist.unplayed list.

SEbbaDK commented 3 years ago

Fixed in #13