mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-31 12:14:21 -04:00
add image magick libs
This commit is contained in:
parent
d2b3146108
commit
59e005e976
@ -5,10 +5,22 @@ namespace MediaBrowser.Controller.Entities
|
|||||||
{
|
{
|
||||||
public class ItemImageInfo
|
public class ItemImageInfo
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the path.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The path.</value>
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the type.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The type.</value>
|
||||||
public ImageType Type { get; set; }
|
public ImageType Type { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the date modified.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The date modified.</value>
|
||||||
public DateTime DateModified { get; set; }
|
public DateTime DateModified { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -177,7 +177,7 @@ namespace MediaBrowser.Controller.Providers
|
|||||||
|
|
||||||
public class PersonLookupInfo : ItemLookupInfo
|
public class PersonLookupInfo : ItemLookupInfo
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class MovieInfo : ItemLookupInfo
|
public class MovieInfo : ItemLookupInfo
|
||||||
|
@ -911,7 +911,8 @@ namespace MediaBrowser.Server.Implementations.Dto
|
|||||||
|
|
||||||
// Prevent implicitly captured closure
|
// Prevent implicitly captured closure
|
||||||
var currentItem = item;
|
var 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)
|
if (options.GetImageLimit(image.Type) > 0)
|
||||||
{
|
{
|
||||||
|
@ -231,6 +231,57 @@
|
|||||||
<Content Include="CORE_RL_zlib_.dll">
|
<Content Include="CORE_RL_zlib_.dll">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</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\Icon.ico" />
|
||||||
<Content Include="Resources\Images\mb3logo800.png" />
|
<Content Include="Resources\Images\mb3logo800.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
//[assembly: AssemblyVersion("3.0.*")]
|
[assembly: AssemblyVersion("3.0.*")]
|
||||||
[assembly: AssemblyVersion("3.0.5518.7")]
|
//[assembly: AssemblyVersion("3.0.5518.7")]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user