roadie/Roadie.Api.Library/Configuration/Processing.cs

68 lines
1.8 KiB
C#
Raw Normal View History

2018-11-02 16:04:49 -05:00
using System;
using System.Collections.Generic;
2018-11-04 14:33:37 -06:00
namespace Roadie.Library.Configuration
2018-11-02 16:04:49 -05:00
{
[Serializable]
2019-06-01 23:27:17 -05:00
public class Processing : IProcessing
2018-11-02 16:04:49 -05:00
{
2019-07-03 11:21:29 -05:00
public string ArtistRemoveStringsRegex { get; set; }
2018-11-02 16:04:49 -05:00
public bool DoAudioCleanup { get; set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public bool DoClearComments { get; set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public bool DoDeleteUnknowns { get; set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public bool DoMoveUnknowns { get; set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public bool DoParseFromDiscogsDB { get; private set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public bool DoParseFromFileName { get; set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public bool DoParseFromLastFM { get; private set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public bool DoParseFromMusicBrainz { get; private set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public bool DoSaveEditsToTags { get; set; }
2019-07-03 11:21:29 -05:00
2018-11-04 14:33:37 -06:00
public int MaxImageWidth { get; set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public int MaximumArtistImagesToAdd { get; set; }
2019-07-03 11:21:29 -05:00
2018-11-02 16:04:49 -05:00
public int MaximumReleaseImagesToAdd { get; set; }
2019-07-03 11:21:29 -05:00
2019-06-23 10:45:45 -05:00
public string PostInspectScript { get; set; }
2019-07-03 11:21:29 -05:00
public string PreInspectScript { get; set; }
public string ReleaseRemoveStringsRegex { get; set; }
public string RemoveStringsRegex { get; set; }
2018-11-04 14:33:37 -06:00
public List<ReplacementString> ReplaceStrings { get; set; }
2019-07-03 11:21:29 -05:00
public string TrackRemoveStringsRegex { get; set; }
2018-11-02 16:04:49 -05:00
public string UnknownFolder { get; set; }
public Processing()
{
2019-07-03 11:21:29 -05:00
DoAudioCleanup = true;
DoClearComments = true;
2019-07-13 07:28:27 -05:00
DoParseFromDiscogsDB = true;
DoParseFromFileName = true;
DoParseFromLastFM = true;
DoParseFromMusicBrainz = true;
DoSaveEditsToTags = true;
MaximumArtistImagesToAdd = 12;
MaximumReleaseImagesToAdd = 12;
MaxImageWidth = 2048;
RemoveStringsRegex = "\\b[0-9]+\\s#\\s\\b";
ReplaceStrings = new List<ReplacementString>();
2018-11-02 16:04:49 -05:00
}
}
2018-11-04 14:33:37 -06:00
}