The Free Software Media System - Server Backend & API
update sync scripts
Luke Pulverenti0c2489059d80
diff --git a/Emby.Server.Implementations/Devices/DeviceManager.cs b/Emby.Server.Implementations/Devices/DeviceManager.csindex cdf636e22d..88c0ea2035 100644--- a/Emby.Server.Implementations/Devices/DeviceManager.cs+++ b/Emby.Server.Implementations/Devices/DeviceManager.cs@@ -101,13 +101,6 @@ namespace Emby.Server.Implementations.Devices{IEnumerable<DeviceInfo> devices = _repo.GetDevices().OrderByDescending(i => i.DateLastModified);- if (query.SupportsContentUploading.HasValue)- {- var val = query.SupportsContentUploading.Value;-- devices = devices.Where(i => GetCapabilities(i.Id).SupportsContentUploading == val);- }-if (query.SupportsSync.HasValue){var val = query.SupportsSync.Value;diff --git a/MediaBrowser.Api/Session/SessionsService.cs b/MediaBrowser.Api/Session/SessionsService.csindex 70e0d3c451..9c107bdff0 100644--- a/MediaBrowser.Api/Session/SessionsService.cs+++ b/MediaBrowser.Api/Session/SessionsService.cs@@ -237,9 +237,6 @@ namespace MediaBrowser.Api.Session[ApiMember(Name = "SupportsMediaControl", Description = "Determines whether media can be played remotely.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "POST")]public bool SupportsMediaControl { get; set; }- [ApiMember(Name = "SupportsContentUploading", Description = "Determines whether camera upload is supported.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "POST")]- public bool SupportsContentUploading { get; set; }-[ApiMember(Name = "SupportsSync", Description = "Determines whether sync is supported.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "POST")]public bool SupportsSync { get; set; }@@ -560,8 +557,6 @@ namespace MediaBrowser.Api.SessionMessageCallbackUrl = request.MessageCallbackUrl,- SupportsContentUploading = request.SupportsContentUploading,-SupportsSync = request.SupportsSync,SupportsPersistentIdentifier = request.SupportsPersistentIdentifierdiff --git a/MediaBrowser.Model/Devices/DeviceQuery.cs b/MediaBrowser.Model/Devices/DeviceQuery.csindex 9ae4986062..9ceea1ea8f 100644--- a/MediaBrowser.Model/Devices/DeviceQuery.cs+++ b/MediaBrowser.Model/Devices/DeviceQuery.cs@@ -3,11 +3,6 @@ namespace MediaBrowser.Model.Devices{public class DeviceQuery{- /// <summary>- /// Gets or sets a value indicating whether [supports content uploading].- /// </summary>- /// <value><c>null</c> if [supports content uploading] contains no value, <c>true</c> if [supports content uploading]; otherwise, <c>false</c>.</value>- public bool? SupportsContentUploading { get; set; }/// <summary>/// Gets or sets a value indicating whether [supports unique identifier]./// </summary>diff --git a/MediaBrowser.Model/Session/ClientCapabilities.cs b/MediaBrowser.Model/Session/ClientCapabilities.csindex f00b145450..d5e54ae11d 100644--- a/MediaBrowser.Model/Session/ClientCapabilities.cs+++ b/MediaBrowser.Model/Session/ClientCapabilities.cs@@ -13,10 +13,8 @@ namespace MediaBrowser.Model.Sessionpublic string MessageCallbackUrl { get; set; }- public bool SupportsContentUploading { get; set; }public bool SupportsPersistentIdentifier { get; set; }public bool SupportsSync { get; set; }- public bool SupportsOfflineAccess { get; set; }public DeviceProfile DeviceProfile { get; set; }public List<string> SupportedLiveMediaTypes { get; set; }