create sync job items pages

This commit is contained in:
Luke Pulverenti
2014-12-31 01:24:49 -05:00
parent 5e6354854d
commit 8f26921d00
28 changed files with 327 additions and 157 deletions

View File

@@ -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>