[player] Don't unselect disappeared speakers on exit/restart

With the new speaker selection philosophy we aim to preserve user choice, so we
shouldn't unselect speakers just because they happen to be switched off when
the server is restarted.
This commit is contained in:
ejurgensen 2020-10-19 20:36:32 +02:00
parent ce9fbff8f5
commit d2d9b78ae7

View File

@ -3545,8 +3545,6 @@ player(void *arg)
if (!player_exit)
DPRINTF(E_LOG, L_PLAYER, "Player event loop terminated ahead of time!\n");
db_speaker_clear_all();
for (device = outputs_list(); device; device = device->next)
{
ret = db_speaker_save(device);