mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 09:44:47 +03:00
Merge pull request #4781 from crobibero/map-xmltv
Use request body for mapping xml channels
(cherry picked from commit 906ee4f962)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
committed by
Joshua M. Boniface
parent
480ded0671
commit
00a608dfab
28
Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
Normal file
28
Jellyfin.Api/Models/LiveTvDtos/SetChannelMappingDto.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Jellyfin.Api.Models.LiveTvDtos
|
||||
{
|
||||
/// <summary>
|
||||
/// Set channel mapping dto.
|
||||
/// </summary>
|
||||
public class SetChannelMappingDto
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the provider id.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string ProviderId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the tuner channel id.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string TunerChannelId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the provider channel id.
|
||||
/// </summary>
|
||||
[Required]
|
||||
public string ProviderChannelId { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user