mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-19 12:44:19 +01:00
create sync job items pages
This commit is contained in:
@@ -105,7 +105,12 @@ namespace MediaBrowser.Server.Implementations.Devices
|
||||
var val = query.SupportsUniqueIdentifier.Value;
|
||||
|
||||
devices = devices.Where(i => GetCapabilities(i.Id).SupportsUniqueIdentifier == val);
|
||||
}
|
||||
}
|
||||
|
||||
if (!string.IsNullOrWhiteSpace(query.UserId))
|
||||
{
|
||||
devices = devices.Where(i => CanAccessDevice(query.UserId, i.Id));
|
||||
}
|
||||
|
||||
var array = devices.ToArray();
|
||||
return new QueryResult<DeviceInfo>
|
||||
|
||||
Reference in New Issue
Block a user