aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-11-24 18:37:38 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-11-24 18:37:38 -0500
commitdee2fd5f880622ff11177fd2f251ed7e80155192 (patch)
tree6069e478099fa757b46efc890656ae88c41d10c4 /MediaBrowser.Controller
parent01a9c07dd8bef8bb5d3abef4113d0449601b9ce5 (diff)
allow editing of channel images in the web client
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/LiveTv/Channel.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/LiveTv/Channel.cs b/MediaBrowser.Controller/LiveTv/Channel.cs
index 26245e6fb..94d76971c 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;
+ }
+ }
}
}