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:
parent
1b8c94d6b9
commit
efa3ffa8d8
|
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue