Selaa lähdekoodia

updated nuget

Luke Pulverenti 11 vuotta sitten
vanhempi
sitoutus
5e5b1f180c

+ 8 - 0
MediaBrowser.Model/ApiClient/IApiClient.cs

@@ -589,6 +589,14 @@ namespace MediaBrowser.Model.ApiClient
         /// request</exception>
         Task SendPlayCommandAsync(string sessionId, PlayRequest request);
 
+        /// <summary>
+        /// Sends the command asynchronous.
+        /// </summary>
+        /// <param name="sessionId">The session identifier.</param>
+        /// <param name="request">The request.</param>
+        /// <returns>Task.</returns>
+        Task SendCommandAsync(string sessionId, GenericCommand request);
+        
         /// <summary>
         /// Sends a system command to the client
         /// </summary>

+ 5 - 0
MediaBrowser.Model/Session/GenericCommand.cs

@@ -7,6 +7,8 @@ namespace MediaBrowser.Model.Session
     {
         public string Name { get; set; }
 
+        public string ControllingUserId { get; set; }
+
         public Dictionary<string, string> Arguments { get; set; }
 
         public GenericCommand()
@@ -15,6 +17,9 @@ namespace MediaBrowser.Model.Session
         }
     }
 
+    /// <summary>
+    /// This exists simply to identify a set of known commands.
+    /// </summary>
     public enum CoreGenericCommand
     {
         MoveUp = 0,

+ 2 - 2
Nuget/MediaBrowser.Common.Internal.nuspec

@@ -2,7 +2,7 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
     <metadata>
         <id>MediaBrowser.Common.Internal</id>
-        <version>3.0.345</version>
+        <version>3.0.346</version>
         <title>MediaBrowser.Common.Internal</title>
         <authors>Luke</authors>
         <owners>ebr,Luke,scottisafool</owners>
@@ -12,7 +12,7 @@
         <description>Contains common components shared by Media Browser Theater and Media Browser Server. Not intended for plugin developer consumption.</description>
         <copyright>Copyright © Media Browser 2013</copyright>
         <dependencies>
-            <dependency id="MediaBrowser.Common" version="3.0.345" />
+            <dependency id="MediaBrowser.Common" version="3.0.346" />
             <dependency id="NLog" version="2.1.0" />
             <dependency id="SimpleInjector" version="2.4.1" />
             <dependency id="sharpcompress" version="0.10.2" />

+ 1 - 1
Nuget/MediaBrowser.Common.nuspec

@@ -2,7 +2,7 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
     <metadata>
         <id>MediaBrowser.Common</id>
-        <version>3.0.345</version>
+        <version>3.0.346</version>
         <title>MediaBrowser.Common</title>
         <authors>Media Browser Team</authors>
         <owners>ebr,Luke,scottisafool</owners>

+ 2 - 2
Nuget/MediaBrowser.Server.Core.nuspec

@@ -2,7 +2,7 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
     <metadata>
         <id>MediaBrowser.Server.Core</id>
-        <version>3.0.345</version>
+        <version>3.0.346</version>
         <title>Media Browser.Server.Core</title>
         <authors>Media Browser Team</authors>
         <owners>ebr,Luke,scottisafool</owners>
@@ -12,7 +12,7 @@
         <description>Contains core components required to build plugins for Media Browser Server.</description>
         <copyright>Copyright © Media Browser 2013</copyright>
         <dependencies>
-            <dependency id="MediaBrowser.Common" version="3.0.345" />
+            <dependency id="MediaBrowser.Common" version="3.0.346" />
         </dependencies>
     </metadata>
     <files>