mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 12:05:04 +01:00
move collections back under movies. add movie suggestions page.
This commit is contained in:
29
MediaBrowser.Model/Dto/RecommendationDto.cs
Normal file
29
MediaBrowser.Model/Dto/RecommendationDto.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
public class RecommendationDto
|
||||
{
|
||||
public BaseItemDto[] Items { get; set; }
|
||||
|
||||
public RecommendationType RecommendationType { get; set; }
|
||||
|
||||
public string BaselineItemName { get; set; }
|
||||
|
||||
public string CategoryId { get; set; }
|
||||
}
|
||||
|
||||
public enum RecommendationType
|
||||
{
|
||||
SimilarToRecentlyPlayed = 0,
|
||||
|
||||
SimilarToLikedItem = 1,
|
||||
|
||||
HasDirectorFromRecentlyPlayed = 2,
|
||||
|
||||
HasActorFromRecentlyPlayed = 3,
|
||||
|
||||
HasLikedDirector = 4,
|
||||
|
||||
HasLikedActor = 5
|
||||
}
|
||||
}
|
||||
@@ -46,6 +46,30 @@ namespace MediaBrowser.Model.Entities
|
||||
/// <value>The primary image tag.</value>
|
||||
public Guid? PrimaryImageTag { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the thumb image tag.
|
||||
/// </summary>
|
||||
/// <value>The thumb image tag.</value>
|
||||
public Guid? ThumbImageTag { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the thumb item identifier.
|
||||
/// </summary>
|
||||
/// <value>The thumb item identifier.</value>
|
||||
public string ThumbItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the thumb image tag.
|
||||
/// </summary>
|
||||
/// <value>The thumb image tag.</value>
|
||||
public Guid? BackdropImageTag { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the thumb item identifier.
|
||||
/// </summary>
|
||||
/// <value>The thumb item identifier.</value>
|
||||
public string BackdropItemId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance has primary image.
|
||||
/// </summary>
|
||||
|
||||
@@ -74,6 +74,7 @@
|
||||
<Compile Include="Dto\ItemByNameCounts.cs" />
|
||||
<Compile Include="Dto\ItemCounts.cs" />
|
||||
<Compile Include="Dto\ItemIndex.cs" />
|
||||
<Compile Include="Dto\RecommendationDto.cs" />
|
||||
<Compile Include="Entities\PackageReviewInfo.cs" />
|
||||
<Compile Include="FileOrganization\FileOrganizationResult.cs" />
|
||||
<Compile Include="FileOrganization\FileOrganizationQuery.cs" />
|
||||
|
||||
Reference in New Issue
Block a user