mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-07 00:08:29 +01:00
added collection type
This commit is contained in:
@@ -161,6 +161,13 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <returns>Task{ItemsResult}.</returns>
|
||||
Task<ItemsResult> GetSimilarMoviesAsync(SimilarItemsQuery query);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the similar trailers async.
|
||||
/// </summary>
|
||||
/// <param name="query">The query.</param>
|
||||
/// <returns>Task{ItemsResult}.</returns>
|
||||
Task<ItemsResult> GetSimilarTrailersAsync(SimilarItemsQuery query);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the similar series async.
|
||||
/// </summary>
|
||||
|
||||
20
MediaBrowser.Model/Entities/CollectionType.cs
Normal file
20
MediaBrowser.Model/Entities/CollectionType.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
namespace MediaBrowser.Model.Entities
|
||||
{
|
||||
public static class CollectionType
|
||||
{
|
||||
public const string Movies = "movies";
|
||||
|
||||
public const string TvShows = "tvshows";
|
||||
|
||||
public const string Music = "music";
|
||||
|
||||
public const string MusicVideos = "musicvideos";
|
||||
|
||||
public const string Trailers = "trailers";
|
||||
|
||||
public const string HomeVideos = "homevideos";
|
||||
|
||||
public const string BoxSets = "boxsets";
|
||||
}
|
||||
}
|
||||
@@ -19,6 +19,12 @@ namespace MediaBrowser.Model.Entities
|
||||
/// <value>The locations.</value>
|
||||
public List<string> Locations { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the collection.
|
||||
/// </summary>
|
||||
/// <value>The type of the collection.</value>
|
||||
public string CollectionType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="VirtualFolderInfo"/> class.
|
||||
/// </summary>
|
||||
|
||||
@@ -53,6 +53,7 @@
|
||||
<Compile Include="Dto\ItemByNameCounts.cs" />
|
||||
<Compile Include="Dto\ItemCounts.cs" />
|
||||
<Compile Include="Dto\StudioDto.cs" />
|
||||
<Compile Include="Entities\CollectionType.cs" />
|
||||
<Compile Include="Entities\ItemReview.cs" />
|
||||
<Compile Include="Entities\MediaUrl.cs" />
|
||||
<Compile Include="Entities\MetadataFields.cs" />
|
||||
|
||||
Reference in New Issue
Block a user