Hi s4z,
When I originally wrote the script, qBittorrent’s post processing script handling was very basic - so I coded the script with the only real info qBit could pass at the time effectively (the torrent name, which luckily corresponded to the directory name you’d find on the filesystem). That’s why the script requires the segregation of media types (TV, Movies, Music, etc), since you have to test them all to see if the torrent lives there, and subsequently post-process it.
While it’s nice that qBit now supports passing additional parameters, and i’m sure many people are grateful for it, I myself am a huge believer in the KISS principle.
The interesting thing is that I’m not currently on a consulting assignment right now, so I have a lot of free time on my hands - time I could use to possibly extend this script’s functionality. The only problem is, it is so good at what it does, I’m not sure I’d ever approach this particular problem from a different angle.
All that said, if you have any requests for improvement, I’m certainly not opposed to taking some time to write some more bash code, even if I find bash kind of boring ![:slight_smile: :slight_smile:](https://forums.sonarr.tv/images/emoji/twitter/slight_smile.png?v=5)
-k