aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/LiveTv
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2023-05-13 12:44:31 -0600
committerCody Robibero <cody@robibe.ro>2023-10-10 15:57:15 -0600
commit2920611ffc206d845563637c4a865bf3f02d1374 (patch)
treec69c43264165df71866220966929e7a07a907d20 /MediaBrowser.Controller/LiveTv
parent74f61fbd79ef2e2ad4a986f5f886581b2827de07 (diff)
Convert string MediaType to enum MediaType
Diffstat (limited to 'MediaBrowser.Controller/LiveTv')
-rw-r--r--MediaBrowser.Controller/LiveTv/LiveTvChannel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs b/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs
index f11e3c8f68..3c2cf8e3d2 100644
--- a/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs
+++ b/MediaBrowser.Controller/LiveTv/LiveTvChannel.cs
@@ -44,7 +44,7 @@ namespace MediaBrowser.Controller.LiveTv
public override LocationType LocationType => LocationType.Remote;
[JsonIgnore]
- public override string MediaType => ChannelType == ChannelType.Radio ? Model.Entities.MediaType.Audio : Model.Entities.MediaType.Video;
+ public override MediaType MediaType => ChannelType == ChannelType.Radio ? MediaType.Audio : MediaType.Video;
[JsonIgnore]
public bool IsMovie { get; set; }