The Free Software Media System - Server Backend & API
add image magick libs
Luke Pulverenti59e005e97609
diff --git a/MediaBrowser.Controller/Entities/ItemImageInfo.cs b/MediaBrowser.Controller/Entities/ItemImageInfo.csindex 80aec64824..b36b818ffe 100644--- a/MediaBrowser.Controller/Entities/ItemImageInfo.cs+++ b/MediaBrowser.Controller/Entities/ItemImageInfo.cs@@ -5,10 +5,22 @@ namespace MediaBrowser.Controller.Entities{public class ItemImageInfo{+ /// <summary>+ /// Gets or sets the path.+ /// </summary>+ /// <value>The path.</value>public string Path { get; set; }+ /// <summary>+ /// Gets or sets the type.+ /// </summary>+ /// <value>The type.</value>public ImageType Type { get; set; }+ /// <summary>+ /// Gets or sets the date modified.+ /// </summary>+ /// <value>The date modified.</value>public DateTime DateModified { get; set; }}}diff --git a/MediaBrowser.Controller/Providers/ItemLookupInfo.cs b/MediaBrowser.Controller/Providers/ItemLookupInfo.csindex 43b9210923..649096a75b 100644--- a/MediaBrowser.Controller/Providers/ItemLookupInfo.cs+++ b/MediaBrowser.Controller/Providers/ItemLookupInfo.cs@@ -177,7 +177,7 @@ namespace MediaBrowser.Controller.Providerspublic class PersonLookupInfo : ItemLookupInfo{-+}public class MovieInfo : ItemLookupInfodiff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.csindex c49a241103..b158097380 100644--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs@@ -911,7 +911,8 @@ namespace MediaBrowser.Server.Implementations.Dto// Prevent implicitly captured closurevar currentItem = item;- foreach (var image in currentItem.ImageInfos.Where(i => !currentItem.AllowsMultipleImages(i.Type)))+ foreach (var image in currentItem.ImageInfos.Where(i => !currentItem.AllowsMultipleImages(i.Type))+ .ToList()){if (options.GetImageLimit(image.Type) > 0){diff --git a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csprojindex e092009520..33ef823a6d 100644--- a/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj+++ b/MediaBrowser.ServerApplication/MediaBrowser.ServerApplication.csproj@@ -231,6 +231,57 @@<Content Include="CORE_RL_zlib_.dll"><CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory></Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_bmp_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_clipboard_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_dib_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_gif_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_gradient_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_histogram_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_html_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_jp2_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_jpeg_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_matte_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_miff_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_pattern_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_pdf_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_png_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_rgb_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_screenshot_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content>+ <Content Include="ImageMagickCoders\x86\IM_MOD_RL_thumbnail_.dll">+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>+ </Content><Content Include="Resources\Images\Icon.ico" /><Content Include="Resources\Images\mb3logo800.png" /></ItemGroup>diff --git a/SharedVersion.cs b/SharedVersion.csindex d87daf5e3b..b65e272bb1 100644--- a/SharedVersion.cs+++ b/SharedVersion.cs@@ -1,4 +1,4 @@using System.Reflection;-//[assembly: AssemblyVersion("3.0.*")]-[assembly: AssemblyVersion("3.0.5518.7")]+[assembly: AssemblyVersion("3.0.*")]+//[assembly: AssemblyVersion("3.0.5518.7")]