mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-28 19:38:26 +01:00
Added specialized episodes endpoint, updated nuget.
This commit is contained in:
@@ -225,6 +225,13 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <returns>Task{ItemCounts}.</returns>
|
||||
Task<ItemCounts> GetItemCountsAsync(ItemCountsQuery query);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the episodes asynchronous.
|
||||
/// </summary>
|
||||
/// <param name="query">The query.</param>
|
||||
/// <returns>Task{ItemsResult}.</returns>
|
||||
Task<ItemsResult> GetEpisodesAsync(EpisodeQuery query);
|
||||
|
||||
/// <summary>
|
||||
/// Queries for items
|
||||
/// </summary>
|
||||
|
||||
@@ -90,6 +90,7 @@
|
||||
<Compile Include="Notifications\NotificationsSummary.cs" />
|
||||
<Compile Include="Providers\RemoteImageResult.cs" />
|
||||
<Compile Include="Querying\ArtistsQuery.cs" />
|
||||
<Compile Include="Querying\EpisodeQuery.cs" />
|
||||
<Compile Include="Querying\ItemCountsQuery.cs" />
|
||||
<Compile Include="Querying\ItemReviewsResult.cs" />
|
||||
<Compile Include="Querying\ItemsByNameQuery.cs" />
|
||||
|
||||
23
MediaBrowser.Model/Querying/EpisodeQuery.cs
Normal file
23
MediaBrowser.Model/Querying/EpisodeQuery.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using MediaBrowser.Model.Entities;
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class EpisodeQuery
|
||||
{
|
||||
public string UserId { get; set; }
|
||||
|
||||
public string SeriesId { get; set; }
|
||||
|
||||
public LocationType[] ExcludeLocationTypes { get; set; }
|
||||
|
||||
public int? SeasonNumber { get; set; }
|
||||
|
||||
public ItemFields[] Fields { get; set; }
|
||||
|
||||
public EpisodeQuery()
|
||||
{
|
||||
Fields = new ItemFields[] { };
|
||||
ExcludeLocationTypes = new LocationType[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user