mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
fix build errors and update plugin manifest location
This commit is contained in:
@@ -169,10 +169,8 @@ namespace Emby.Server.Implementations.Updates
|
||||
string packageType = null,
|
||||
Version applicationVersion = null)
|
||||
{
|
||||
// TODO cvium: when plugins get back this would need to be fixed
|
||||
// var packages = await GetAvailablePackagesWithoutRegistrationInfo(cancellationToken).ConfigureAwait(false);
|
||||
|
||||
return Task.FromResult(new List<PackageInfo>()); //FilterPackages(packages, packageType, applicationVersion);
|
||||
var packages = await GetAvailablePackagesWithoutRegistrationInfo(cancellationToken).ConfigureAwait(false);
|
||||
return FilterPackages(packages, packageType, applicationVersion);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -184,12 +182,10 @@ namespace Emby.Server.Implementations.Updates
|
||||
{
|
||||
using (var response = await _httpClient.SendAsync(new HttpRequestOptions
|
||||
{
|
||||
Url = "https://www.mb3admin.local/admin/service/EmbyPackages.json",
|
||||
Url = "https://repo.jellyfin.org/releases/plugin/manifest.json",
|
||||
CancellationToken = cancellationToken,
|
||||
Progress = new SimpleProgress<double>(),
|
||||
CacheLength = GetCacheLength(),
|
||||
CacheMode = CacheMode.Unconditional
|
||||
|
||||
CacheLength = GetCacheLength()
|
||||
}, "GET").ConfigureAwait(false))
|
||||
{
|
||||
using (var stream = response.Content)
|
||||
|
||||
Reference in New Issue
Block a user