Registered Member
|
Hi,
I'd like to request that in addition to the openTorrent and openTorrentSilently functions exposed via dcop, we get one that allows us to supply a destination directory. Something like that shown below, and then brought out to the dcop interface: ktorrentcore.cpp:
ktorrentdcop.cpp:
ktorrent.cpp:
With this in place it makes it pretty easy to do stuff like RSS feed parsing in external scripts using python or something. (Obviously you can already do this, but it's nice to put items that match certain regexs into certain directories). Appologies if the code is rubbish, I don't know C++, but it seems to work okay. Obviously I haven't shown the headers, and I don't have a kidl file for the dcop stuff because I did it all by hand before discovering it's supposed to be generated. Doh. |
Moderator
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft