dbrgn/orochi

Search for and play new mixes while still listening to a mix

Opened this issue · 3 comments

It would be nice to be able to search for and advance to another
playlist before the current one has finished.

Would it be easier to only have one Cmd mode, and just have an
_is_playing flag for player-like commands?

Yeah, I thought about this too. The separate modes are quite convenient I think, because it separates the different available commands. But maybe we can use some kind of mixin to provide the base features (like searching and playback) to the playback mode too?

How would variables like mix_ids work when the client and player modes are
actually instances of different classes? This would mean that any search results
from the main client mode wouldn't be available once the user has entered the
playback mode.

Maybe we could create some kind of app context object?