mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 17:11:10 +00:00
Adds a per-library option to skip hidden files and directories during scans
This commit is contained in:
1 parent
0bb795dca5
commit
0e8d61b215
67 files changed
+4624
-19
No files matched your search
+4
@@ -43,6 +43,7 @@ public class LibraryFixture
|
||||
/// <param name="canDownloadMetadataFromWeb">Whether metadata download from the web is enabled.</param>
|
||||
/// <param name="shouldSaveMetadataInMediaDirectories">Whether metadata should be saved in the media directories.</param>
|
||||
/// <param name="shouldSkipUnchangedDirectoriesDuringScan">Whether unchanged directories should be skipped during scan.</param>
|
||||
/// <param name="shouldSkipHiddenFilesAndDirectoriesDuringScan">Whether hidden files and directories should be skipped during scan.</param>
|
||||
/// <param name="isContentOnSsd">Whether the content of the library is stored on a solid state drive.</param>
|
||||
/// <param name="consumptionSettings">Optional. The consumption settings of the library.</param>
|
||||
/// <param name="scanIds">Optional. The scan Ids associated with the library.</param>
|
||||
@@ -61,6 +62,7 @@ public class LibraryFixture
|
||||
bool canDownloadMetadataFromWeb = true,
|
||||
bool shouldSaveMetadataInMediaDirectories = false,
|
||||
bool shouldSkipUnchangedDirectoriesDuringScan = false,
|
||||
bool shouldSkipHiddenFilesAndDirectoriesDuringScan = false,
|
||||
bool isContentOnSsd = false,
|
||||
LibraryConsumptionSettings? consumptionSettings = null,
|
||||
IEnumerable<Guid>? scanIds = null,
|
||||
@@ -93,6 +95,7 @@ public class LibraryFixture
|
||||
canDownloadMetadataFromWeb,
|
||||
shouldSaveMetadataInMediaDirectories,
|
||||
shouldSkipUnchangedDirectoriesDuringScan,
|
||||
shouldSkipHiddenFilesAndDirectoriesDuringScan,
|
||||
isContentOnSsd,
|
||||
resolvedConsumptionSettings,
|
||||
pathTemplate ?? LibraryPathTemplate.Empty(),
|
||||
@@ -110,6 +113,7 @@ public class LibraryFixture
|
||||
canDownloadMetadataFromWeb,
|
||||
shouldSaveMetadataInMediaDirectories,
|
||||
shouldSkipUnchangedDirectoriesDuringScan,
|
||||
shouldSkipHiddenFilesAndDirectoriesDuringScan,
|
||||
isContentOnSsd,
|
||||
resolvedConsumptionSettings,
|
||||
pathTemplate ?? LibraryPathTemplate.Empty(),
|
||||
|
||||
Reference in new issue
Block a user