Page 1 of 1

qBittorrent hangs when torrents up to 3000 and when we rename torrents!!!

Posted: Fri Feb 26, 2016 2:53 pm
by Anonymousee
I do not delete the torrent jobs completed downloading. Usually just paused them as I want to keep track of what files I have downloaded already. Does that create problems with the client software?

And recently I noticed that I could rename the folder within torrent as well as the torrent name.

Just that when my stored torrent jobs are up to 3000 which most of them were completed, it took hours to launch qBittorrent as it was probably trying to search all the downloaded files. And when I renamed those newly added torrents to names easier to manage for me. Things are getting worse. It takes long long time to response and always not responding.

I wish this can be solved or improved as soon as possible. Any suggestions please let me know.

Thanks a lot.

Re: qBittorrent hangs when torrents up to 3000 and when we rename torrents!!!

Posted: Fri Feb 26, 2016 7:36 pm
by ciaobaby
Usually just paused them as I want to keep track of what files I have downloaded already
qbittorrent is not a librarian and the more loaded task there are ... The longer it takes to start up.


There is a python script in this post that will log every completed task.

Re: qBittorrent hangs when torrents up to 3000 and when we rename torrents!!!

Posted: Sat Feb 27, 2016 1:43 am
by Anonymousee
Thanks for replying.
I am using Windows 10. How should I apply the py script?

Re: qBittorrent hangs when torrents up to 3000 and when we rename torrents!!!

Posted: Sat Feb 27, 2016 2:39 am
by ciaobaby
Save the file with a .py  extension, you will need to change the 'shebang' ( #! /bin/python ) to point to the location of your python executable,  ( https://docs.python.org/3/using/windows.html )

Edit the paths to where you want your log file to be saved, it will need to be in a non-privileged location so don't save it to the "Desktop"  or the 'root' folder of the system drive. The file will be created the first time the script runs. Then change the path of the command line and put that in the "Run Program" box in Options -> Downloads.

Re: qBittorrent hangs when torrents up to 3000 and when we rename torrents!!!

Posted: Sat Feb 27, 2016 6:23 am
by Anonymousee
Thank you. It's very detailed.
I appreciate your kindness and answers very much.

Re: qBittorrent hangs when torrents up to 3000 and when we rename torrents!!!

Posted: Tue Jul 16, 2019 6:39 am
by williamholding
From Windows command line:

set PYTHONPATH=%PYTHONPATH%;C:\My_python_lib

To set the PYTHONPATH permanently, add the line to your autoexec.bat. Alternatively, if you edit the system variable through the System Properties, it will also be changed permanently.