this is a basic hack that allows the
user to specify a directory where they'd like to save
the downloaded torrent. This means that all the
downloads don't get plunked straight into the user
folder, but can be arranged by show name, or category,
or whatever.
Right now there is no security
checking on the category name, so names like
"../../../foo" will work. Also spaces in the
category name don't seem to work, and there's no check
for that. But as a hack, it's simple and
basic.
here's the diff, which applies to 2.0 as
well as 2.1. From your torrentflux folder, run
cat category.diff | patch -p
4
category.diff