A lot of changes
This commit is contained in:
@@ -7,14 +7,17 @@ namespace Musify.Application.Configuration
|
||||
public const string SectionName = "PlayListConfiguration";
|
||||
|
||||
[Required]
|
||||
public Routes Routes { get; set; } = new Routes();
|
||||
public PlayListRoutes Routes { get; set; } = new PlayListRoutes();
|
||||
|
||||
[Required]
|
||||
public PicturesSizes PicturesSizes { get; set; } = new PicturesSizes();
|
||||
public PlayListPicturesSizes PicturesSizes { get; set; } = new PlayListPicturesSizes();
|
||||
}
|
||||
|
||||
public class Routes
|
||||
public class PlayListRoutes
|
||||
{
|
||||
[Required]
|
||||
public string ParentFolders { get; set; } = "PlayLists";
|
||||
|
||||
[Required]
|
||||
public string OriginalPictures { get; set; } = "OriginalPictures";
|
||||
|
||||
@@ -37,7 +40,7 @@ namespace Musify.Application.Configuration
|
||||
public string PresetLargePicture { get; set; } = "PresetLargePicture.webp";
|
||||
}
|
||||
|
||||
public class PicturesSizes
|
||||
public class PlayListPicturesSizes
|
||||
{
|
||||
[Range(1, 1024)]
|
||||
public int SmallPictureWidth { get; set; } = 128;
|
||||
|
||||
Reference in New Issue
Block a user