mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03:00
update logging
This commit is contained in:
@@ -26,7 +26,7 @@ namespace Emby.Server.Implementations.Photos
|
|||||||
return items;
|
return items;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected string CreateImage(IHasImages item, List<BaseItem> itemsWithImages, string outputPathWithoutExtension, ImageType imageType, int imageIndex)
|
protected override string CreateImage(IHasImages item, List<BaseItem> itemsWithImages, string outputPathWithoutExtension, ImageType imageType, int imageIndex)
|
||||||
{
|
{
|
||||||
return CreateSingleImage(itemsWithImages, outputPathWithoutExtension, ImageType.Primary);
|
return CreateSingleImage(itemsWithImages, outputPathWithoutExtension, ImageType.Primary);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ namespace MediaBrowser.Server.Startup.Common
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
logger.Error("Error loading Skia: {0}. Will revert to ImageMagick.", ex.Message);
|
logger.Info("Error loading Skia: {0}. Will revert to ImageMagick.", ex.Message);
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||||||
var parent = _fileSystem.GetDirectoryName(path);
|
var parent = _fileSystem.GetDirectoryName(path);
|
||||||
|
|
||||||
return string.Equals(_basePath, parent, StringComparison.OrdinalIgnoreCase) ||
|
return string.Equals(_basePath, parent, StringComparison.OrdinalIgnoreCase) ||
|
||||||
string.Equals(Path.Combine(_basePath, "voice"), parent, StringComparison.OrdinalIgnoreCase);
|
string.Equals(Path.Combine(_basePath, "offline"), parent, StringComparison.OrdinalIgnoreCase);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user