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