Closed soredake closed 6 months ago
Can you please paste a screenshot of radarr or sonarr where you see the orphans in question?
Oh, sorry, it seems I misunderstood how declutarr works, I thought decluttarr can remove orphans from qbittorrent client directly.
What do you understand as „orphan in qbit“?
when a movie is no longer requested in radarr, but a download is in progress, it‘s considered „orphan“. It is removed from qbit by the script and from radarr queue.
What do you understand as „orphan in qbit“?
A finished torrent with radarr
or tv-sonarr
category that is not linked to any radarr / sonarr library item.
when a movie is no longer requested in radarr, but a download is in progress, it‘s considered „orphan“. It is removed from qbit by the script and from radarr queue.
I see, so my use case of deleting finished orphans in qbittorent is not supported.
I am not sure I understand you.
If a torrent is tagged with "radarr" or "tv-sonarr" and these are the respective tags that your sonarr/radarr apps consider to see which torrents belong to them, then these respective torrents will show up under the radarr/sonarr queue tab.
If now on the main page of radarr/sonarr the respective item has been deleted, if you go to queue you will see the name of the torrent, rather than the name of the movie.
Example: Let's say there's a movie called "Good, Bad, and some Hunting". You started a download of a file called "Good Bad BlueRay 1080p". In queue, you will see "Good, Bad, and some Hunting", ie. not an orphan. Now you delete the movie in Radarr, but the download is still in progress. Now you will see in queue "Good Bad BlueRay 1080p", i.e. an orphan that can't be linked with a movie in your radarr app.
The setting REMOVE_ORPHANS will delete this orphan from radarr, and kill the torrent in qbit.
Therefore, I don't understand your statement "so my use case of deleting finished orphans in qbittorent is not supported."
Can you please explain?
Can you please explain?
I downloaded movie, I deleted movie from radarr, torrent are still there in qbittorrent, I initially thought that declutarr with REMOVE_ORPHANS=True
can go to qbittorrent, see that there is a torrent with radarr
tag which is not linked to any library item, and delete this torrent, as in my because for me such a torrent is an orphan, that's why I created this issue.
that is exactly what the tool is doing.
can you please share 1) screenshot of radarr queue 2) screenshot of qbit
When you say "I deleted movie from radarr", how did you delete it? Ie., which menu did you use, what options did you select / not select?
can you please share screenshot of radarr queue screenshot of qbit
I have deleted the movie, but replicated the same with deleting+unmonitoring episode from sonarr, after restarting torrent is still there, queue is empty:
When you say "I deleted movie from radarr", how did you delete it? Ie., which menu did you use, what options did you select / not select?
From this menu with this option selected:
I see. That is not what in my tool is called "Orphan".
You actually delete the movie from the "queue". Normally, that should remove the torrent directly. If your qbit is not running when you delete it, that may be the reason why it does not remove it. However, it is then correct that it no longe shows on the queue.
"Orphan" in my app is something else: If you are on the home screen of radarr/sonarr, where you see all movies and tvshows listed, and you delete the movie/tv show there, but a queue item still exists for them, then you will still see those under queue. And my tool kills them from there.
There are legitimate constellations where users want to keep the download in qbit, but not see the queue item anymore (for instance, for private trackers).
Is it correct, and what you essentially want is an additional feature, that does the following?: "REMOVE_QBIT_LEFTOVERS"
Question - why does this situation even arise? why would your torrent not be up and running all the time when you delete something from the arr* queues?
Normally, that should remove the torrent directly
No, radarr does not support deleting from torrent client natively https://github.com/Radarr/Radarr/issues/3918
Is it correct, and what you essentially want is an additional feature, that does the following?:
Yes, it is what I want.
why would your torrent not be up and running all the time when you delete something from the arr* queues?
I can't leave torrents seeding forever, I have a server with very limited space (150gb), and I have some private tracker with low leecher count, so torrents will not be seeded oftenly, or ever.
I am still not sure I understand completely.
When I go to radarr/sonarr, and look at the queue, I see the torrents from qbit. When I then chose (manually) to remove them via the button "Remove selected" under queue-tab, then I see this menu:
If I don't change anything (leave "Remove from download client"), then the torrent gets removed from qbit. If I chose "Ignore Download" then the download stays in qbit, but it's not visible in queue of radarr/sonarr anymore.
So why I'm confused:
So I don't understand how you arrive at a point where you end up with things not being in the queue (not by your own doing) but they are still in qbit?
If we are talking about movies that have completed, and you watched them, you deleted them from the main tab, but when you imported them to radarr you chose to let them still be in qbit so they can continue seeding, then it's a question of "how long do you keep things in qbit after completion" - which is not what the purpose of decluttarr is. Decluttarr helps you actually finishing the download; what you do then (immediately remove it, or keep seeding) is up to you.
There are other solutions out there that help you remove torrents more smartly after having let them seed for a while. see https://github.com/ManiMatter/decluttarr/issues/44
Thanks for adding more details / helping me understand better what is needed here (or whether the tool mentioned in #44) does what you need
If we are talking about movies that have completed, and you watched them, you deleted them from the main tab, but when you imported them to radarr you chose to let them still be in qbit so they can continue seeding, then it's a question of "how long do you keep things in qbit after completion" - which is not what the purpose of decluttarr is. Decluttarr helps you actually finishing the download; what you do then (immediately remove it, or keep seeding) is up to you.
There are other solutions out there that help you remove torrents more smartly after having let them seed for a while. see #44
I see, seems I misunderstood the functionality of this software, sorry!
Anyway, thank you for this great software, it's still useful for me.
I've set decluttarr to delete orphans from qbittorrent, but for some reason they are not removed.
docker-compose:
Log: