mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-23 18:44:45 +01:00
rename channel query objects
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using MediaBrowser.Model.Configuration;
|
||||
using MediaBrowser.Model.Channels;
|
||||
using MediaBrowser.Model.Configuration;
|
||||
using MediaBrowser.Model.Dto;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Globalization;
|
||||
@@ -1147,5 +1148,29 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{SeriesTimerInfoDto}.</returns>
|
||||
Task<SeriesTimerInfoDto> GetDefaultLiveTvTimerInfo(string programId, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the channel features.
|
||||
/// </summary>
|
||||
/// <param name="channelId">The channel identifier.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{ChannelFeatures}.</returns>
|
||||
Task<ChannelFeatures> GetChannelFeatures(string channelId, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the channel items.
|
||||
/// </summary>
|
||||
/// <param name="query">The query.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{QueryResult{BaseItemDto}}.</returns>
|
||||
Task<QueryResult<BaseItemDto>> GetChannelItems(ChannelItemQuery query, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the channels.
|
||||
/// </summary>
|
||||
/// <param name="query">The query.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task{QueryResult{BaseItemDto}}.</returns>
|
||||
Task<QueryResult<BaseItemDto>> GetChannels(ChannelQuery query, CancellationToken cancellationToken);
|
||||
}
|
||||
}
|
||||
@@ -62,7 +62,7 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// Gets or sets the type of the channel.
|
||||
/// </summary>
|
||||
/// <value>The type of the channel.</value>
|
||||
public ChannelType ChannelType { get; set; }
|
||||
public LiveTvChannelType ChannelType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the type.
|
||||
|
||||
@@ -4,13 +4,13 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// <summary>
|
||||
/// Class ChannelQuery.
|
||||
/// </summary>
|
||||
public class ChannelQuery
|
||||
public class LiveTvChannelQuery
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the type of the channel.
|
||||
/// </summary>
|
||||
/// <value>The type of the channel.</value>
|
||||
public ChannelType? ChannelType { get; set; }
|
||||
public LiveTvChannelType? ChannelType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is favorite.
|
||||
@@ -4,7 +4,7 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// <summary>
|
||||
/// Enum ChannelType
|
||||
/// </summary>
|
||||
public enum ChannelType
|
||||
public enum LiveTvChannelType
|
||||
{
|
||||
/// <summary>
|
||||
/// The TV
|
||||
@@ -164,7 +164,7 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// Gets or sets the type of the channel.
|
||||
/// </summary>
|
||||
/// <value>The type of the channel.</value>
|
||||
public ChannelType ChannelType { get; set; }
|
||||
public LiveTvChannelType ChannelType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the official rating.
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
<Compile Include="Library\PlayAccess.cs" />
|
||||
<Compile Include="LiveTv\BaseTimerInfoDto.cs" />
|
||||
<Compile Include="LiveTv\ChannelInfoDto.cs" />
|
||||
<Compile Include="LiveTv\ChannelQuery.cs" />
|
||||
<Compile Include="LiveTv\LiveTvChannelQuery.cs" />
|
||||
<Compile Include="LiveTv\DayPattern.cs" />
|
||||
<Compile Include="LiveTv\GuideInfo.cs" />
|
||||
<Compile Include="LiveTv\LiveTvInfo.cs" />
|
||||
@@ -200,7 +200,7 @@
|
||||
<Compile Include="IO\IIsoManager.cs" />
|
||||
<Compile Include="IO\IIsoMount.cs" />
|
||||
<Compile Include="IO\IIsoMounter.cs" />
|
||||
<Compile Include="LiveTv\ChannelType.cs" />
|
||||
<Compile Include="LiveTv\LiveTvChannelType.cs" />
|
||||
<Compile Include="LiveTv\LiveTvServiceInfo.cs" />
|
||||
<Compile Include="LiveTv\RecordingInfoDto.cs" />
|
||||
<Compile Include="Net\WebSocketMessage.cs" />
|
||||
|
||||
Reference in New Issue
Block a user