diff --git a/src/player.c b/src/player.c index 10dfd3d6..1fb0f017 100644 --- a/src/player.c +++ b/src/player.c @@ -818,10 +818,9 @@ source_check(void) #ifdef LASTFM worker_execute(scrobble_cb, &id, sizeof(int), 8); #endif + history_add(cur_playing->id, cur_playing->item_id); } - history_add(cur_playing->id, cur_playing->item_id); - if (consume) db_queue_delete_byitemid(cur_playing->item_id);