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

@@ -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;
}
}