Support filter by index number in ItemsController
This commit is contained in:
parent
dc2eca9f2c
commit
69e0ed42ea
|
@ -76,6 +76,7 @@ public class ItemsController : BaseJellyfinApiController
|
||||||
/// <param name="hasSpecialFeature">Optional filter by items with special features.</param>
|
/// <param name="hasSpecialFeature">Optional filter by items with special features.</param>
|
||||||
/// <param name="hasTrailer">Optional filter by items with trailers.</param>
|
/// <param name="hasTrailer">Optional filter by items with trailers.</param>
|
||||||
/// <param name="adjacentTo">Optional. Return items that are siblings of a supplied item.</param>
|
/// <param name="adjacentTo">Optional. Return items that are siblings of a supplied item.</param>
|
||||||
|
/// <param name="indexNumber">Optional filter by index number.</param>
|
||||||
/// <param name="parentIndexNumber">Optional filter by parent index number.</param>
|
/// <param name="parentIndexNumber">Optional filter by parent index number.</param>
|
||||||
/// <param name="hasParentalRating">Optional filter by items that have or do not have a parental rating.</param>
|
/// <param name="hasParentalRating">Optional filter by items that have or do not have a parental rating.</param>
|
||||||
/// <param name="isHd">Optional filter by items that are HD or not.</param>
|
/// <param name="isHd">Optional filter by items that are HD or not.</param>
|
||||||
|
@ -165,6 +166,7 @@ public class ItemsController : BaseJellyfinApiController
|
||||||
[FromQuery] bool? hasSpecialFeature,
|
[FromQuery] bool? hasSpecialFeature,
|
||||||
[FromQuery] bool? hasTrailer,
|
[FromQuery] bool? hasTrailer,
|
||||||
[FromQuery] Guid? adjacentTo,
|
[FromQuery] Guid? adjacentTo,
|
||||||
|
[FromQuery] int? indexNumber,
|
||||||
[FromQuery] int? parentIndexNumber,
|
[FromQuery] int? parentIndexNumber,
|
||||||
[FromQuery] bool? hasParentalRating,
|
[FromQuery] bool? hasParentalRating,
|
||||||
[FromQuery] bool? isHd,
|
[FromQuery] bool? isHd,
|
||||||
|
@ -366,6 +368,7 @@ public class ItemsController : BaseJellyfinApiController
|
||||||
MinCommunityRating = minCommunityRating,
|
MinCommunityRating = minCommunityRating,
|
||||||
MinCriticRating = minCriticRating,
|
MinCriticRating = minCriticRating,
|
||||||
ParentId = parentId ?? Guid.Empty,
|
ParentId = parentId ?? Guid.Empty,
|
||||||
|
IndexNumber = indexNumber,
|
||||||
ParentIndexNumber = parentIndexNumber,
|
ParentIndexNumber = parentIndexNumber,
|
||||||
EnableTotalRecordCount = enableTotalRecordCount,
|
EnableTotalRecordCount = enableTotalRecordCount,
|
||||||
ExcludeItemIds = excludeItemIds,
|
ExcludeItemIds = excludeItemIds,
|
||||||
|
@ -717,6 +720,7 @@ public class ItemsController : BaseJellyfinApiController
|
||||||
hasSpecialFeature,
|
hasSpecialFeature,
|
||||||
hasTrailer,
|
hasTrailer,
|
||||||
adjacentTo,
|
adjacentTo,
|
||||||
|
null,
|
||||||
parentIndexNumber,
|
parentIndexNumber,
|
||||||
hasParentalRating,
|
hasParentalRating,
|
||||||
isHd,
|
isHd,
|
||||||
|
|
|
@ -215,6 +215,7 @@ public class TrailersController : BaseJellyfinApiController
|
||||||
hasSpecialFeature,
|
hasSpecialFeature,
|
||||||
hasTrailer,
|
hasTrailer,
|
||||||
adjacentTo,
|
adjacentTo,
|
||||||
|
null,
|
||||||
parentIndexNumber,
|
parentIndexNumber,
|
||||||
hasParentalRating,
|
hasParentalRating,
|
||||||
isHd,
|
isHd,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user