How can I setup automatic torrent upload

Post Reply
cmalmqui
New User
New User
Posts: 3
Joined: Thu Sep 11, 2008 12:18 pm

How can I setup automatic torrent upload

Post by cmalmqui »

Hi Fellow Deluge Users,

I have scheduled my headless ubuntu box to streamrip my favourite radioprogram to a mp3 file and I am now tinkering with the idea of making a torrent available after the mp3 download has finished. The tasks are:

1. rip mp3 stream to local disk
2. create a torrent of the mp3 file
3. register the torrent to a tracker (piratebay)
4. seeding the program to potential listeners

The task is rather straightforward, but I have not been able to find any decent CLI tools to make it all happen.

The first step is already running by calling streamripper from a bash shell (easier than wget) and I can easily achieve step 2 and 3 using the CreateTorrent utility available at http://www.createtorrent.com/.

But I would be grateful if anyone could help me with some ideas on how to automagically carry out step 4. Is there a way of setting up a seed in deluge using commandline?

Thanks,
Christian
johnnyg
Top Bloke
Top Bloke
Posts: 1522
Joined: Sun Oct 28, 2007 4:00 am
Location: Sydney, Australia

Re: How can I setup automatic torrent upload

Post by johnnyg »

If you add a torrent and you already have the completed file(s) in the selected download directory, then deluge will automatically start seeding it.
You can easily add a torrent via deluge's null ui:

Code: Select all

echo "add -p <path to downloaded file(s)>; <torrentfile>" | deluge -u null
there's probably a nicer way but that does work :P
Post Reply