Hotfix & Updated Readme

This commit is contained in:
Mukhtar Akere
2024-11-23 23:41:49 +01:00
parent 2c9a076cd2
commit 8bdb2e3547
2 changed files with 20 additions and 6 deletions

View File

@@ -149,7 +149,7 @@ func ProcessQBitTorrent(d *DebridService, magnet *common.Magnet, arr *Arr, isSym
log.Println("Processing debrid: ", db.GetName())
logger := db.GetLogger()
logger.Printf("Torrent Hash: %s", debridTorrent.InfoHash)
if !db.GetCheckCached() {
if db.GetCheckCached() {
hash, exists := db.IsAvailable([]string{debridTorrent.InfoHash})[debridTorrent.InfoHash]
if !exists || !hash {
logger.Printf("Torrent: %s is not cached", debridTorrent.Name)