mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Merge branch 'master' into feature/DatabaseRefactor
This commit is contained in:
commit
850f1c79f1
105 changed files with 1478 additions and 802 deletions
|
|
@ -698,6 +698,7 @@ public class LiveTvController : BaseJellyfinApiController
|
|||
/// Gets recommended live tv epgs.
|
||||
/// </summary>
|
||||
/// <param name="userId">Optional. filter by user id.</param>
|
||||
/// <param name="startIndex">Optional. The record index to start at. All items with a lower index will be dropped from the results.</param>
|
||||
/// <param name="limit">Optional. The maximum number of records to return.</param>
|
||||
/// <param name="isAiring">Optional. Filter by programs that are currently airing, or not.</param>
|
||||
/// <param name="hasAired">Optional. Filter by programs that have completed airing, or not.</param>
|
||||
|
|
@ -720,6 +721,7 @@ public class LiveTvController : BaseJellyfinApiController
|
|||
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||
public async Task<ActionResult<QueryResult<BaseItemDto>>> GetRecommendedPrograms(
|
||||
[FromQuery] Guid? userId,
|
||||
[FromQuery] int? startIndex,
|
||||
[FromQuery] int? limit,
|
||||
[FromQuery] bool? isAiring,
|
||||
[FromQuery] bool? hasAired,
|
||||
|
|
@ -744,6 +746,7 @@ public class LiveTvController : BaseJellyfinApiController
|
|||
var query = new InternalItemsQuery(user)
|
||||
{
|
||||
IsAiring = isAiring,
|
||||
StartIndex = startIndex,
|
||||
Limit = limit,
|
||||
HasAired = hasAired,
|
||||
IsSeries = isSeries,
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using Jellyfin.Api.Attributes;
|
||||
using Jellyfin.Api.Extensions;
|
||||
using Jellyfin.Api.Helpers;
|
||||
using Jellyfin.Api.ModelBinders;
|
||||
|
|
@ -86,7 +87,7 @@ public class TvShowsController : BaseJellyfinApiController
|
|||
[FromQuery] bool? enableUserData,
|
||||
[FromQuery] DateTime? nextUpDateCutoff,
|
||||
[FromQuery] bool enableTotalRecordCount = true,
|
||||
[FromQuery] bool disableFirstEpisode = false,
|
||||
[FromQuery][ParameterObsolete] bool disableFirstEpisode = false,
|
||||
[FromQuery] bool enableResumable = true,
|
||||
[FromQuery] bool enableRewatching = false)
|
||||
{
|
||||
|
|
@ -109,7 +110,6 @@ public class TvShowsController : BaseJellyfinApiController
|
|||
StartIndex = startIndex,
|
||||
User = user,
|
||||
EnableTotalRecordCount = enableTotalRecordCount,
|
||||
DisableFirstEpisode = disableFirstEpisode,
|
||||
NextUpDateCutoff = nextUpDateCutoff ?? DateTime.MinValue,
|
||||
EnableResumable = enableResumable,
|
||||
EnableRewatching = enableRewatching
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue