rename channel query objects

This commit is contained in:
Luke Pulverenti
2014-05-31 11:13:07 -04:00
parent 704571605b
commit df83adbb71
16 changed files with 58 additions and 33 deletions

View File

@@ -29,7 +29,7 @@ namespace MediaBrowser.Controller.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>
/// Supply the image path if it can be accessed directly from the file system

View File

@@ -72,7 +72,7 @@ namespace MediaBrowser.Controller.LiveTv
/// <param name="query">The query.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>IEnumerable{Channel}.</returns>
Task<QueryResult<ChannelInfoDto>> GetChannels(ChannelQuery query, CancellationToken cancellationToken);
Task<QueryResult<ChannelInfoDto>> GetChannels(LiveTvChannelQuery query, CancellationToken cancellationToken);
/// <summary>
/// Gets the recording.

View File

@@ -63,7 +63,7 @@ namespace MediaBrowser.Controller.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; }
public string ServiceName { get; set; }
@@ -101,7 +101,7 @@ namespace MediaBrowser.Controller.LiveTv
{
get
{
return ChannelType == ChannelType.Radio ? Model.Entities.MediaType.Audio : Model.Entities.MediaType.Video;
return ChannelType == LiveTvChannelType.Radio ? Model.Entities.MediaType.Audio : Model.Entities.MediaType.Video;
}
}

View File

@@ -35,7 +35,7 @@ namespace MediaBrowser.Controller.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>
/// The start date of the program, in UTC.
@@ -161,7 +161,7 @@ namespace MediaBrowser.Controller.LiveTv
{
get
{
return ChannelType == ChannelType.TV ? Model.Entities.MediaType.Video : Model.Entities.MediaType.Audio;
return ChannelType == LiveTvChannelType.TV ? Model.Entities.MediaType.Video : Model.Entities.MediaType.Audio;
}
}

View File

@@ -26,7 +26,7 @@ namespace MediaBrowser.Controller.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>
/// Name of the recording.