mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-27 22:56:45 -04:00
New: Write metadata to tags, with UI for previewing changes (#633)
This commit is contained in:
@@ -265,6 +265,20 @@ namespace NzbDrone.Core.Configuration
|
||||
set { SetValue("MetadataSource", value); }
|
||||
}
|
||||
|
||||
public WriteAudioTagsType WriteAudioTags
|
||||
{
|
||||
get { return GetValueEnum("WriteAudioTags", WriteAudioTagsType.No); }
|
||||
|
||||
set { SetValue("WriteAudioTags", value); }
|
||||
}
|
||||
|
||||
public bool ScrubAudioTags
|
||||
{
|
||||
get { return GetValueBoolean("ScrubAudioTags", false); }
|
||||
|
||||
set { SetValue("ScrubAudioTags", value); }
|
||||
}
|
||||
|
||||
public int FirstDayOfWeek
|
||||
{
|
||||
get { return GetValueInt("FirstDayOfWeek", (int)CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek); }
|
||||
|
||||
@@ -69,9 +69,10 @@ namespace NzbDrone.Core.Configuration
|
||||
|
||||
string PlexClientIdentifier { get; }
|
||||
|
||||
//MetadataSource
|
||||
//Metadata
|
||||
string MetadataSource { get; set; }
|
||||
|
||||
WriteAudioTagsType WriteAudioTags { get; set; }
|
||||
bool ScrubAudioTags { get; set; }
|
||||
|
||||
//Forms Auth
|
||||
string RijndaelPassphrase { get; }
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
namespace NzbDrone.Core.Configuration
|
||||
{
|
||||
public enum WriteAudioTagsType
|
||||
{
|
||||
No,
|
||||
NewFiles,
|
||||
AllFiles,
|
||||
Sync
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user