From dee2fd5f880622ff11177fd2f251ed7e80155192 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 24 Nov 2013 18:37:38 -0500 Subject: allow editing of channel images in the web client --- MediaBrowser.Controller/LiveTv/Channel.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'MediaBrowser.Controller') diff --git a/MediaBrowser.Controller/LiveTv/Channel.cs b/MediaBrowser.Controller/LiveTv/Channel.cs index 26245e6fb7..94d76971c3 100644 --- a/MediaBrowser.Controller/LiveTv/Channel.cs +++ b/MediaBrowser.Controller/LiveTv/Channel.cs @@ -61,5 +61,13 @@ namespace MediaBrowser.Controller.LiveTv return number.ToString("000-") + (Name ?? string.Empty); } + + public override string MediaType + { + get + { + return ChannelType == ChannelType.Radio ? Model.Entities.MediaType.Audio : Model.Entities.MediaType.Video; + } + } } } -- cgit v1.2.3