Merge pull request #2361 from MediaBrowser/dev

resolve holiday theme disrupting playback
This commit is contained in:
Luke 2016-12-21 15:08:56 -05:00 committed by GitHub
commit ef67172555

View File

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