Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/blame/commit/af4063c3e2ecbd8aa331720301ef3586894c36fd/NzbDrone.Common/ArchiveProvider.cs You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/NzbDrone.Common/ArchiveProvider.cs

23 lines
601 B

using System.Linq;
using Ionic.Zip;
using NLog;
15 years ago
namespace NzbDrone.Common
15 years ago
{
public class ArchiveProvider
15 years ago
{
private static readonly Logger logger = LogManager.GetCurrentClassLogger();
public virtual void ExtractArchive(string compressedFile, string destination)
{
logger.Trace("Extracting archive [{0}] to [{1}]", compressedFile, destination);
using (var zipFile = ZipFile.Read(compressedFile))
{
zipFile.ExtractAll(destination);
}
logger.Trace("Extraction complete.");
}
15 years ago
}
}