unhide several scheduled tasks and add missing properties

This commit is contained in:
dkanada 2019-01-31 15:20:34 +09:00
parent 07072d9f7b
commit 08ca1337a9
6 changed files with 34 additions and 28 deletions

View file

@ -68,8 +68,6 @@ namespace Emby.Server.Implementations.ScheduledTasks
}; };
} }
public string Key => "RefreshChapterImages";
/// <summary> /// <summary>
/// Returns the task to be executed /// Returns the task to be executed
/// </summary> /// </summary>
@ -178,5 +176,13 @@ namespace Emby.Server.Implementations.ScheduledTasks
/// </summary> /// </summary>
/// <value>The category.</value> /// <value>The category.</value>
public string Category => "Library"; public string Category => "Library";
public string Key => "RefreshChapterImages";
public bool IsHidden => false;
public bool IsEnabled => true;
public bool IsLogged => true;
} }
} }

View file

@ -164,8 +164,6 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
/// <value>The name.</value> /// <value>The name.</value>
public string Name => "Cache file cleanup"; public string Name => "Cache file cleanup";
public string Key => "DeleteCacheFiles";
/// <summary> /// <summary>
/// Gets the description. /// Gets the description.
/// </summary> /// </summary>
@ -178,11 +176,13 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
/// <value>The category.</value> /// <value>The category.</value>
public string Category => "Maintenance"; public string Category => "Maintenance";
public string Key => "DeleteCacheFiles";
/// <summary> /// <summary>
/// Gets a value indicating whether this instance is hidden. /// Gets a value indicating whether this instance is hidden.
/// </summary> /// </summary>
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value> /// <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; public bool IsEnabled => true;

View file

@ -81,8 +81,6 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
return Task.CompletedTask; return Task.CompletedTask;
} }
public string Key => "CleanLogFiles";
/// <summary> /// <summary>
/// Gets the name of the task /// Gets the name of the task
/// </summary> /// </summary>
@ -101,11 +99,13 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
/// <value>The category.</value> /// <value>The category.</value>
public string Category => "Maintenance"; public string Category => "Maintenance";
public string Key => "CleanLogFiles";
/// <summary> /// <summary>
/// Gets a value indicating whether this instance is hidden. /// Gets a value indicating whether this instance is hidden.
/// </summary> /// </summary>
/// <value><c>true</c> if this instance is hidden; otherwise, <c>false</c>.</value> /// <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; public bool IsEnabled => true;

View file

@ -47,8 +47,6 @@ namespace Emby.Server.Implementations.ScheduledTasks
}; };
} }
public string Key => "RefreshPeople";
/// <summary> /// <summary>
/// Returns the task to be executed /// Returns the task to be executed
/// </summary> /// </summary>
@ -77,5 +75,13 @@ namespace Emby.Server.Implementations.ScheduledTasks
/// </summary> /// </summary>
/// <value>The category.</value> /// <value>The category.</value>
public string Category => "Library"; public string Category => "Library";
public string Key => "RefreshPeople";
public bool IsHidden => false;
public bool IsEnabled => true;
public bool IsLogged => true;
} }
} }

View file

@ -50,11 +50,6 @@ namespace Emby.Server.Implementations.ScheduledTasks
}; };
} }
public string Key
{
get { return "PluginUpdates"; }
}
/// <summary> /// <summary>
/// Update installed plugins /// Update installed plugins
/// </summary> /// </summary>
@ -114,26 +109,19 @@ namespace Emby.Server.Implementations.ScheduledTasks
/// Gets the name of the task /// Gets the name of the task
/// </summary> /// </summary>
/// <value>The name.</value> /// <value>The name.</value>
public string Name public string Name => "Check for plugin updates";
{
get { return "Check for plugin updates"; }
}
/// <summary> /// <summary>
/// Gets the description. /// Gets the description.
/// </summary> /// </summary>
/// <value>The description.</value> /// <value>The description.</value>
public string Description public string Description => "Downloads and installs updates for plugins that are configured to update automatically.";
{
get { return "Downloads and installs updates for plugins that are configured to update automatically."; }
}
public string Category public string Category => "Application";
{
get { return "Application"; }
}
public bool IsHidden => true; public string Key => "PluginUpdates";
public bool IsHidden => false;
public bool IsEnabled => true; public bool IsEnabled => true;

View file

@ -77,5 +77,11 @@ namespace Emby.Server.Implementations.ScheduledTasks
public string Category => "Library"; public string Category => "Library";
public string Key => "RefreshLibrary"; public string Key => "RefreshLibrary";
public bool IsHidden => false;
public bool IsEnabled => true;
public bool IsLogged => true;
} }
} }