mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-08 04:18:06 +02:00
fix: remove unused null check
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
4b4c74bdcd
commit
d10090b394
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ namespace Jellyfin.Api.Controllers
|
||||||
_sessionManager.ReportCapabilities(id, new ClientCapabilities
|
_sessionManager.ReportCapabilities(id, new ClientCapabilities
|
||||||
{
|
{
|
||||||
PlayableMediaTypes = RequestHelpers.Split(playableMediaTypes, ',', true),
|
PlayableMediaTypes = RequestHelpers.Split(playableMediaTypes, ',', true),
|
||||||
SupportedCommands = supportedCommands == null ? Array.Empty<GeneralCommandType>() : supportedCommands,
|
SupportedCommands = supportedCommands,
|
||||||
SupportsMediaControl = supportsMediaControl,
|
SupportsMediaControl = supportsMediaControl,
|
||||||
SupportsSync = supportsSync,
|
SupportsSync = supportsSync,
|
||||||
SupportsPersistentIdentifier = supportsPersistentIdentifier
|
SupportsPersistentIdentifier = supportsPersistentIdentifier
|
||||||
|
|
Loading…
Reference in a new issue