Added conf option, ref #699
This commit is contained in:
@@ -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() }
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user