sa-mw-dach / opendj

Apply Open Source principles to the Dance Floor! MOVED TO https://github.com/opendj/opendj
https://github.com/opendj/opendj
GNU General Public License v3.0
6 stars 9 forks source link

Rework Playlist and Playback Controller to submit/react to events #16

Open wrichter opened 5 years ago

wrichter commented 5 years ago

depends on #15

Instead of the Playback Controller polling the Playlist for the first track, the Playlist should submit an event what the first track is which the Playback controller reacts upon. This would make it easier to handle multiple playbacks in parallel (because the playback controller needs no awareness which playlists exist/are active, it just reacts on events.