mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 22:43:07 +03:00
move the transcode path
This commit is contained in:
@@ -10,7 +10,7 @@ using MediaBrowser.Model.Tasks;
|
||||
namespace Emby.Server.Implementations.ScheduledTasks
|
||||
{
|
||||
/// <summary>
|
||||
/// Class RefreshMediaLibraryTask
|
||||
/// Class RefreshMediaLibraryTask.
|
||||
/// </summary>
|
||||
public class RefreshMediaLibraryTask : IScheduledTask
|
||||
{
|
||||
@@ -31,15 +31,14 @@ 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>
|
||||
/// <returns>IEnumerable{BaseTaskTrigger}.</returns>
|
||||
public IEnumerable<TaskTriggerInfo> GetDefaultTriggers()
|
||||
{
|
||||
return new[] {
|
||||
|
||||
// Every so often
|
||||
new TaskTriggerInfo { Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(12).Ticks}
|
||||
yield return new TaskTriggerInfo
|
||||
{
|
||||
Type = TaskTriggerInfo.TriggerInterval, IntervalTicks = TimeSpan.FromHours(12).Ticks
|
||||
};
|
||||
}
|
||||
|
||||
@@ -60,7 +59,7 @@ namespace Emby.Server.Implementations.ScheduledTasks
|
||||
|
||||
public string Name => "Scan media library";
|
||||
|
||||
public string Description => "Scans your media library and refreshes metatata based on configuration.";
|
||||
public string Description => "Scans your media library for new files and refreshes metadata.";
|
||||
|
||||
public string Category => "Library";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user