Skip to content

Commit

Permalink
update logging
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed Jun 21, 2017
1 parent ff52564 commit 4a821c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ protected override List<BaseItem> GetItemsWithImages(IHasImages item)
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);
}
Expand Down
2 changes: 1 addition & 1 deletion MediaBrowser.Server.Mono/ImageEncoderHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public static IImageEncoder GetImageEncoder(ILogger logger,
}
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
Expand Down
2 changes: 1 addition & 1 deletion MediaBrowser.WebDashboard/Api/PackageCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public bool IsCoreHtml(string path)
var parent = _fileSystem.GetDirectoryName(path);

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>
Expand Down

0 comments on commit 4a821c8

Please sign in to comment.