pub fn spawn_autoqueue(
state: Arc<SharedPlayerState>,
tx: Sender<PlayerCommand>,
db_path: PathBuf,
)Expand description
Keep the queue topped up while radio mode is on.
Radio mode is a flag on SharedPlayerState. Owning the loop here means
every front end that sets it gets the same behaviour instead of
reimplementing it.
Runs on its own thread and exits when the player goes away.