Răsfoiți Sursa

update sync scripts

Luke Pulverenti 8 ani în urmă
părinte
comite
0c2489059d

+ 0 - 7
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;

+ 0 - 5
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.Session
 
                 MessageCallbackUrl = request.MessageCallbackUrl,
 
-                SupportsContentUploading = request.SupportsContentUploading,
-
                 SupportsSync = request.SupportsSync,
 
                 SupportsPersistentIdentifier = request.SupportsPersistentIdentifier

+ 0 - 5
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>

+ 0 - 2
MediaBrowser.Model/Session/ClientCapabilities.cs

@@ -13,10 +13,8 @@ namespace MediaBrowser.Model.Session
 
         public 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; }