aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-02 00:13:39 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2017-01-02 00:13:39 -0500
commitea61c6458f09018965fb84f4e29f527059400700 (patch)
tree39a7292fb468a2869ee84a4aeb7c90106776646b
parent0f1a542c1f71f049b425cbb5c6de16b78cc94d6e (diff)
fix SupportsContentUploading
-rw-r--r--MediaBrowser.Api/Session/SessionsService.cs4
-rw-r--r--MediaBrowser.Model/Session/ClientCapabilities.cs2
2 files changed, 5 insertions, 1 deletions
diff --git a/MediaBrowser.Api/Session/SessionsService.cs b/MediaBrowser.Api/Session/SessionsService.cs
index 9c107bdff..a42441268 100644
--- a/MediaBrowser.Api/Session/SessionsService.cs
+++ b/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")]
public bool SupportsPersistentIdentifier { get; set; }
+ public bool SupportsContentUploading { get; set; }
+
public PostCapabilities()
{
SupportsPersistentIdentifier = true;
@@ -559,6 +561,8 @@ namespace MediaBrowser.Api.Session
SupportsSync = request.SupportsSync,
+ SupportsContentUploading = request.SupportsContentUploading,
+
SupportsPersistentIdentifier = request.SupportsPersistentIdentifier
});
}
diff --git a/MediaBrowser.Model/Session/ClientCapabilities.cs b/MediaBrowser.Model/Session/ClientCapabilities.cs
index d5e54ae11..222c1bd64 100644
--- a/MediaBrowser.Model/Session/ClientCapabilities.cs
+++ b/MediaBrowser.Model/Session/ClientCapabilities.cs
@@ -10,7 +10,7 @@ namespace MediaBrowser.Model.Session
public List<string> SupportedCommands { get; set; }
public bool SupportsMediaControl { get; set; }
-
+ public bool SupportsContentUploading { get; set; }
public string MessageCallbackUrl { get; set; }
public bool SupportsPersistentIdentifier { get; set; }