diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-28 16:36:29 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-03-28 16:36:29 -0400 |
| commit | 5e5b1f180c2a13152c8f318f045547c6508c5b3e (patch) | |
| tree | ac42c23908911099ebc2840bc6b9549de565bab6 | |
| parent | 57623886b25cd2104f326d5974ff8375ba4964f6 (diff) | |
updated nuget
| -rw-r--r-- | MediaBrowser.Model/ApiClient/IApiClient.cs | 8 | ||||
| -rw-r--r-- | MediaBrowser.Model/Session/GenericCommand.cs | 5 | ||||
| -rw-r--r-- | Nuget/MediaBrowser.Common.Internal.nuspec | 4 | ||||
| -rw-r--r-- | Nuget/MediaBrowser.Common.nuspec | 2 | ||||
| -rw-r--r-- | Nuget/MediaBrowser.Server.Core.nuspec | 4 |
5 files changed, 18 insertions, 5 deletions
diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index 8de54f34a9..28c5822e9a 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -590,6 +590,14 @@ namespace MediaBrowser.Model.ApiClient 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> /// <param name="sessionId">The session id.</param> diff --git a/MediaBrowser.Model/Session/GenericCommand.cs b/MediaBrowser.Model/Session/GenericCommand.cs index 3d5e503eff..f7ea0a84a5 100644 --- a/MediaBrowser.Model/Session/GenericCommand.cs +++ b/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, diff --git a/Nuget/MediaBrowser.Common.Internal.nuspec b/Nuget/MediaBrowser.Common.Internal.nuspec index c550b350c6..a3b4533dd9 100644 --- a/Nuget/MediaBrowser.Common.Internal.nuspec +++ b/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" /> diff --git a/Nuget/MediaBrowser.Common.nuspec b/Nuget/MediaBrowser.Common.nuspec index a6fa5c152c..b80f673e38 100644 --- a/Nuget/MediaBrowser.Common.nuspec +++ b/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> diff --git a/Nuget/MediaBrowser.Server.Core.nuspec b/Nuget/MediaBrowser.Server.Core.nuspec index cc87b00300..eccfcccd2a 100644 --- a/Nuget/MediaBrowser.Server.Core.nuspec +++ b/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> |
