playlist module refactor
Trott opened this issue · comments
Separate out the stuff that maintains playlist state/contents from the stuff that selects a new track (basically, findNewTrack()
and everything it depends on)
Maybe have a playlist object composed of track objects and connector objects. (Or find a library to reuse that handles graphs. That's just nodes and vertices, yo.) Then all the "business logic" of the playlist can be in the composed playlist object, isolated from the stuff that just, you know, is information.