NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
stian89
Dec 07, 2010Aspirant
Can't make Automatic and Transmission work
Hi!
I have Automatic v0.6.4-readynas-0.9.7 and Transmission v2.11 installed on my ReadyNAS duo.
I've tried to setup Automatic to download torrents automatically, but I can't figure it out.
Here is my code, hope someone knows what I've done wrong:
I have Automatic v0.6.4-readynas-0.9.7 and Transmission v2.11 installed on my ReadyNAS duo.
I've tried to setup Automatic to download torrents automatically, but I can't figure it out.
Here is my code, hope someone knows what I've done wrong:
transmission-version = "1.3"
# transmission-external = "/usr/local/bin/custom-add-torrent"
rpc-host = "localhost"
rpc-port = 8181
rpc-auth = "MYUSER:MYPASS"
# transmission-home = "~/.config/transmission"
# The.Big.Bang.Theory
feed = { url => "http://www.ezrss.it/search/index.php?show_name=The+Big+Bang+Theory&show_name_exact=true&mode=rss"
}
# Gossip.Girl
feed = { url => "http://www.ezrss.it/search/index.php?simple&show_name=Gossip+girl&mode=rss"
}
# How.I.Met.Your.Mother
feed = { url => "http://www.ezrss.it/search/index.php?simple&show_name=how+i+met+your+mother&mode=rss"
}
# One.Tree.Hill
feed = { url => "http://www.ezrss.it/search/index.php?simple&show_name=one+tree+hill&mode=rss"
}
# The.Event
feed = { url => "http://www.ezrss.it/search/index.php?simple&show_name=the+event&mode=rss"
}
# Chuck
feed = { url => "http://www.ezrss.it/search/index.php?simple&show_name=chuck&mode=rss"
}
# Fringe
feed = { url => "http://www.ezrss.it/search/index.php?show_name=fringe&date=&quality=hdtv&quality_exact=true&release_group=&mode=rss"
}
# Two.and.a.Half.Men
feed = { url => "http://www.ezrss.it/search/index.php?simple&show_name=two+and+a+half+men&mode=rss"
}
interval = 15
upload-limit = 10
use-transmission = yes
start-torrents = yes
torrent-folder = "/c/addons-config/Transmission/transmission-daemon/torrents/"
statefile = "~/.config/automatic.state"
#prowl-apikey = ""
filter = { pattern => "The.Big.Bang.Theory.*"
folder => "/c/media/BitTorrent/"
}
filter = { pattern => "Gossip.Girl.*"
folder => "/c/media/BitTorrent/"
}
filter = { pattern => "How.I.Met.Your.Mother.*"
folder => "/c/media/BitTorrent/"
}
filter = { pattern => "One.Tree.Hill.*"
folder => "/c/media/BitTorrent/"
}
filter = { pattern => "The.Event.*"
folder => "/c/media/BitTorrent/"
}
filter = { pattern => "Chuck.*"
folder => "/c/media/BitTorrent/"
}
filter = { pattern => "Fringe.*"
folder => "/c/media/BitTorrent/"
}
filter = { pattern => "Two.and.a.Half.Men.*"
folder => "/c/media/BitTorrent/"
}
14 Replies
Replies have been turned off for this discussion
- cybertoastAspirantTry the following:
- use-transmission = no
Run automatic -v 3 -f, to run automatic on the command-line instead of as a daemon (ensure that it's not running already by stopping the service in frontview).
This *should* start dropping .torrent files into your torrents folder (torrent-folder = "/c/addons-config/Transmission/transmission-daemon/torrents/").
If this works, then you might as well just turn off the transmission rpc service (which for some reason did not work for me) and instead set watch-dir-enabled in /c/addons/Transmission/transmission-daemon/settings.json to true (watch-dir-enabled: 1). Obviously stop the transmission service before you make the change, then start the transmission service after.
So the steps would be:- stop the automatic service in frontview
- Edit /etc/automatic.com
- set use-transmission = no
- run automatic -v 3 -l /var/log/automatic.conf -c /etc/automatic.conf from the command-line
- stop the transmission service
- edit the Transmission settings: /c/addons-config/Transmission/transmission-daemon/settings.json
- set watch-dir-enabled: 1
- Start Transmission service in frontview
You should now have transmission monitoring and pull the torrents that automatic puts into your torrent folder.
Hope this helps. Also, see the documentation about automatic at http://kylek.is-a-geek.org:31337/Automatic/ - use-transmission = no
- fifthoAspirantI followed your guide, and got the .torrent files downloaded, and appear in transmission..
now's the question, how do I this to work properly automatic ? I don't want to run this command manually :) - WhoCares_MentorOnce you changed the settings in the automatic.conf file, I don't see why it shouldn't work in daemon mode.
-Stefan - JosephAEAspirantI've been able to get Automatic and Transmission to work together and down load files. But I have not been able to filter them to a folder. I've tried a number of things from many different posts but I still can't get Automatic to load my files to the correct folder. Transmission will down load my files to "/c/media/BitTorrent" but not the folder specified by Automatic. Any suggestions?
I tried turning Automatic off in FrontView and launched it through SSH with:automatic -v 3 -l /c/addons-config/auto.log -c /etc/automatic.conf
Here is my automatic.conf file with comments removed.transmission-version = "1.3"
feed = { url => "http://www.ezrss.it/search/index.php?show_name=The+Big+Bang+Theory&date=2011-03-10&season=4&episode=18&mode=rss"
}
interval = 1000
use-transmission = no
start-torrents = yes
torrent-folder = "/c/media/BitTorrent/sources/"
statefile = "/c/addons-config/Transmission/transmission-daemon/torrents/automatic.state"
filter = { pattern => "The.Big.Bang.Theory.*"
folder => "/c/media/TV_Shows/"
}
This still didn't work and I don't know enough about the log file to pick out the errors. Does the "Type 1" or "Type 2" mean anything special here? Below is the auto.log file that was generated.../src/config_parser.c, 429: Configuration file size: 454
../src/config_parser.c, 599: [parse_config_file] option: transmission-version
../src/config_parser.c, 600: [parse_config_file] param: 1.3 (3 byte)
../src/config_parser.c, 601: [parse_config_file] -----------------
../src/config_parser.c, 318: transmission-version=1.3 (type: 0)
../src/config_parser.c, 559: reading multiline param
../src/config_parser.c, 573: multiline param: param_good=0
../src/config_parser.c, 599: [parse_config_file] option: feed
../src/config_parser.c, 600: [parse_config_file] param: url => "http://www.ezrss.it/search/index.php?show_name=The+Big+Bang+Theory&date=2011-03-10&season=4&episode=18&mode=rss"
(129 byte)
../src/config_parser.c, 601: [parse_config_file] -----------------
../src/config_parser.c, 318: feed= url => "http://www.ezrss.it/search/index.php?show_name=The+Big+Bang+Theory&date=2011-03-10&season=4&episode=18&mode=rss"
(type: 2)
../src/regex.c, 95: [getRegExMatch] Text to match against: http://www.ezrss.it/search/index.php?show_name=The+Big+Bang+Theory&date=2011-03-10&season=4&episode=18&mode=rss (111 byte)
../src/config_parser.c, 599: [parse_config_file] option: interval
../src/config_parser.c, 600: [parse_config_file] param: 1000 (4 byte)
../src/config_parser.c, 601: [parse_config_file] -----------------
../src/config_parser.c, 318: interval=1000 (type: 1)
../src/config_parser.c, 599: [parse_config_file] option: use-transmission
../src/config_parser.c, 600: [parse_config_file] param: no (2 byte)
../src/config_parser.c, 601: [parse_config_file] -----------------
../src/config_parser.c, 318: use-transmission=no (type: 1)
../src/config_parser.c, 599: [parse_config_file] option: start-torrents
../src/config_parser.c, 600: [parse_config_file] param: yes (3 byte)
../src/config_parser.c, 601: [parse_config_file] -----------------
../src/config_parser.c, 318: start-torrents=yes (type: 1)
../src/config_parser.c, 599: [parse_config_file] option: torrent-folder
../src/config_parser.c, 600: [parse_config_file] param: /c/media/BitTorrent/sources/ (28 byte)
../src/config_parser.c, 601: [parse_config_file] -----------------
../src/config_parser.c, 318: torrent-folder=/c/media/BitTorrent/sources/ (type: 0)
../src/config_parser.c, 599: [parse_config_file] option: statefile
../src/config_parser.c, 600: [parse_config_file] param: /c/addons-config/Transmission/transmission-daemon/torrents/automatic.state (74 byte)
../src/config_parser.c, 601: [parse_config_file] -----------------
../src/config_parser.c, 318: statefile=/c/addons-config/Transmission/transmission-daemon/torrents/automatic.state (type: 0)
../src/config_parser.c, 559: reading multiline param
../src/config_parser.c, 573: multiline param: param_good=0
../src/config_parser.c, 599: [parse_config_file] option: filter
../src/config_parser.c, 600: [parse_config_file] param: pattern => "The.Big.Bang.Theory.*"
folder => "/c/media/TV_Shows/"
(78 byte)
../src/config_parser.c, 601: [parse_config_file] -----------------
../src/config_parser.c, 318: filter= pattern => "The.Big.Bang.Theory.*"
folder => "/c/media/TV_Shows/"
(type: 2)
[11/12/01 21:25:35] ../src/automatic.c, 509: Daemon started
../src/automatic.c, 514: verbose level: 3
../src/automatic.c, 515: Transmission version: 1.3
../src/automatic.c, 516: RPC host: localhost
../src/automatic.c, 517: RPC port: 9091
../src/automatic.c, 518: RPC auth: none
../src/automatic.c, 519: foreground mode: no
../src/automatic.c, 520: config file: /etc/automatic.conf
../src/automatic.c, 521: Transmission home: /root/.config/transmission
../src/automatic.c, 522: check interval: 232 min
../src/automatic.c, 523: Upload limit: -1 KB/s
../src/automatic.c, 524: torrent folder: /c/media/BitTorrent/sources/
../src/automatic.c, 525: start torrents: yes
../src/automatic.c, 526: state file: /c/addons-config/Transmission/transmission-daemon/torrents/automatic.state
../src/automatic.c, 530: 1 feed URLs
../src/automatic.c, 531: Read 1 filters from config file
../src/state.c, 111: Restored 26 old entries
[11/12/01 21:25:35] ../src/automatic.c, 560: ------ Checking for new episodes ------
../src/automatic.c, 573: Checking feed 1 ...
../src/web.c, 401: [getHTTPData] url=http://www.ezrss.it/search/index.php?show_name=The+Big+Bang+Theory&date=2011-03-10&season=4&episode=18&mode=rss, curl_session=(nil)
../src/web.c, 366: [am_curl_init] Created new curl session 0x8063bc8
../src/regex.c, 95: [getRegExMatch] Text to match against: Content-Length: 1623
(22 byte)
../src/web.c, 95: Content-Length: 1623
../src/web.c, 438: [getHTTPData] response code: 200
../src/automatic.c, 428: [processFeed] curl_session=0x8063bc8
../src/xml_parser.c, 87: 1 items in XML
../src/xml_parser.c, 130: == Done extracting RSS items ==
../src/automatic.c, 440: History bucket size changed: 31
[11/12/01 21:25:36] ../src/automatic.c, 384: Found new download: The Big Bang Theory 4x18 [HDTV - ASAP] (http://torrent.zoink.it/The.Big.Bang.Theory.S04E18.HDTV.XviD-ASAP.[eztv].torrent)
../src/automatic.c, 304: [downloadTorrent] url=http://torrent.zoink.it/The.Big.Bang.Theory.S04E18.HDTV.XviD-ASAP.[eztv].torrent, curl_session=0x8063bc8
../src/web.c, 401: [getHTTPData] url=http://torrent.zoink.it/The.Big.Bang.Theory.S04E18.HDTV.XviD-ASAP.[eztv].torrent, curl_session=0x8063bc8
../src/regex.c, 95: [getRegExMatch] Text to match against: Content-Length: 7545
(22 byte)
../src/web.c, 95: Content-Length: 7545
../src/web.c, 438: [getHTTPData] response code: 200
../src/file.c, 95: Saved torrent file '/c/media/BitTorrent/sources//The.Big.Bang.Theory.S04E18.HDTV.XviD-ASAP.[eztv].torrent'
../src/state.c, 66: Saving state (27 downloaded torrents) to disk
../src/list.c, 228: [cleanupList] size before: 1
../src/list.c, 239: [cleanupList] size after: 0
../src/web.c, 570: [closeCURLSession] Closing curl session 0x8063bc8
../src/automatic.c, 578: New bucket size: 31
All the files ends up in the "/c/media/BitTorrent" folder.
I hope someone can help me out. - WhoCares_Mentor
JosephAE wrote: I've been able to get Automatic and Transmission to work together and down load files. But I have not been able to filter them to a folder. I've tried a number of things from many different posts but I still can't get Automatic to load my files to the correct folder. Transmission will down load my files to "/c/media/BitTorrent" but not the folder specified by Automatic. Any suggestions?
As far as I know there is *no way* that Automatic can tell Transmission where to *store* downloaded files. The only thing Automatic can do is place .torrent files in a folder watched by Transmission. Transmission in turn will pick up the torrent and save the file specified in the torrent to where Transmission's config tells it to. Automatic doesn't modify the torrent in any way. It just downloads them and puts them somewhere. So I really don't see how it could tell Transmission the final location of the download. But maybe I'm totally wrong there.
-Stefan - JosephAEAspirantI am very new to all this but isn't the "filter" command suppose to move the finished torrent to the folder you've selected?
filter = { pattern => "The.Big.Bang.Theory.*"
folder => "/c/media/TV_Shows/"
} - WhoCares_MentorNope, since Automatic only retrieves .torrent files, not the actual download. It should place the .torrent file in the folder you specify, that's correct. If it doesn't when run as a daemon but does so when run from the command line, then you have a permission issue. Make sure the "admin" user has write access to the folder where you want the .torrent files to be placed by Automatic.
-Stefan - JarnoGGuideI always assumed (but never looked into, nor tried it out) that the folder option in the filter send some rpc parameter to Transmission. In that case, it would not work if you just used it to download the .torrent file to some folder, but it would work if you use it to directly connect to Transmission.
- fifthoAspirantso who can tell me which exact how-to with config / version to use to be able to do this automatically ?
- Chandler1AspirantCall me a noob, but I've done the little I know to get it working myself, and I can't find too much help on the net...
In short: I have installed Automatic v0.6.4-readynas-0.9.7.bin successfully and modified the /etc/automatic.conf file. Starting the service via Frontview results in a green dot for a second or two before it turns grey again (I'm assuming it should stay green if the service is active?). Trying to run Automatic via the command line (thanks for the idea JosephAE) gives the error:ChandlerNAS:/etc# automatic -v 1 -l /c/addons-config/automatic.log -c /etc/automatic.conf
automatic: /usr/lib/libcurl.so.3: no version information available (required by automatic)
I have libcurl.so.3 in there, but I have no idea what "version information" it is supposed to have...
NAS details in my sig. Thanks in advance and thanks SO MUCH for the addon: I had actually looked into RSS torrent feeders for my NAS and found out about Automatic, but wasn't game to do all the coding/modding required to install and run it on my NAS :D
Edit: Transmission version is v2.31 and Automatic is v0.6.4-readynas-0.9.7
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!