From 4b8f1ccfb691afb2d1475afa132260a10eff6a08 Mon Sep 17 00:00:00 2001 From: Mukhtar Akere Date: Tue, 8 Oct 2024 15:43:38 +0100 Subject: [PATCH] Changelog 0.2.6 --- CHANGELOG.md | 6 +++++- README.md | 4 +++- pkg/debrid/realdebrid.go | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 691ac7a..b7354ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -72,4 +72,8 @@ #### 0.2.5 - Fix ContentPath not being set prior - Rewrote Readme -- Cleaned up the code \ No newline at end of file +- Cleaned up the code + +#### 0.2.6 +- Delete torrent for empty matched files +- Update Readme \ No newline at end of file diff --git a/README.md b/README.md index 48da9c4..42b44cd 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ This is a Golang implementation go Torrent QbitTorrent with a **Real Debrid Proxy Support**. #### Uses -- Mock Qbittorent API that supports the Arrs(Sonarr, Radarr, etc) +- Mock Qbittorent API that supports the Arrs(Sonarr, Radarr, Lidarr etc) - Proxy support for the Arrs The proxy is useful in filtering out un-cached Real Debrid torrents @@ -37,6 +37,8 @@ services: - QBIT_PORT=8282 # qBittorrent Port. This is optional. You can set this in the config file - PORT=8181 # Proxy Port. This is optional. You can set this in the config file restart: unless-stopped + depends_on: + - rclone # If you are using rclone with docker ``` diff --git a/pkg/debrid/realdebrid.go b/pkg/debrid/realdebrid.go index cb8b03b..c48c9b1 100644 --- a/pkg/debrid/realdebrid.go +++ b/pkg/debrid/realdebrid.go @@ -185,6 +185,7 @@ func (r *RealDebrid) CheckStatus(torrent *Torrent, isSymlink bool) (*Torrent, er files := GetTorrentFiles(data) torrent.Files = files if len(files) == 0 { + r.DeleteTorrent(torrent) return torrent, fmt.Errorf("no video files found") } filesId := make([]string, 0)