1
0
Fork 0
mirror of https://github.com/evilhero/mylar synced 2024-12-25 01:01:47 +00:00
mylar/post-processing/torrent-auto-snatch/read.me

29 lines
2 KiB
Text

#Auto-snatch script for torrent clients (tested against rtorrent, should work with deluge)
1) Browse to the post-processing/torrent-auto-snatch subdirectory of mylar and make a copy of the get.conf.sample
script and call it get.conf
2) You can either then startup mylar and exit so that it can regenerate the new value
for the config file - OR - you can manually enter it.
In the config.ini, 2 values need to get changed prior to usage: AUTO_SNATCH and SNATCH_SCRIPT
-- Set auto-snatch to True in the config.ini to allow mylar to automatically monitor the download in your torrent
client upon sending it to the client. Once it's completed, it will then use lftp to snatch the given file and
retrieve it to the desired location on the machine that mylar is running on - thereby allowing for immediate post-processing of remote torrents.
-- SNATCH_SCRIPT has to be set to the full path where the getlftp.sh script resides
(normally it should look like this : snatch_script = /mylar/post-processing/torrent-auto-snatch/getlftp.sh)
save the config.ini
3) Browse to post-processing/torrent-auto-snatch/get.conf done in step 1 and edit the file.
enter in the required information to connect to your torrent box. Note that this uses ssh to
connect so the host/port/user/pass should relate to your ssh information (if you use ssh-keys,
leave the pass blank - and enter the full path to your public key file for KEYFILE).
The LOCALCD option is the location where you want the script to put whatever it downloads from your
client - ideally, this should be the folder that Mylar is to monitor for new items (Folder Monitor).
4) Browse to post-processing/torrent-auto-snatch/getlftp.sh and edit the file.
edit the first configuration variable of config_file and point it to the FULL path location where the
get.conf file exists (where is up to you, but it needs to be accessible by the mylar program).
Save the file.
5) Start up mylar, snatch a torrent and see if it auto-snatches the torrent once it's completed :)