Added conf option, ref #699

This commit is contained in:
emeric
2025-07-30 20:49:34 +02:00
parent 6bf08b94ae
commit 70e86334bc
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -106,6 +106,10 @@ cover-preferred-file-names = ("cover", "front", "folder", "default");
# Note: files whose name is the artist's MBID are always searched before the names in this list. You can place the MBID files anywhere in your libraries. # Note: files whose name is the artist's MBID are always searched before the names in this list. You can place the MBID files anywhere in your libraries.
artist-image-file-names = ("artist"); artist-image-file-names = ("artist");
# File names for medium images (order is important)
# Note: files named after the disc itself are always searched before the names in this list.
medium-image-file-names = ("discsubtitle");
# Playqueue max entry count # Playqueue max entry count
playqueue-max-entry-count = 1000; playqueue-max-entry-count = 1000;
@@ -166,7 +166,7 @@ namespace lms::scanner
} }
} }
std::vector<std::string> constructArtistFileNames() std::vector<std::string> constructMediumFileNames()
{ {
std::vector<std::string> res; std::vector<std::string> res;
@@ -243,7 +243,7 @@ namespace lms::scanner
ScanStepAssociateMediumImages::ScanStepAssociateMediumImages(InitParams& initParams) ScanStepAssociateMediumImages::ScanStepAssociateMediumImages(InitParams& initParams)
: ScanStepBase{ initParams } : ScanStepBase{ initParams }
, _mediumFileNames{ constructArtistFileNames() } , _mediumFileNames{ constructMediumFileNames() }
{ {
} }