simplify the custom repository feature for now

This commit is contained in:
dkanada 2020-06-06 22:02:30 +09:00
parent d6184dbadd
commit 8ac2f1bb8b
3 changed files with 1 additions and 13 deletions

View File

@ -156,11 +156,6 @@ namespace Emby.Server.Implementations.Updates
var result = new List<PackageInfo>();
foreach (RepositoryInfo repository in _config.Configuration.PluginRepositories)
{
if (!repository.Enabled)
{
continue;
}
result.AddRange(await GetPackages(repository.Url, cancellationToken).ConfigureAwait(true));
}

View File

@ -14,8 +14,7 @@ namespace Jellyfin.Server.Migrations.Routines
private 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>

View File

@ -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; }
}
}