simplify the custom repository feature for now

pull/3244/head
dkanada 4 years ago
parent d6184dbadd
commit 8ac2f1bb8b

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

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

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

Loading…
Cancel
Save