mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-26 07:05:57 -05:00
[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:
parent
9a47335a05
commit
461a1d55bf
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user