The Free Software Media System - Server Backend & API
Replaced mb3admin.com phoning home with a stub mb3admin.local
Vasily86f6b817fc15
diff --git a/Emby.Server.Implementations/EntryPoints/UsageReporter.cs b/Emby.Server.Implementations/EntryPoints/UsageReporter.csindex 86b335b773..d9c9e1a400 100644--- a/Emby.Server.Implementations/EntryPoints/UsageReporter.cs+++ b/Emby.Server.Implementations/EntryPoints/UsageReporter.cs@@ -18,7 +18,7 @@ namespace Emby.Server.Implementations.EntryPointsprivate readonly IServerApplicationHost _applicationHost;private readonly IHttpClient _httpClient;private readonly ILogger _logger;- private const string MbAdminUrl = "https://www.mb3admin.com/admin/";+ private const string MbAdminUrl = "https://www.mb3admin.local/admin/";public UsageReporter(IServerApplicationHost applicationHost, IHttpClient httpClient, ILogger logger){diff --git a/Emby.Server.Implementations/Security/PluginSecurityManager.cs b/Emby.Server.Implementations/Security/PluginSecurityManager.csindex af754d8cbb..8d8d6700e2 100644--- a/Emby.Server.Implementations/Security/PluginSecurityManager.cs+++ b/Emby.Server.Implementations/Security/PluginSecurityManager.cs@@ -23,8 +23,8 @@ namespace Emby.Server.Implementations.Security/// </summary>public class PluginSecurityManager : ISecurityManager{- private const string MBValidateUrl = "https://mb3admin.com/admin/service/registration/validate";- private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "https://mb3admin.com/admin/service/appstore/register";+ private const string MBValidateUrl = "https://mb3admin.local/admin/service/registration/validate";+ private const string AppstoreRegUrl = /*MbAdmin.HttpsUrl*/ "https://mb3admin.local/admin/service/appstore/register";public async Task<bool> IsSupporter(){diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.csindex 435bcfd043..a23166647a 100644--- a/Emby.Server.Implementations/Updates/InstallationManager.cs+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs@@ -178,7 +178,7 @@ namespace Emby.Server.Implementations.Updatesvar options = new HttpRequestOptions{- Url = "https://www.mb3admin.com/admin/service/package/retrieveall?includeAllRuntimes=true",+ Url = "https://www.mb3admin.local/admin/service/package/retrieveall?includeAllRuntimes=true",CancellationToken = cancellationToken};@@ -213,7 +213,7 @@ namespace Emby.Server.Implementations.Updates{using (var response = await _httpClient.SendAsync(new HttpRequestOptions{- Url = "https://www.mb3admin.com/admin/service/EmbyPackages.json",+ Url = "https://www.mb3admin.local/admin/service/EmbyPackages.json",CancellationToken = cancellationToken,Progress = new SimpleProgress<Double>(),CacheLength = GetCacheLength(),diff --git a/MediaBrowser.Api/StartupWizardService.cs b/MediaBrowser.Api/StartupWizardService.csindex 61d9a90d6c..425eb2ef0d 100644--- a/MediaBrowser.Api/StartupWizardService.cs+++ b/MediaBrowser.Api/StartupWizardService.cs@@ -78,7 +78,7 @@ namespace MediaBrowser.Api{try{- var url = string.Format("http://www.mb3admin.com/admin/service/package/installed?mac={0}&product=MBServer&operation=Install&version={1}",+ var url = string.Format("http://www.mb3admin.local/admin/service/package/installed?mac={0}&product=MBServer&operation=Install&version={1}",_appHost.SystemId,_appHost.ApplicationVersion.ToString());