diff options
| author | Cody Robibero <cody@robibe.ro> | 2023-05-13 12:44:31 -0600 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2023-10-10 15:57:15 -0600 |
| commit | 2920611ffc206d845563637c4a865bf3f02d1374 (patch) | |
| tree | c69c43264165df71866220966929e7a07a907d20 /MediaBrowser.Controller/Entities/BaseItem.cs | |
| parent | 74f61fbd79ef2e2ad4a986f5f886581b2827de07 (diff) | |
Convert string MediaType to enum MediaType
Diffstat (limited to 'MediaBrowser.Controller/Entities/BaseItem.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/BaseItem.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/BaseItem.cs b/MediaBrowser.Controller/Entities/BaseItem.cs index 9f3e8eec9..f83065a01 100644 --- a/MediaBrowser.Controller/Entities/BaseItem.cs +++ b/MediaBrowser.Controller/Entities/BaseItem.cs @@ -422,7 +422,7 @@ namespace MediaBrowser.Controller.Entities /// </summary> /// <value>The type of the media.</value> [JsonIgnore] - public virtual string MediaType => null; + public virtual MediaType MediaType => MediaType.Unknown; [JsonIgnore] public virtual string[] PhysicalLocations |
