mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-16 07:12:18 +01:00
Add IListingsManager service
This commit is contained in:
31
MediaBrowser.Model/LiveTv/ChannelMappingOptionsDto.cs
Normal file
31
MediaBrowser.Model/LiveTv/ChannelMappingOptionsDto.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using MediaBrowser.Model.Dto;
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv;
|
||||
|
||||
/// <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; }
|
||||
}
|
||||
16
MediaBrowser.Model/LiveTv/TunerChannelMapping.cs
Normal file
16
MediaBrowser.Model/LiveTv/TunerChannelMapping.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
#nullable disable
|
||||
|
||||
#pragma warning disable CS1591
|
||||
|
||||
namespace MediaBrowser.Model.LiveTv;
|
||||
|
||||
public class TunerChannelMapping
|
||||
{
|
||||
public string Name { get; set; }
|
||||
|
||||
public string ProviderChannelName { get; set; }
|
||||
|
||||
public string ProviderChannelId { get; set; }
|
||||
|
||||
public string Id { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user