Browse Source

updated nuget

Luke Pulverenti 11 years ago
parent
commit
5897b2555f

+ 10 - 3
MediaBrowser.Model/ApiClient/IApiClient.cs

@@ -74,7 +74,7 @@ namespace MediaBrowser.Model.ApiClient
         /// <param name="cancellationToken">The cancellation token.</param>
         /// <param name="cancellationToken">The cancellation token.</param>
         /// <returns>Task{List{ItemIndex}}.</returns>
         /// <returns>Task{List{ItemIndex}}.</returns>
         Task<List<ItemIndex>> GetYearIndex(string userId, string[] includeItemTypes, CancellationToken cancellationToken);
         Task<List<ItemIndex>> GetYearIndex(string userId, string[] includeItemTypes, CancellationToken cancellationToken);
-        
+
         /// <summary>
         /// <summary>
         /// Gets the critic reviews.
         /// Gets the critic reviews.
         /// </summary>
         /// </summary>
@@ -680,13 +680,20 @@ namespace MediaBrowser.Model.ApiClient
         /// Gets or sets the server host name (myserver or 192.168.x.x)
         /// Gets or sets the server host name (myserver or 192.168.x.x)
         /// </summary>
         /// </summary>
         /// <value>The name of the server host.</value>
         /// <value>The name of the server host.</value>
-        string ServerHostName { get; set; }
+        string ServerHostName { get; }
 
 
         /// <summary>
         /// <summary>
         /// Gets or sets the port number used by the API
         /// Gets or sets the port number used by the API
         /// </summary>
         /// </summary>
         /// <value>The server API port.</value>
         /// <value>The server API port.</value>
-        int ServerApiPort { get; set; }
+        int ServerApiPort { get; }
+
+        /// <summary>
+        /// Changes the server location.
+        /// </summary>
+        /// <param name="hostName">Name of the host.</param>
+        /// <param name="apiPort">The API port.</param>
+        void ChangeServerLocation(string hostName, int apiPort);
 
 
         /// <summary>
         /// <summary>
         /// Gets or sets the type of the client.
         /// Gets or sets the type of the client.

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

@@ -2,7 +2,7 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
 <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
     <metadata>
     <metadata>
         <id>MediaBrowser.Common.Internal</id>
         <id>MediaBrowser.Common.Internal</id>
-        <version>3.0.224</version>
+        <version>3.0.225</version>
         <title>MediaBrowser.Common.Internal</title>
         <title>MediaBrowser.Common.Internal</title>
         <authors>Luke</authors>
         <authors>Luke</authors>
         <owners>ebr,Luke,scottisafool</owners>
         <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>
         <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>
         <copyright>Copyright © Media Browser 2013</copyright>
         <dependencies>
         <dependencies>
-            <dependency id="MediaBrowser.Common" version="3.0.224" />
+            <dependency id="MediaBrowser.Common" version="3.0.225" />
             <dependency id="NLog" version="2.0.1.2" />
             <dependency id="NLog" version="2.0.1.2" />
             <dependency id="ServiceStack.Text" version="3.9.58" />
             <dependency id="ServiceStack.Text" version="3.9.58" />
             <dependency id="SimpleInjector" version="2.3.2" />
             <dependency id="SimpleInjector" version="2.3.2" />

+ 1 - 1
Nuget/MediaBrowser.Common.nuspec

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