|
|
|
@ -33,10 +33,10 @@ namespace Emby.Server.Implementations.Migrations
|
|
|
|
|
{
|
|
|
|
|
Task.Run(() =>
|
|
|
|
|
{
|
|
|
|
|
var task = _taskManager.ScheduledTasks.Select(i => i.ScheduledTask)
|
|
|
|
|
.First(i => string.Equals(i.Key, "RefreshLibrary", StringComparison.OrdinalIgnoreCase));
|
|
|
|
|
|
|
|
|
|
_taskManager.QueueScheduledTask(task);
|
|
|
|
|
_taskManager.QueueScheduledTask(_taskManager.ScheduledTasks.Select(i => i.ScheduledTask)
|
|
|
|
|
.First(i => string.Equals(i.Key, "RefreshLibrary", StringComparison.OrdinalIgnoreCase)));
|
|
|
|
|
_taskManager.QueueScheduledTask(_taskManager.ScheduledTasks.Select(i => i.ScheduledTask)
|
|
|
|
|
.First(i => string.Equals(i.Key, "RefreshGuide", StringComparison.OrdinalIgnoreCase)));
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var list = _config.Configuration.Migrations.ToList();
|
|
|
|
|