[player] Only add persistent items to history

The current logic in httpd_dacp.c cannot handle non persistent items
correctly. The items are always shown with the dummy_mfi with "unkown
artist" etc.
This commit is contained in:
chme 2018-09-08 09:14:24 +02:00
parent 9a47335a05
commit 461a1d55bf

View File

@ -818,9 +818,8 @@ source_check(void)
#ifdef LASTFM
worker_execute(scrobble_cb, &id, sizeof(int), 8);
#endif
}
history_add(cur_playing->id, cur_playing->item_id);
}
if (consume)
db_queue_delete_byitemid(cur_playing->item_id);