Hey,

I have been working on an application for a while which multiple people
at a party can feed with music, that sends it to LMS (over LMS-CLI) and
plays it one after the other.
The main problem that I have encountered though is, that once there is
not enough music in the queue, playback stops.

So, "Don't Stop The Music" in combination with the Spotty plugin has
been a gamechanger for me.

Only then, when a person wants to listen to another song after "Don't
Stop the Music" has taken over the queue, their song is put last in the
queue. Now I want to prioritize the user choice over that. Therefore I
have two possible solutions to this problem but I am not sure how to
implement either:

1. Have Don't Stop The Music only enqueue one song at a time. This way,
once the queue is empty, it would just add the next song and once a user
comes around they would just have to add their song and it would play
after.
Problem: This might lead to duplication of songs if many songs in
the same genre are being played.
2. Have a way for LMS-CLI to detect who or rather what added a song to a
playlist so that I can remove the songs in between the song chosen by
the user.
3. Keep track of all the user added songs, once everything has been
played, wait for new song. If a new song is added, clear the playlist
and play the song chosen by the user. (I could implement this with my
current knowledge but I don't think that is is the cleanest of all
solutions)

Maybe you have an idea on how I could tackle this problem, any input is
greatly appreciated. :)


------------------------------------------------------------------------
Fliwatt's Profile: http://forums.slimdevices.com/member.php?userid=71356
View this thread: http://forums.slimdevices.com/showthread.php?t=115746

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to