mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 19:21:10 +00:00
Adds the should aggregate artwork when missing setting to the user settings, configuration, and validation
This commit is contained in:
1 parent
6b5e731546
commit
e139a7bb00
21 files changed
+97
-43
No files matched your search
+5
-2
@@ -22,17 +22,20 @@ public class MediaSettingsDtoFixture
|
||||
/// <param name="rootDirectory">Optional. The root directory where media files are stored.</param>
|
||||
/// <param name="librariesDirectory">Optional. The directory where media library files are stored.</param>
|
||||
/// <param name="booksDirectory">Optional. The directory where the media item files are stored.</param>
|
||||
/// <param name="musicDirectory">Optional. The directory where the music library item files are stored.</param>
|
||||
/// <returns>The created <see cref="MediaSettingsDto"/>.</returns>
|
||||
public MediaSettingsDto Create(
|
||||
string? rootDirectory = null,
|
||||
string? librariesDirectory = null,
|
||||
string? booksDirectory = null)
|
||||
string? booksDirectory = null,
|
||||
string? musicDirectory = null)
|
||||
{
|
||||
return new MediaSettingsDto
|
||||
{
|
||||
RootDirectory = rootDirectory ?? _faker.System.DirectoryPath(),
|
||||
LibrariesDirectory = librariesDirectory ?? _faker.System.DirectoryPath(),
|
||||
BooksDirectory = booksDirectory ?? _faker.System.DirectoryPath()
|
||||
BooksDirectory = booksDirectory ?? _faker.System.DirectoryPath(),
|
||||
MusicDirectory = musicDirectory ?? _faker.System.DirectoryPath()
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user