resolve holiday theme disrupting playback

pull/1154/head
Luke Pulverenti 8 years ago
parent 7f7be26771
commit c0128a0a11

@ -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();

Loading…
Cancel
Save