diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-11-12 12:17:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-12 12:17:46 +0100 |
| commit | 4288106acdcd36d6d18c9f1be884f791e4e5170b (patch) | |
| tree | 686c1c708f189663b86d92c512dc0bcfd8b1aadc /MediaBrowser.Model/Session | |
| parent | 88873b6e9eedd1b600bd17c56ee66109d2ef566d (diff) | |
| parent | 453c65d6193ff9745d03e043725fd67712aaec62 (diff) | |
Merge pull request #9762 from crobibero/media-type
Convert string MediaType to enum MediaType
Diffstat (limited to 'MediaBrowser.Model/Session')
| -rw-r--r-- | MediaBrowser.Model/Session/ClientCapabilities.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Session/ClientCapabilities.cs b/MediaBrowser.Model/Session/ClientCapabilities.cs index d692906c6..7fefce9cd 100644 --- a/MediaBrowser.Model/Session/ClientCapabilities.cs +++ b/MediaBrowser.Model/Session/ClientCapabilities.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; +using Jellyfin.Data.Enums; using MediaBrowser.Model.Dlna; namespace MediaBrowser.Model.Session @@ -11,12 +12,12 @@ namespace MediaBrowser.Model.Session { public ClientCapabilities() { - PlayableMediaTypes = Array.Empty<string>(); + PlayableMediaTypes = Array.Empty<MediaType>(); SupportedCommands = Array.Empty<GeneralCommandType>(); SupportsPersistentIdentifier = true; } - public IReadOnlyList<string> PlayableMediaTypes { get; set; } + public IReadOnlyList<MediaType> PlayableMediaTypes { get; set; } public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; } |
