aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2015-10-26 01:29:32 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2015-10-26 01:29:32 -0400
commitc80e1df1ca1b5b2a082bf6a10e0c4c35d3a31f3b (patch)
treeb4decdfd240182061ab55299b12798b429f7a82d /MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
parent2890c71af92dcb6920c4ab7da48cd6807ca86703 (diff)
support null image encoder
Diffstat (limited to 'MediaBrowser.Server.Implementations/Devices/DeviceManager.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Devices/DeviceManager.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs b/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
index 361514625..0b2c082a8 100644
--- a/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
+++ b/MediaBrowser.Server.Implementations/Devices/DeviceManager.cs
@@ -265,6 +265,11 @@ namespace MediaBrowser.Server.Implementations.Devices
return true;
}
+ if (policy.IsAdministrator)
+ {
+ return true;
+ }
+
return ListHelper.ContainsIgnoreCase(policy.EnabledDevices, id);
}
}