mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-14 18:35:16 +01:00
Don't increment a song's skip count if it's already been "played".
This commit is contained in:
parent
b35732a585
commit
8af6ded4a1
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user