aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-15 00:49:04 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-15 00:49:04 -0500
commit7f7d2f85e324bc9e2c6b170c89af0541601e8cad (patch)
treea6433ddb30c1d18e75b4619fe2b06623c6fbf92f /MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
parente92e0365747c04f081be0efbb9afb78dc96aef9b (diff)
display sync targets
Diffstat (limited to 'MediaBrowser.Server.Implementations/Devices/DeviceManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Devices/DeviceManager.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs b/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
index 8c67013ea..6cdc58118 100644
--- a/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
+++ b/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
@@ -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;