@@ -425,12 +425,12 @@ bool Player::HandleStopAfter() {
|
|||||||
|
|
||||||
void Player::TrackEnded() {
|
void Player::TrackEnded() {
|
||||||
|
|
||||||
if (HandleStopAfter()) return;
|
|
||||||
|
|
||||||
if (current_item_ && current_item_->IsLocalCollectionItem() && current_item_->Metadata().id() != -1) {
|
if (current_item_ && current_item_->IsLocalCollectionItem() && current_item_->Metadata().id() != -1) {
|
||||||
app_->playlist_manager()->collection_backend()->IncrementPlayCountAsync(current_item_->Metadata().id());
|
app_->playlist_manager()->collection_backend()->IncrementPlayCountAsync(current_item_->Metadata().id());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (HandleStopAfter()) return;
|
||||||
|
|
||||||
NextInternal(Engine::Auto);
|
NextInternal(Engine::Auto);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user