aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Models')
-rw-r--r--Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs b/Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs
index 633729c11..7210cc8f7 100644
--- a/Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs
+++ b/Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using System.ComponentModel;
using System.Text.Json.Serialization;
using Jellyfin.Data.Enums;
using Jellyfin.Extensions.Json.Converters;
@@ -121,6 +122,7 @@ public class GetProgramsDto
/// <summary>
/// Gets or sets a value indicating whether retrieve total record count.
/// </summary>
+ [DefaultValue(true)]
public bool EnableTotalRecordCount { get; set; } = true;
/// <summary>
@@ -147,7 +149,7 @@ public class GetProgramsDto
/// <summary>
/// Gets or sets filter by library series id.
/// </summary>
- public Guid LibrarySeriesId { get; set; }
+ public Guid? LibrarySeriesId { get; set; }
/// <summary>
/// Gets or sets specify additional fields of information to return in the output.