The Free Software Media System - Server Backend & API
update task names and descriptions
dkanadaab2349ff3c71
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/ChapterImagesTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/ChapterImagesTask.csindex ecd5262510..5822c467b7 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/ChapterImagesTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/ChapterImagesTask.cs@@ -70,7 +70,7 @@ namespace Emby.Server.Implementations.ScheduledTasks}/// <summary>- /// Returns the task to be executed+ /// Returns the task to be executed./// </summary>/// <param name="cancellationToken">The cancellation token.</param>/// <param name="progress">The progress.</param>@@ -89,7 +89,6 @@ namespace Emby.Server.Implementations.ScheduledTasksSourceTypes = new SourceType[] { SourceType.Library },HasChapterImages = false,IsVirtualItem = false-}).OfType<Video>().ToList();@@ -160,7 +159,7 @@ namespace Emby.Server.Implementations.ScheduledTasks}}- public string Name => "Chapter image extraction";+ public string Name => "Extract Chapter Images";public string Description => "Creates thumbnails for videos that have chapters.";diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteCacheFileTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteCacheFileTask.csindex 6ec83b5c0c..b55a59f05a 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteCacheFileTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteCacheFileTask.cs@@ -158,9 +158,9 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks}}- public string Name => "Cache file cleanup";+ public string Name => "Clean Cache Directory";- public string Description => "Deletes cache files no longer needed by the system";+ public string Description => "Deletes cache files no longer needed by the system.";public string Category => "Maintenance";diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteLogFileTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteLogFileTask.csindex e468c301a9..9f9c6353a1 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteLogFileTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteLogFileTask.cs@@ -10,7 +10,7 @@ using MediaBrowser.Model.Tasks;namespace Emby.Server.Implementations.ScheduledTasks.Tasks{/// <summary>- /// Deletes old log files+ /// Deletes old log files./// </summary>public class DeleteLogFileTask : IScheduledTask, IConfigurableScheduledTask{@@ -33,20 +33,18 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks}/// <summary>- /// Creates the triggers that define when the task will run+ /// Creates the triggers that define when the task will run./// </summary>/// <returns>IEnumerable{BaseTaskTrigger}.</returns>public IEnumerable<TaskTriggerInfo> GetDefaultTriggers(){return new[] {-- // Every so oftennew TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(24).Ticks}};}/// <summary>- /// Returns the task to be executed+ /// Returns the task to be executed./// </summary>/// <param name="cancellationToken">The cancellation token.</param>/// <param name="progress">The progress.</param>@@ -81,7 +79,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasksreturn Task.CompletedTask;}- public string Name => "Log file cleanup";+ public string Name => "Clean Log Directory";public string Description => string.Format("Deletes log files that are more than {0} days old.", ConfigurationManager.CommonConfiguration.LogFileRetentionDays);diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.csindex f197734d46..9ff490f188 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/DeleteTranscodeFileTask.cs@@ -125,9 +125,9 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks}}- public string Name => "Transcode file cleanup";+ public string Name => "Clean Transcode Directory";- public string Description => "Deletes transcode files more than 24 hours old.";+ public string Description => "Deletes transcode files more than one day old.";public string Category => "Maintenance";diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.csindex d70799c479..eaf17aace1 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/PeopleValidationTask.cs@@ -9,12 +9,12 @@ using MediaBrowser.Model.Tasks;namespace Emby.Server.Implementations.ScheduledTasks{/// <summary>- /// Class PeopleValidationTask+ /// Class PeopleValidationTask./// </summary>public class PeopleValidationTask : IScheduledTask{/// <summary>- /// The _library manager+ /// The library manager./// </summary>private readonly ILibraryManager _libraryManager;@@ -32,13 +32,12 @@ namespace Emby.Server.Implementations.ScheduledTasks}/// <summary>- /// Creates the triggers that define when the task will run+ /// Creates the triggers that define when the task will run./// </summary>public IEnumerable<TaskTriggerInfo> GetDefaultTriggers(){return new[]{- // Every so oftennew TaskTriggerInfo{Type = TaskTriggerInfo.TriggerInterval,@@ -48,7 +47,7 @@ namespace Emby.Server.Implementations.ScheduledTasks}/// <summary>- /// Returns the task to be executed+ /// Returns the task to be executed./// </summary>/// <param name="cancellationToken">The cancellation token.</param>/// <param name="progress">The progress.</param>@@ -58,7 +57,7 @@ namespace Emby.Server.Implementations.ScheduledTasksreturn _libraryManager.ValidatePeople(cancellationToken, progress);}- public string Name => "Refresh people";+ public string Name => "Refresh People";public string Description => "Updates metadata for actors and directors in your media library.";diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.csindex 909fffb1ff..992b77c256 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/PluginUpdateTask.cs@@ -96,7 +96,7 @@ namespace Emby.Server.Implementations.ScheduledTasks}/// <inheritdoc />- public string Name => "Check for plugin updates";+ public string Name => "Update Plugins";/// <inheritdoc />public string Description => "Downloads and installs updates for plugins that are configured to update automatically.";diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/RefreshMediaLibraryTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/RefreshMediaLibraryTask.csindex 3e6d251c91..0736780191 100644--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/RefreshMediaLibraryTask.cs+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/RefreshMediaLibraryTask.cs@@ -57,7 +57,7 @@ namespace Emby.Server.Implementations.ScheduledTasksreturn ((LibraryManager)_libraryManager).ValidateMediaLibraryInternal(progress, cancellationToken);}- public string Name => "Scan media library";+ public string Name => "Scan Media Library";public string Description => "Scans your media library for new files and refreshes metadata.";