Page 1 of 1

add a command to a batch file to create a torrent file using qBittorrent

Posted: Sun Aug 18, 2019 2:12 am
by batchfiler
I currently use a python script to clean up some video files I've been given, stick them in a folder and even grab some images from them to share with friends/family. I'd like to start sharing the videos with them as well (since most of the videos were recorded at family/friend events, I figured they should have access to them as well) and I've read that using a torrent client might be a method for doing this. As a kid, I had some experience with uTorrent, but, from what I can find online, uTorrent is difficult if not impossible to create torrent files on using a batch type script, so I thought I would try a new client. I read that qBittorent is friendly with command line use and I was hoping for some assistance on writing a relatively simple batch file that can be added on to the end of my python script that will create a new torrent file as new folders appear in the directory. The current python script I created uses mkvmerge to clean up the video file, frameshots to grab some images and a simple command line to create a folder with the same label as the video file and then moves the video file into the new folder. I would like to add an additional batch file to the python script that will automatically create a torrent file for the folder that it just created. The torrent files would then be stored in a shared folder on the server that I give my friends/family access to. I use a server (Windows based) to edit and store the video files. Any assistance would be greatly appreciated. Thank you