Fixed bad handling of utf8 bom for playslit files, fixes #694

This commit is contained in:
emeric
2025-06-25 13:55:45 +02:00
parent 6e4fbdc353
commit d1caed200b
4 changed files with 33 additions and 7 deletions
@@ -134,9 +134,7 @@ namespace lms::scanner
if (track)
playListAssociation.tracks.push_back(TrackInfo{ .trackId = track->getId(), .releaseId = track->getReleaseId() });
else
{
pendingErrors.emplace_back(std::make_shared<PlayListFilePathMissingError>(playListFile->getAbsoluteFilePath(), file));
}
}
if (pendingErrors.size() == files.size())