core: Trigger playback ended before switching tracks