mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
more on image uploading
This commit is contained in:
@@ -338,6 +338,12 @@ namespace MediaBrowser.Model.Dto
|
||||
/// <value>The backdrop image tags.</value>
|
||||
public List<Guid> BackdropImageTags { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the screenshot image tags.
|
||||
/// </summary>
|
||||
/// <value>The screenshot image tags.</value>
|
||||
public List<Guid> ScreenshotImageTags { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the parent logo image tag.
|
||||
/// </summary>
|
||||
@@ -440,6 +446,16 @@ namespace MediaBrowser.Model.Dto
|
||||
get { return BackdropImageTags == null ? 0 : BackdropImageTags.Count; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the screenshot count.
|
||||
/// </summary>
|
||||
/// <value>The screenshot count.</value>
|
||||
[IgnoreDataMember]
|
||||
public int ScreenshotCount
|
||||
{
|
||||
get { return ScreenshotImageTags == null ? 0 : ScreenshotImageTags.Count; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance has banner.
|
||||
/// </summary>
|
||||
|
||||
52
MediaBrowser.Model/Dto/ImageInfo.cs
Normal file
52
MediaBrowser.Model/Dto/ImageInfo.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
/// <summary>
|
||||
/// Class ImageInfo
|
||||
/// </summary>
|
||||
public class ImageInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the image.
|
||||
/// </summary>
|
||||
/// <value>The type of the image.</value>
|
||||
public ImageType ImageType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the index of the image.
|
||||
/// </summary>
|
||||
/// <value>The index of the image.</value>
|
||||
public int? ImageIndex { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The image tag
|
||||
/// </summary>
|
||||
public Guid ImageTag;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the path.
|
||||
/// </summary>
|
||||
/// <value>The path.</value>
|
||||
public string Path { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the height.
|
||||
/// </summary>
|
||||
/// <value>The height.</value>
|
||||
public int Height { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the width.
|
||||
/// </summary>
|
||||
/// <value>The width.</value>
|
||||
public int Width { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the size.
|
||||
/// </summary>
|
||||
/// <value>The size.</value>
|
||||
public long Size { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -45,6 +45,7 @@
|
||||
<Compile Include="Dto\BaseItemPerson.cs" />
|
||||
<Compile Include="Dto\ChapterInfoDto.cs" />
|
||||
<Compile Include="Dto\IItemDto.cs" />
|
||||
<Compile Include="Dto\ImageInfo.cs" />
|
||||
<Compile Include="Dto\ItemByNameCounts.cs" />
|
||||
<Compile Include="Dto\StudioDto.cs" />
|
||||
<Compile Include="Entities\IByReferenceItem.cs" />
|
||||
|
||||
Reference in New Issue
Block a user