auto-scan initial code. Feature not yet complete

This commit is contained in:
Robert McRackan 2022-05-09 11:21:09 -04:00
parent c99ee56f24
commit cb8b5d74d7
8 changed files with 72 additions and 9 deletions

View file

@ -224,6 +224,22 @@ namespace LibationFileManager
set => persistentDictionary.SetNonString(nameof(DownloadEpisodes), value);
}
public event EventHandler AutoScanChanged;
[Description("Automatically run periodic scans in the background?")]
public bool AutoScan
{
get => persistentDictionary.GetNonString<bool>(nameof(AutoScan));
set
{
if (AutoScan != value)
{
persistentDictionary.SetNonString(nameof(AutoScan), value);
AutoScanChanged?.Invoke(null, null);
}
}
}
#region templates: custom file naming
[Description("How to format the folders in which files will be saved")]