diff options
| author | github@esslinger.dev <simon@esslinger.dev> | 2020-10-02 18:29:59 +0200 |
|---|---|---|
| committer | github@esslinger.dev <simon@esslinger.dev> | 2020-10-02 18:29:59 +0200 |
| commit | c3e7eb3a6f1ba5eb77841ef4e3c350204e12cb20 (patch) | |
| tree | 3ef2cb674ad8c6b079541a65726bc3a3142be178 /Jellyfin.Api/Controllers/SessionController.cs | |
| parent | 9aad772288145645d51f93b26a2493782f55f2d3 (diff) | |
| parent | 21b39a207dd4a6864e9d7bfe1c1e9253cbfc0f06 (diff) | |
Merge branch '4214-supported-commands-enum' of https://github.com/skyfrk/jellyfin into 4214-supported-commands-enum
Diffstat (limited to 'Jellyfin.Api/Controllers/SessionController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/SessionController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/SessionController.cs b/Jellyfin.Api/Controllers/SessionController.cs index 3dbf7ba0b..565670962 100644 --- a/Jellyfin.Api/Controllers/SessionController.cs +++ b/Jellyfin.Api/Controllers/SessionController.cs @@ -392,7 +392,7 @@ namespace Jellyfin.Api.Controllers _sessionManager.ReportCapabilities(id, new ClientCapabilities { PlayableMediaTypes = RequestHelpers.Split(playableMediaTypes, ',', true), - SupportedCommands = supportedCommands == null ? Array.Empty<GeneralCommandType>() : supportedCommands, + SupportedCommands = supportedCommands, SupportsMediaControl = supportsMediaControl, SupportsSync = supportsSync, SupportsPersistentIdentifier = supportsPersistentIdentifier |
