RedditPP Mascot

RedditPP

r/unRAID • … • u/audiblecoco

QBTorrent "Run external program on torrent finished" command for unrar

Hey all! Running into a little bit of a problem trying to get unrar or 7zip to unzip an archive file upon completion of a torrent download. I did some reddit digging last night, and found some commands/arguments that are praised as functional, but I was getting errors on completion...so I re-tuned the arguments based on the log output, and I got qbtorrent to run the command without failure, but it is still not extracting a file into the folder. Using v4.6.5. First is the command that I found online, following with the log output:

command: unrar e -o- -r "%F"/\*.rar "%F"/

Output: (N) 2024-06-21T23:13:24 - Failed to run external program. Torrent: "IF.2024.1080P.WEB.H264-POKE". Command: \`7z x "/data/completed/IF.2024.1080P.WEB.H264-POKE/\*.rar" -o"/data/completed/IF.2024.1080P.WEB.H264-POKE/"\`

Here is the command I tried to clop together: unrar x "%F/%N.rar" "%F"

and the output: (N) 2024-06-22T00:08:29 - Running external program. Torrent: "The.boys.S04E03.1080p.WEB.H264-SuccessfulCrab". Command: \`unrar x "/data/completed/The.boys.S04E03.1080p.WEB.H264-SuccessfulCrab/The.boys.S04E03.1080p.WEB.H264-SuccessfulCrab.rar" "/data/completed/The.boys.S04E03.1080p.WEB.H264-SuccessfulCrab"\`

I'm wondering if its failing because the argument calls for the container path, rather than the literal file path...and unrar is not containerized, so its expecting /mnt/user/etc... as the directory to execute from.

I dont want to dedicate a whole docker to unzipping archive files (unpackerr). If anyone has any input I would greatly appreciate it!

— 0