aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Sync
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-02-11 13:29:42 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-02-11 13:29:42 -0500
commit9e8d35dadc2859d39c3daab98458fd9d1be03865 (patch)
treed592e66201771359cecf28d3ab58f4ed32f7838e /MediaBrowser.Server.Implementations/Sync
parent232d0eb14c10003a98b33c1d9c7a26c69f852d21 (diff)
update recording sync fields
Diffstat (limited to 'MediaBrowser.Server.Implementations/Sync')
-rw-r--r--MediaBrowser.Server.Implementations/Sync/SyncManager.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/Sync/SyncManager.cs b/MediaBrowser.Server.Implementations/Sync/SyncManager.cs
index 21377da7e..50a960956 100644
--- a/MediaBrowser.Server.Implementations/Sync/SyncManager.cs
+++ b/MediaBrowser.Server.Implementations/Sync/SyncManager.cs
@@ -491,6 +491,11 @@ namespace MediaBrowser.Server.Implementations.Sync
public bool SupportsSync(BaseItem item)
{
+ if (item == null)
+ {
+ throw new ArgumentNullException("item");
+ }
+
if (item is Playlist)
{
return true;