mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-14 08:15:02 -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,9 +818,8 @@ source_check(void)
|
|||||||
#ifdef LASTFM
|
#ifdef LASTFM
|
||||||
worker_execute(scrobble_cb, &id, sizeof(int), 8);
|
worker_execute(scrobble_cb, &id, sizeof(int), 8);
|
||||||
#endif
|
#endif
|
||||||
}
|
|
||||||
|
|
||||||
history_add(cur_playing->id, cur_playing->item_id);
|
history_add(cur_playing->id, cur_playing->item_id);
|
||||||
|
}
|
||||||
|
|
||||||
if (consume)
|
if (consume)
|
||||||
db_queue_delete_byitemid(cur_playing->item_id);
|
db_queue_delete_byitemid(cur_playing->item_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user