Replies: 6 comments
-
|
This would be solved by using hardlinks. Is there a reason you don’t use hardlinks? If you configured qui to create a hardlinked copy to add to qbit, then when radarr deletes the original during the upgrade, qbit will still have the data and be able to seed it. Qui automations (look for |
Beta Was this translation helpful? Give feedback.
-
|
You can't hardlink across separate filesystems, partitions, volumes or mounts. I expose the directories of films/shows/mediacategory/temporarytorrents through mounts in proxmox CT, which are then exposed as mounts to docker. Even if I did want to manually rejigger everything to support hardlinks, the current setup is different ZFS volumes for each media category. Also, I simply don't want to mentally/managerially deal with hardlinks. Looking at the docs, it's great the devs have added such a feature and it definitely works for one workflow, just not mine. There are a few additions to qui options that would be helpful for other things but also help me work around this, but I think the heart of the problem is the qbittorrent behaviour that auto-re-downloads when the file is removed. This was complained about back in 2018 looking at the github, and fixed, but seems to have returned with 5.x. Though no one seems to be talking about it. I haven't fully delved into qui automations. Do you or anyone think it might be possible to auto pause torrents if the file disappears somehow? Edit: I found "if state is missing files then pause." Hoping however it checks this and however qbittorrent reports will allow time for the automation to work before any downloads are attempted. Fastest I can run it is every 60 seconds. |
Beta Was this translation helpful? Give feedback.
-
|
Fair enough, no hardlinks. So if I've understood correctly, when you add a movie via radarr, you get two copies of it. One in qbit's download directory, and another where you save you media. Dir scan then runs at some point, detects the movie in your media directory, links that file to a bunch of cross-seeds in qbit and all is good... until radarr upgrades your movie, deleting the movie from your media folder. Eventually, someone tries to download the movie from you, qbit realises you don't have the file anymore, and it starts downloading the movie back into you media folder. The missing files detection thing might work, assuming it runs independently of qbit. That part's not clear from the docs. Couple of other things you could try:
|
Beta Was this translation helpful? Give feedback.
-
|
Thanks a bunch for reading and your responses to this thread. I really appreciate it. Yeah, that's mostly correct. Unfortunately, the only difference is I don't keep two copies. Everything in the download directory gets autodeleted by qbittorrent after a couple months, so I can't use dirscan directly on there, it has to be on the media directories. Right now, I think my easiest solution is to pay more attention to the auto added torrents and just not start any that are recent movies and aren't blurays (I've had no issues, but for an abundance of caution, I've been setting all auto cross-seeds to start paused). I have a few left over that can be enough to test this "missing files" automation. Despite all the minor issues and room for more features, the dirscan is still a godsend. With thousands of movies and shows downloaded long before that are no longer in my qbittorrent instance on any tracker, I'll be keeping the dirscan going slowly for a long time. |
Beta Was this translation helpful? Give feedback.
-
|
Okay I think I've grasped your setup now. So you start off with two copies, but after a couple of months you remove the ones in qbit's download directory so that you don't waste space on duplicates. Eventually you end up seeding everything directly from your media library thanks to dir scan. Honestly, the solution you have with dir scan seems like a pretty reasonable workaround given your constraint of not using hardlinks. You just need some way of informing qbit that the file is gone when radarr upgrades the movie. If it works, that automation using "has missing files" would probably be the easiest way to do it, but only if it detects the missing files before qbit tries and fails to seed those missing files and instead starts downloading them again. If that doesn't work here's another idea...
That should prevent you from downloading any additional data on your cross-seeds from dir scan. I'm not 100% sure if 0B/s actually gets treated as 0B/s or infinity, so you could limit it to download at 1B/s instead. To finishing this off and fully automate it, add another automation that deletes your torrents with tag |
Beta Was this translation helpful? Give feedback.
-
|
Yeah, the missing files one isn't working. It's probably far too short a window. Those are some fantastic suggestions for the existing automations though. For anyone coming into this in a similar situation:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've had everything set up for a while but recently I've started noticing double files in movie folders. Looking back over the downloads, and what's where, and seeing nothing about radarr "re-importing" (it shouldn't anyway, based on the rules, plus it still shows the better one in it's webUI) I'm pretty sure I know what's going on and I'm really not sure how to solve it.
So, not categorized as an "issue" because I'm not sure what really should change in the setup to fix this. I could have sworn the behaviour of qb 4.xx was to error out and stop any torrent where the files "disappeared" but this seems to have changed in 5.xx.
Edit: so I think maybe this can be resolved in qui itself with the addition of a "only process items NOT changed in the last" under the dirscan section, next to the existing "only process items changed in the last" or by converging said options into one "only process items changed in this moving range"
Beta Was this translation helpful? Give feedback.
All reactions