aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Models')
-rw-r--r--Jellyfin.Api/Models/LiveTvDtos/ChannelMappingOptionsDto.cs32
-rw-r--r--Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs2
2 files changed, 1 insertions, 33 deletions
diff --git a/Jellyfin.Api/Models/LiveTvDtos/ChannelMappingOptionsDto.cs b/Jellyfin.Api/Models/LiveTvDtos/ChannelMappingOptionsDto.cs
deleted file mode 100644
index cbc3548b1..000000000
--- a/Jellyfin.Api/Models/LiveTvDtos/ChannelMappingOptionsDto.cs
+++ /dev/null
@@ -1,32 +0,0 @@
-using System;
-using System.Collections.Generic;
-using MediaBrowser.Controller.LiveTv;
-using MediaBrowser.Model.Dto;
-
-namespace Jellyfin.Api.Models.LiveTvDtos;
-
-/// <summary>
-/// Channel mapping options dto.
-/// </summary>
-public class ChannelMappingOptionsDto
-{
- /// <summary>
- /// Gets or sets list of tuner channels.
- /// </summary>
- public required IReadOnlyList<TunerChannelMapping> TunerChannels { get; set; }
-
- /// <summary>
- /// Gets or sets list of provider channels.
- /// </summary>
- public required IReadOnlyList<NameIdPair> ProviderChannels { get; set; }
-
- /// <summary>
- /// Gets or sets list of mappings.
- /// </summary>
- public IReadOnlyList<NameValuePair> Mappings { get; set; } = Array.Empty<NameValuePair>();
-
- /// <summary>
- /// Gets or sets provider name.
- /// </summary>
- public string? ProviderName { get; set; }
-}
diff --git a/Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs b/Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs
index 6a30de5e6..8482b1cf1 100644
--- a/Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs
+++ b/Jellyfin.Api/Models/LiveTvDtos/GetProgramsDto.cs
@@ -22,7 +22,7 @@ public class GetProgramsDto
/// <summary>
/// Gets or sets optional. Filter by user id.
/// </summary>
- public Guid UserId { get; set; }
+ public Guid? UserId { get; set; }
/// <summary>
/// Gets or sets the minimum premiere start date.