player: fix playback logic on startup