simplify the custom repository feature for now
This commit is contained in:
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…
Reference in New Issue
Block a user