英文:
Batch script dependent on qBitTorrent's obsolete .unwanted directory
问题
我有这个脚本,持续监视Downloads
目录以查看已完成的下载。用于填充此目录的众多程序之一是qBitTorrent
。如果它们不包括任何.!qB
临时文件,它会确定种子子目录是否已完成。现在,如果来自种子的某些文件未被选中/跳过下载,那么这些永远不完整的.!qB
文件曾经会进入.unwanted
目录,只需删除即可确定此情况。但在v4.3.0
之后,.unwanted
目录被删除了,现在跳过的文件将永远看起来正在进行中,因此脚本将永远无法判断种子是否已完成,使我的整个脚本失效。
我究竟该怎么办才能解决这个问题?
英文:
I have this script that continuously monitors a Downloads
directory for completed downloads. One of many programs used to populate this directory is qBitTorrent
. It determines the torrent subdirectories as complete if they do not include any .!qB
temp files. Now if some of the files from the torrent were unchecked/skipped from downloading then the forever incomplete .!qB
files used to go to the .unwanted
directory which could simply be deleted to determine this, but after v4.3.0
the .unwanted
directory was dropped and now the skipped files will forever look like they are in progress so the torrent will never appear complete to the script, rendering my entire script defective.
What in the world could I do to get around this?
答案1
得分: 1
你可以配置客户端,将正在进行的种子数据保存在不同的目录中,只有在种子完成后才将其移动到下载目录。这样,你的脚本只会在下载完成后才注意到它。
英文:
You can configure the client to keep in-progress torrent data a diffent directory and only move it to the download directory once a torrent is finished.
This way your script will only notice the download once it's complete.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论