1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-14 02:14:21 +01:00

Don't increment a song's skip count if it's already been "played".

This commit is contained in:
David Sansome 2010-10-23 23:34:56 +00:00
parent b35732a585
commit 8af6ded4a1

View File

@ -755,7 +755,7 @@ void MainWindow::MediaPlaying() {
void MainWindow::TrackSkipped(PlaylistItemPtr item) {
// If it was a library item then we have to increment its skipped count in
// the database.
if (item && item->IsLocalLibraryItem()) {
if (item && item->IsLocalLibraryItem() && !playlists_->active()->has_scrobbled()) {
library_->backend()->IncrementSkipCountAsync(item->Metadata().id());
}
}