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