isolate .net specific methods in model project

This commit is contained in:
Luke Pulverenti
2014-06-01 00:11:04 -04:00
parent d1e045f662
commit 20d35a6405
40 changed files with 336 additions and 187 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 LiveTvChannelType ChannelType { get; set; }
public ChannelType ChannelType { get; set; }
/// <summary>
/// Supply the image path if it can be accessed directly from the file system

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