autoremove-torrents icon indicating copy to clipboard operation
autoremove-torrents copied to clipboard

Add "Downloading Metadata" Status in QBT

Open desi76 opened this issue 4 years ago • 7 comments

Sometimes, QBT stalls in the status, "downloading metadata" and never exits.

Please add support for this status as well.

desi76 avatar Jan 15 '21 08:01 desi76

+1!

Will try to add it to my branch. Anyway qbt has a way to classify Downloads as Stalled, and that can be filtered by autoremove-torrents.

dantebarba avatar Jan 15 '21 18:01 dantebarba

@dantebarba Yes, I'm able to manage stalled torrents in "stalled" status, but not stalled torrents in "downloading metadata" status.

desi76 avatar Jan 16 '21 20:01 desi76

@dantebarba Yes, I'm able to manage stalled torrents in "stalled" status, but not stalled torrents in "downloading metadata" status.

Hey there. Was looking for a solution as well. I tried a few things and actually solved it. If you set status as “Unknown” it will pick those torrents stuck on “metadata”

Hope this helps.

jonatasgz avatar Jul 05 '21 18:07 jonatasgz

Hey there. Was looking for a solution as well. I tried a few things and actually solved it. If you set status as “Unknown” it will pick those torrents stuck on “metadata”

Thanks for the advice. I'll definitely give it a try.

desi76 avatar Jul 15 '21 00:07 desi76

Did this ever work out for you guys? I've tried adding the "Unknown" status and unfortunately it still won't remove torrents stuck in "Downloading metadata"

ajlunis avatar Aug 18 '21 07:08 ajlunis

Did this ever work out for you guys? I've tried adding the "Unknown" status and unfortunately it still won't remove torrents stuck in "Downloading metadata"

Yes. Mine is working correctly with the “Unknown” status. Maybe your strategy isn’t picking up those torrents for other reason. For instance, setting last activity rule won’t work since those torrents don’t register any activity at all.

Here is the config I use for those torrents. It’s not ideal, but it is what I could manage. Other combinations didn’t work for me because of the peculiarities of torrents with that status.

status: - Unknown - StalledDownload remove: create_time > 86400 and progress < 0.01

jonatasgz avatar Aug 24 '21 18:08 jonatasgz

Did this ever work out for you guys? I've tried adding the "Unknown" status and unfortunately it still won't remove torrents stuck in "Downloading metadata"

Yes, I'm running ART hourly using Windows Task Scheduler with the configuration:

task_remove_stalled: client: qbittorrent host: http://127.0.0.1:***** username: ********** password: ********** strategies: remove_stalled: categories: - tv-sonarr - movies-radarr - music-lidarr - books-readarr status: - StalledDownload - StalledUpload - Downloading - Uploading - Unknown remove: progress < 1 delete_data: true

desi76 avatar Aug 29 '21 20:08 desi76