Revert "db/update/playlist: remove non-existent targets while scanning"

This reverts commit 9200fa6d06.  It was
wrong because it works only if the target song has already been
scanned.
This commit is contained in:
Max Kellermann 2021-10-14 11:46:59 +02:00
parent 1b8c94d6b9
commit efa3ffa8d8
1 changed files with 0 additions and 5 deletions

View File

@ -61,11 +61,6 @@ UpdateWalk::UpdatePlaylistFile(Directory &directory,
{ {
const ScopeDatabaseLock protect; const ScopeDatabaseLock protect;
if (!is_absolute &&
!directory.TargetExists(db_song->target))
continue;
directory.AddSong(std::move(db_song)); directory.AddSong(std::move(db_song));
} }
} }