The Free Software Media System - Server Backend & API
unhide several scheduled tasks and add missing properties
dkanada08ca1337a92c
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/ChapterImagesTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/ChapterImagesTask.csindex 5373b4392b..a6d43a69a1 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/ChapterImagesTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/ChapterImagesTask.cs@@ -68,8 +68,6 @@ namespace Emby.Server.Implementations.ScheduledTasks};}- public string Key => "RefreshChapterImages";-/// <summary>/// Returns the task to be executed/// </summary>@@ -178,5 +176,13 @@ namespace Emby.Server.Implementations.ScheduledTasks/// </summary>/// <value>The category.</value>public string Category => "Library";++ public string Key => "RefreshChapterImages";++ public bool IsHidden => false;++ public bool IsEnabled => true;++ public bool IsLogged => true;}}diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteCacheFileTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteCacheFileTask.csindex 52077b242e..fc9d57e0b3 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteCacheFileTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteCacheFileTask.cs@@ -164,8 +164,6 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks/// <value>The name.</value>public string Name => "Cache file cleanup";- public string Key => "DeleteCacheFiles";-/// <summary>/// Gets the description./// </summary>@@ -178,11 +176,13 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks/// <value>The category.</value>public string Category => "Maintenance";+ public string Key => "DeleteCacheFiles";+/// <summary>/// Gets a value indicating whether this instance is hidden./// </summary>/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>- public bool IsHidden => true;+ public bool IsHidden => false;public bool IsEnabled => true;diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteLogFileTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteLogFileTask.csindex a57fe49457..ddb74ef3e8 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteLogFileTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteLogFileTask.cs@@ -81,8 +81,6 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasksreturn Task.CompletedTask;}- public string Key => "CleanLogFiles";-/// <summary>/// Gets the name of the task/// </summary>@@ -101,11 +99,13 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks/// <value>The category.</value>public string Category => "Maintenance";+ public string Key => "CleanLogFiles";+/// <summary>/// Gets a value indicating whether this instance is hidden./// </summary>/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value>- public bool IsHidden => true;+ public bool IsHidden => false;public bool IsEnabled => true;diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.csindex 68031170fd..ebdc6a13e4 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs@@ -47,8 +47,6 @@ namespace Emby.Server.Implementations.ScheduledTasks};}- public string Key => "RefreshPeople";-/// <summary>/// Returns the task to be executed/// </summary>@@ -77,5 +75,13 @@ namespace Emby.Server.Implementations.ScheduledTasks/// </summary>/// <value>The category.</value>public string Category => "Library";++ public string Key => "RefreshPeople";++ public bool IsHidden => false;++ public bool IsEnabled => true;++ public bool IsLogged => true;}}diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.csindex 62533a0173..8e27b0eb80 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs@@ -50,11 +50,6 @@ namespace Emby.Server.Implementations.ScheduledTasks};}- public string Key- {- get { return "PluginUpdates"; }- }-/// <summary>/// Update installed plugins/// </summary>@@ -114,26 +109,19 @@ namespace Emby.Server.Implementations.ScheduledTasks/// Gets the name of the task/// </summary>/// <value>The name.</value>- public string Name- {- get { return "Check for plugin updates"; }- }+ public string Name => "Check for plugin updates";/// <summary>/// Gets the description./// </summary>/// <value>The description.</value>- public string Description- {- get { return "Downloads and installs updates for plugins that are configured to update automatically."; }- }+ public string Description => "Downloads and installs updates for plugins that are configured to update automatically.";- public string Category- {- get { return "Application"; }- }+ public string Category => "Application";++ public string Key => "PluginUpdates";- public bool IsHidden => true;+ public bool IsHidden => false;public bool IsEnabled => true;diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/RefreshMediaLibraryTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/RefreshMediaLibraryTask.csindex f6fa64d136..618efd732b 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/RefreshMediaLibraryTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/RefreshMediaLibraryTask.cs@@ -77,5 +77,11 @@ namespace Emby.Server.Implementations.ScheduledTaskspublic string Category => "Library";public string Key => "RefreshLibrary";++ public bool IsHidden => false;++ public bool IsEnabled => true;++ public bool IsLogged => true;}}