The Free Software Media System - Server Backend & API
simplify the custom repository feature for now
dkanada8ac2f1bb8be2
diff --git a/Emby.Server.Implementations/Updates/InstallationManager.cs b/Emby.Server.Implementations/Updates/InstallationManager.csindex bdd7c31d69..6c02b8fdce 100644--- a/Emby.Server.Implementations/Updates/InstallationManager.cs+++ b/Emby.Server.Implementations/Updates/InstallationManager.cs@@ -156,11 +156,6 @@ namespace Emby.Server.Implementations.Updatesvar result = new List<PackageInfo>();foreach (RepositoryInfo repository in _config.Configuration.PluginRepositories){- if (!repository.Enabled)- {- continue;- }-result.AddRange(await GetPackages(repository.Url, cancellationToken).ConfigureAwait(true));}diff --git a/Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs b/Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.csindex b6004adef6..1461c7c576 100644--- a/Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs+++ b/Jellyfin.Server/Migrations/Routines/AddDefaultPluginRepository.cs@@ -14,8 +14,7 @@ namespace Jellyfin.Server.Migrations.Routinesprivate readonly RepositoryInfo _defaultRepositoryInfo = new RepositoryInfo{Name = "Jellyfin Stable",- Url = "https://repo.jellyfin.org/releases/plugin/manifest-stable.json",- Enabled = true+ Url = "https://repo.jellyfin.org/releases/plugin/manifest-stable.json"};/// <summary>diff --git a/MediaBrowser.Model/Updates/RepositoryInfo.cs b/MediaBrowser.Model/Updates/RepositoryInfo.csindex b0dc3593ad..a6414fa7b7 100644--- a/MediaBrowser.Model/Updates/RepositoryInfo.cs+++ b/MediaBrowser.Model/Updates/RepositoryInfo.cs@@ -18,11 +18,5 @@ namespace MediaBrowser.Model.Updates/// </summary>/// <value>The URL.</value>public string Url { get; set; }-- /// <summary>- /// Gets or sets the enabled status of the repository.- /// </summary>- /// <value>The enabled status.</value>- public bool Enabled { get; set; }}}