Pārlūkot izejas kodu

fix SupportsContentUploading

Luke Pulverenti 8 gadi atpakaļ
vecāks
revīzija
ea61c6458f

+ 4 - 0
MediaBrowser.Api/Session/SessionsService.cs

@@ -243,6 +243,8 @@ namespace MediaBrowser.Api.Session
         [ApiMember(Name = "SupportsPersistentIdentifier", Description = "Determines whether the device supports a unique identifier.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "POST")]
         [ApiMember(Name = "SupportsPersistentIdentifier", Description = "Determines whether the device supports a unique identifier.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "POST")]
         public bool SupportsPersistentIdentifier { get; set; }
         public bool SupportsPersistentIdentifier { get; set; }
 
 
+        public bool SupportsContentUploading { get; set; }
+
         public PostCapabilities()
         public PostCapabilities()
         {
         {
             SupportsPersistentIdentifier = true;
             SupportsPersistentIdentifier = true;
@@ -559,6 +561,8 @@ namespace MediaBrowser.Api.Session
 
 
                 SupportsSync = request.SupportsSync,
                 SupportsSync = request.SupportsSync,
 
 
+                SupportsContentUploading = request.SupportsContentUploading,
+
                 SupportsPersistentIdentifier = request.SupportsPersistentIdentifier
                 SupportsPersistentIdentifier = request.SupportsPersistentIdentifier
             });
             });
         }
         }

+ 1 - 1
MediaBrowser.Model/Session/ClientCapabilities.cs

@@ -10,7 +10,7 @@ namespace MediaBrowser.Model.Session
         public List<string> SupportedCommands { get; set; }
         public List<string> SupportedCommands { get; set; }
 
 
         public bool SupportsMediaControl { get; set; }
         public bool SupportsMediaControl { get; set; }
-
+        public bool SupportsContentUploading { get; set; }
         public string MessageCallbackUrl { get; set; }
         public string MessageCallbackUrl { get; set; }
 
 
         public bool SupportsPersistentIdentifier { get; set; }
         public bool SupportsPersistentIdentifier { get; set; }