player: flush queue on detach; reset queue on attach