Code: Select all
deluge -u null add -p /media/bleh/; ./fringe.torrent;
Code: Select all
deluge -u null add -p /media/bleh/; ./fringe.torrent;
You could do it with python pretty easily..aqtrans wrote:I see there is an option in the "null" interface, but I cannot figure out a way to add a torrent through a script without actually going into the interface. I wanted to try and make rssdler work with Deluge since we don't have a RSS plugin yet. Has anyone managed to add a torrent via just the command line, likeCode: Select all
deluge -u null add -p /media/bleh/; ./fringe.torrent;
Oh sweet, I was unaware of this. Could you recommend any python tutorials, I've only ever programmed in Java (even then I was no good)andar wrote:You could do it with python pretty easily..aqtrans wrote:I see there is an option in the "null" interface, but I cannot figure out a way to add a torrent through a script without actually going into the interface. I wanted to try and make rssdler work with Deluge since we don't have a RSS plugin yet. Has anyone managed to add a torrent via just the command line, likeCode: Select all
deluge -u null add -p /media/bleh/; ./fringe.torrent;
http://dev.deluge-torrent.org/wiki/Development/UiClient
There is also the possibility of using the AutoAdd feature in the daemon. You could just watch a folder for torrent files and have your rss downloader just put the files in the watched folder. Might be an easier solution. I have no idea what rsslder is, so I can't really help you with it.aqtrans wrote:So far I've written this which takes 2 arguments, the torrent file and download directory, and it works awesomely. But I cannot figure out rssdlers' postDownloadFunction. It can supposedly take the filename of the torrent file and modify it, but I cannot get it to work.
That would work, I was trying to make each series download to a specific directory so I can watch them via XBMC.andar wrote:There is also the possibility of using the AutoAdd feature in the daemon. You could just watch a folder for torrent files and have your rss downloader just put the files in the watched folder. Might be an easier solution. I have no idea what rsslder is, so I can't really help you with it.aqtrans wrote:So far I've written this which takes 2 arguments, the torrent file and download directory, and it works awesomely. But I cannot figure out rssdlers' postDownloadFunction. It can supposedly take the filename of the torrent file and modify it, but I cannot get it to work.