Browse Source

updated nuget

Luke Pulverenti 10 năm trước cách đây
mục cha
commit
28d4c54de8

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

@@ -835,6 +835,26 @@ namespace MediaBrowser.Model.ApiClient
         /// </summary>
         void ClearAuthenticationInfo();
 
+        /// <summary>
+        /// Changes the server location.
+        /// </summary>
+        /// <param name="address">The address.</param>
+        /// <param name="keepExistingAuth">if set to <c>true</c> [keep existing authentication].</param>
+        void ChangeServerLocation(string address, bool keepExistingAuth = false);
+
+        /// <summary>
+        /// Starts the receiving session updates.
+        /// </summary>
+        /// <param name="intervalMs">The interval ms.</param>
+        /// <returns>Task.</returns>
+        Task StartReceivingSessionUpdates(int intervalMs);
+
+        /// <summary>
+        /// Stops the receiving session updates.
+        /// </summary>
+        /// <returns>Task.</returns>
+        Task StopReceivingSessionUpdates();
+        
         /// <summary>
         /// Gets the image URL.
         /// </summary>

+ 1 - 1
MediaBrowser.Providers/Movies/MovieDbProvider.cs

@@ -187,7 +187,7 @@ namespace MediaBrowser.Providers.Movies
 
         internal static string GetMoviesDataPath(IApplicationPaths appPaths)
         {
-            var dataPath = Path.Combine(appPaths.CachePath, "tmdb-movies");
+            var dataPath = Path.Combine(appPaths.CachePath, "tmdb-movies2");
 
             return dataPath;
         }

+ 0 - 2
MediaBrowser.Server.Implementations/HttpServer/NetListener/HttpListenerServer.cs

@@ -161,7 +161,6 @@ namespace MediaBrowser.Server.Implementations.HttpServer.NetListener
         /// <returns>Task.</returns>
         private async Task ProcessWebSocketRequest(HttpListenerContext ctx)
         {
-#if !__MonoCS__
             try
             {
                 var webSocketContext = await ctx.AcceptWebSocketAsync(null).ConfigureAwait(false);
@@ -181,7 +180,6 @@ namespace MediaBrowser.Server.Implementations.HttpServer.NetListener
                 ctx.Response.StatusCode = 500;
                 ctx.Response.Close();
             }
-#endif
         }
 
         private void HandleError(Exception ex, HttpListenerContext context)

+ 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.462</version>
+        <version>3.0.463</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.462" />
+            <dependency id="MediaBrowser.Common" version="3.0.463" />
             <dependency id="NLog" version="3.1.0.0" />
             <dependency id="SimpleInjector" version="2.5.2" />
             <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.462</version>
+        <version>3.0.463</version>
         <title>MediaBrowser.Common</title>
         <authors>Media Browser Team</authors>
         <owners>ebr,Luke,scottisafool</owners>

+ 1 - 1
Nuget/MediaBrowser.Model.Signed.nuspec

@@ -2,7 +2,7 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
     <metadata>
         <id>MediaBrowser.Model.Signed</id>
-        <version>3.0.462</version>
+        <version>3.0.463</version>
         <title>MediaBrowser.Model - Signed Edition</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.462</version>
+        <version>3.0.463</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.462" />
+            <dependency id="MediaBrowser.Common" version="3.0.463" />
         </dependencies>
     </metadata>
     <files>