Automatically change root directory name of the torrent

Other platforms, generic questions.
Post Reply
wwwdd

Automatically change root directory name of the torrent

Post by wwwdd »

Is it somehow possible to automatically change root directory (or filename if it's only one) of the torrent?
Maybe with some third-party scripts?

Currently I have an ability to manually change that in the GUI window, but I want it to be automatic.

I thought I can do that by pre-proccessing of torrent files before passing them to qBittorrent, but this attempt failed - I tried to modify the root name in torrent file with torrent file editor by converting it to json, changing name and compiling back to torrent file, but it changed hash and downloading is not working for resulting torrent file.

Any ideas? Maybe qBittorrent can provide some option to do that?

Maybe command-line option can be added, like --set-root-name or something in combination with passing torrent file path?
Post Reply