Skip to content

Commit

Permalink
Merge pull request #52 from gnumpi/mp_reset_current_track_on_finish
Browse files Browse the repository at this point in the history
MP-fix: missing current_track reset on track finish.
  • Loading branch information
gnumpi authored Jul 5, 2024
2 parents 78ea8bd + 4174b10 commit 68dc3c2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@ void ADFMediaPlayer::on_pipeline_state_change(PipelineState state) {
}
} else if (set_new_state(media_player::MEDIA_PLAYER_STATE_IDLE) ){
publish_state();
this->current_track_.reset();
}
break;

Expand Down

0 comments on commit 68dc3c2

Please sign in to comment.