resolve holiday theme disrupting playback

This commit is contained in:
Luke Pulverenti 2016-12-21 15:08:20 -05:00
parent 7f7be26771
commit c0128a0a11

View File

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