display sync targets

This commit is contained in:
Luke Pulverenti
2014-12-15 00:49:04 -05:00
parent e92e036574
commit 7f7d2f85e3
3 changed files with 32 additions and 3 deletions

View File

@@ -91,6 +91,13 @@ namespace MediaBrowser.Server.Implementations.Devices
devices = devices.Where(i => GetCapabilities(i.Id).SupportsContentUploading == val);
}
if (query.SupportsSync.HasValue)
{
var val = query.SupportsSync.Value;
devices = devices.Where(i => GetCapabilities(i.Id).SupportsSync == val);
}
if (query.SupportsUniqueIdentifier.HasValue)
{
var val = query.SupportsUniqueIdentifier.Value;