diff --git a/src/libs/services/scanner/impl/steps/ScanStepAssociatePlayListImages.cpp b/src/libs/services/scanner/impl/steps/ScanStepAssociatePlayListImages.cpp index 380e4acc..d10aa5a7 100644 --- a/src/libs/services/scanner/impl/steps/ScanStepAssociatePlayListImages.cpp +++ b/src/libs/services/scanner/impl/steps/ScanStepAssociatePlayListImages.cpp @@ -48,9 +48,7 @@ namespace lms::scanner const std::filesystem::path& coverImageFile{ playListFile->getCoverImageFile() }; if (!coverImageFile.empty()) { - const std::filesystem::path coverImagePath{ coverImageFile.is_relative() - ? (playListFile->getDirectory()->getAbsolutePath() / coverImageFile).lexically_normal() - : coverImageFile }; + const std::filesystem::path coverImagePath{ coverImageFile.is_relative() ? (playListFile->getDirectory()->getAbsolutePath() / coverImageFile).lexically_normal() : coverImageFile }; const db::Image::pointer image{ db::Image::find(session, coverImagePath) }; if (image)