move download images in advance option from global to per library

This commit is contained in:
Luke Pulverenti
2016-09-11 13:09:10 -04:00
parent d87cfdb260
commit 0f760af82c
5 changed files with 39 additions and 24 deletions

View File

@@ -345,6 +345,7 @@ namespace MediaBrowser.Server.Startup.Common
{
var name = entryPoint.GetType().FullName;
Logger.Info("Starting entry point {0}", name);
var now = DateTime.UtcNow;
try
{
entryPoint.Run();
@@ -353,7 +354,7 @@ namespace MediaBrowser.Server.Startup.Common
{
Logger.ErrorException("Error in {0}", ex, name);
}
Logger.Info("Entry point completed: {0}", name);
Logger.Info("Entry point completed: {0}. Duration: {1} seconds", name, (DateTime.UtcNow - now).TotalSeconds.ToString(CultureInfo.InvariantCulture));
}
Logger.Info("All entry points have started");