mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-19 16:46:36 +00:00
Update to use SupportsMediaControl
This commit is contained in:
@@ -109,7 +109,7 @@ namespace MediaBrowser.Server.Implementations.Devices
|
||||
devices = devices.Where(i =>
|
||||
{
|
||||
var caps = GetCapabilities(i.Id);
|
||||
var deviceVal = caps.SupportsUniqueIdentifier ?? caps.SupportsPersistentIdentifier;
|
||||
var deviceVal = caps.SupportsPersistentIdentifier;
|
||||
return deviceVal == val;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1327,8 +1327,7 @@ namespace MediaBrowser.Server.Implementations.Session
|
||||
ClientCapabilities capabilities,
|
||||
bool saveCapabilities)
|
||||
{
|
||||
session.PlayableMediaTypes = capabilities.PlayableMediaTypes;
|
||||
session.SupportedCommands = capabilities.SupportedCommands;
|
||||
session.Capabilities = capabilities;
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(capabilities.MessageCallbackUrl))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user