Installing and Configuring Automatic for Transmission on DLink DNS323 to download from RSS feedsThis will allow Transmission to automatically (hence the name) download torrents from an RSS feed.
Firstly, HUGE thanks to KyleK at
forum.dsmg600 for creating Automatic. All credit to him for all of this and to the contributere who helped with a lot of this information.
Pre-requisites are:
- funplug installed
- FTP and SSH access
- Transmission installed with watch-dir working (previous post)
1 - Download the Automatic funplug package, download it
here.
2 - FTP (using
CuteFTP or similar) this file to from your PC to your DNS323 ffp/pkg folder (e.g. /Volume_1/ffp/pkg/ )
3 - Log into your DNS323 as root using SSH. Navigate to and install the package
cd /ffp/pkg/
funpkg -i Automatic-0.6.4-1.tgz
4 - Stop the process (in case it is automatically started)
/mnt/HD_a2/ffp/start/automatic.sh stop
5 - Navigate to the folder where the Automatic configuration file is located:
cd /ffp/etc/
6 - Make your own config file by copying the example config file:
cp automatic.conf-sample automatic.conf
7 - Open the new config file for editing
vi automatic.conf
8 - Copy and update the following lines of the config. User arrow keys to navigate the relevant line, type (capital) 'O' to insert a new line below the current one and to enter edit mode (if you're not inserting a new line press 'i' to enter edit mode) highlight the text you want to copy then right click to paste the copied text. Modify the text as needed then press ESC to exit edit mode. For more information on using vi see this
cheat sheet.
# rpc-host = "localhost"
rpc-host = "localhost"
# rpc-port = 9091
rpc-port = 9091
# rpc-auth = "user:password"
rpc-auth = "myTransmissionUsername:myTransmissionPassword"
#feed = { url => ""
# cookies => ""
# }
# This is where you enter any RSS feeds you want to use. You can have more than one feed
# I haven't found a need to use cookies, even for private trackers.
feed = { url => "http://www.ezrss.it/feed/"
cookies => ""
}
#Changed from yes, this reduces issues and and uses the watch-dir feature of Transmission instead
use-transmission = no
#Change to the folder you have setup in your Transmission watch-dir config entry
torrent-folder = "/mnt/HD_b2/Downloads/Torrents/"
# Optionally change this to a more suitable location for the state file, i use my transmission directory
statefile = "/mnt/HD_a2/.transmission-daemon/automatic.state"
#filter = { pattern => "Name.of.Something.I.Want.to.Download.Automatically.*HDTV"
# folder => ""
# }
# Add a filter for each program you want to download.
# If you want it to download to a specific folder enter it in the folder section, otherwise leave it blank and it will download to your transmission default download folder.
filter = { pattern => "CSI*HDTV"
folder => "/mnt/HD_b2/TV/CSI/"
}
filter = { pattern => "Mad Men*720p"
folder => "/mnt/HD_b2/TV/Mad Men/"
}
9 - Once finished setting up as you want, write the file and close it by typing
:wq!
10 - Create a blank state file (as automatic cant create its own)
touch /mnt/HD_a2/.transmission-daemon/automatic.state
11 - Restart Automatic
/mnt/HD_a2/ffp/start/automatic.sh start
12 - Check the log to see if all is well and if any torrents were found
/mnt/HD_a2/.transmission-daemon/automatic.log
All set! Hopefully now your handy NAS drive will sit there and download all your shows to the correct folders without any interaction from you!
I have this working with TorrentLeech (using the generated personal RSS address from the profile page).