From 6a5ccd72ac9dfc62992c335f40a2d3c961aa8e5d Mon Sep 17 00:00:00 2001 From: Ben Sarmiento Date: Sat, 13 Jan 2024 11:43:42 +0100 Subject: [PATCH] Install xmllint --- Dockerfile | 2 +- internal/torrent/repair.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9f2181e..5191273 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG GitCommit ARG Version WORKDIR /app COPY . . -RUN apk add --no-cache bash git go gcc musl-dev curl fuse +RUN apk add --no-cache bash git go gcc musl-dev curl fuse xmllint RUN go build -ldflags "-s -w -X 'github.com/debridmediamanager/zurg/internal/version.BuiltAt=$BuiltAt' -X 'github.com/debridmediamanager/zurg/internal/version.GitCommit=$GitCommit' -X 'github.com/debridmediamanager/zurg/internal/version.Version=$Version'" -o zurg ./cmd/zurg # Obfuscation stage diff --git a/internal/torrent/repair.go b/internal/torrent/repair.go index f8d2471..b7fcf5e 100644 --- a/internal/torrent/repair.go +++ b/internal/torrent/repair.go @@ -153,7 +153,7 @@ func (t *TorrentManager) repair(torrent *Torrent) { t.log.Warnf("Torrent %s is not older than %d hours to be repaired by reinsertion, will only redownload broken files...", t.GetKey(torrent), EXPIRED_LINK_TOLERANCE_HOURS) } - // handle rar'ed torrents + // handle torrents with incomplete links for selected files assignedCount := 0 rarCount := 0 unassignedDownloads := make([]*realdebrid.Download, 0)