Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hm.
One thing you could do is crank up the verbose log level of Automatic to 4 (-v 4 on the commandline), and look what strings get wrongly matched.
Also note that Automatic compares the <title> element of an RSS item with your given filters, so if the item title looks different than, say, the name of the torrentfile, Automatic might download torrents you actually do not want.
Offline
KyleK wrote:
Hm.
One thing you could do is crank up the verbose log level of Automatic to 4 (-v 4 on the commandline), and look what strings get wrongly matched.
Also note that Automatic compares the <title> element of an RSS item with your given filters, so if the item title looks different than, say, the name of the torrentfile, Automatic might download torrents you actually do not want.
Ok i have done some more research
I had a torrent that was matched the normal way and in the log i had a lot of text that showed the whole process..
But last night this happend in the log:
"
[init_regex] Regular expression: (?!.*(hdchina|chdbits|multi|bd9|3d|ps3))2011.*1080p
[isRegExMatch] Text to match against: The Help 2011 MULTI 1080p BluRay x264-NERDHD
[isRegExMatch] err=-1
../src/list.c, 228: [cleanupList] size before: 100
../src/list.c, 239: [cleanupList] size after: 0
"
All seemed fine since regex didn't match. But I still got a prowl push and it was added to transmission anyway..
I also run the command ps to see which processes were running and found a lot of automatic processes running at the same time. I did killall and restarted a new session so now only one process of automatic is running. Can this have caused this mess?
Last edited by whiteout (2011-11-18 11:24:19)
Offline
whiteout wrote:
Can this have caused this mess?
Definitely as the extraneous instances would be running with older configuration files, therefore older filter values.
Offline
FunFiler wrote:
whiteout wrote:
Can this have caused this mess?
Definitely as the extraneous instances would be running with older configuration files, therefore older filter values.
Great lets hope it will work now then. So final question: If I change my automatic.conf file. I dont have to run automatic again? Or do i have to kill the current process and run a new one?
Offline
If you change your .conf file, you need to kill the active process and start a new one.
Otherwise Automatic won't know you changed something.
Last edited by KyleK (2011-12-03 15:54:25)
Offline
Hello Kylek, thanks a lot for the great work. I'm using automatic 0.6.7 on a Fritz!Box and it works perfectly except for the Prowl notifications. If I enter my API Key in the conf file it returns (with verbose level 3)
../src/web.c, 401: [getHTTPData] url=https://prowlapp.com/publicapi/verify?apikey=(MY_API_KEY), curl_session=(nil)
../src/web.c, 365: [am_curl_init] Created new curl session 0x41e738
../src/web.c, 431: [getHTTPData] response code: 0
../src/web.c, 433: [getHTTPData] 'https://prowlapp.com/publicapi/verify?apikey=(MY_API_KEY)': Error (retval: 1)
../src/web.c, 570: [closeCURLSession] Closing curl session 0x41e738
If on the terminal I try to do curl to the same key I get this answer:
<?xml version="1.0" encoding="UTF-8"?>
<prowl>
<success code="200" remaining="996" resetdate="1322776785" />
</prowl>
Which I suppose is a correct answer. Do you know what could be wrong?
Offline
Hm. CURL response code 0 means curl wasn't able to create a connection at all (or even resolve the host). I suppose this was not a one-time issue?
Last time I saw this, the NAS had a fundamental DNS issue (it couldn't resolve any domain at all), but apparently that is not an issue here.
Did you build curl for the Fritz!Box yourself? Are the curl library and the curl command-line tool using the same codebase (i.e. are they the same version)?
Last edited by KyleK (2011-12-04 00:38:17)
Offline
Hi KyleK thanks for the quick response! I was actually using a ready compiled curl. After compiling it myself the prowl verification from automation also worked! It seems like while building curl a missing library was included (libcrypto??)
I didn't quite understood it, but I'm happy it works now. Thanks again for your help!
Offline
Hey guys, here's a Christmas-y update for your favorite RSS torrent daemon
Automatic v0.7 is out!
This one brings the much-requested feature of binding filters to a certain feed, so you won't get duplicate downloads.
Automatic now also stores the RSS item GUID instead of the downloaded link to accomodate some feeds that get updated over time
(I should've done it this way from the beginning, actually, but so far it worked out fine).
Get the package from the first post as always, the source code is updated as well.
Cheers!
Offline
Thanx kylek!, will try it out.
Offline
Edit: Reason, solved.
I had som problems getting multiple episodes, but it looks like tweaking the rss-feeds did the trick.
Last edited by torro (2011-12-21 20:54:26)
Offline
I'm getting the following error when trying to install the update.
Skipping Automatic-0.7.0-1.tgz (installed: Automatic-0.6.5-1)
anyone know how to fix that?
tahnks
Offline
Are you using the correct option to perform an upgrade rather than an install?
funpkg -u <pkg name>
Offline
thank you funfiler. I don't seem to have automatic.conf in my etc folder. any suggestions? thanks
Offline
There is a sample that gets installed to /ffp/etc. Rename it and edit as appropriate.
Offline
Hoping for some help.
Have a DNS-321, installed fun_plug and the following packages
Transmission-2.32-1.tgz
Automatic-0.7.0-1.tgz
Install went fine
Modified automatic.conf (attached)
On start I get the following error
root@NAS:/ffp/start# ./automatic.sh start
Starting /ffp/bin/automatic -c /ffp/etc/automatic.conf -l /mnt/HD_a2/.transmission-daemon/automatic.log -v 3
Error parsing config file: Unknown error
What am I missing.
i'm reading through the 23 pages of posts now looking for answer.
thanks
Offline
Got it.
Checked the logs and noticed it was shutting down the daemon around line 43.
Checked the config file and see that some things that should be commented out were not.
Here is the snippet from the original sample file
# A feed contains at least a feed URL and some optional parameters:
# "cookie" => If the feed sits behind a login-secured site, you may specify
can download the feed (and any torrents that are matched)
"id" => Give a feed a numeric feed ID which later on can be used to r
Starting to play with it now
Offline
FunFiler wrote:
There is a sample that gets installed to /ffp/etc. Rename it and edit as appropriate.
Thank you. But I can't seem to move it into the ffp/etc folder!!
Offline
When installing automatic, all files will be attributed to the user root, including the config sample.
If you're not accessing your NAS as root, you'll have to either use sudo (if installed), or su.
Offline
Need more help.
Both automatic and transmission seem to be working right.
I'm getting these error messages in the automatic.log
Help?
Example
../src/config_parser.c, : Unknown suboption 'feedID'!
../src/config_parser.c, 789: [parse_config_file] option: filter
../src/config_parser.c, 790: [parse_config_file] param: pattern => ""(?!.*720p)Terra Nova"
folder => "/mnt/HD_a2/NAS/Completed/TV_Test"
feedID => 1
(125 byte)
../src/config_parser.c, 791: [parse_config_file] -----------------
../src/config_parser.c, 506: filter= pattern => ""(?!.*720p)Terra Nova"
folder => "/mnt/HD_a2/NAS/Completed/TV_Test"
feedID => 1
(type: 2)
../src/config_parser.c, 322: Unknown suboption 'feedID'!
../src/list.c, 228: [cleanupList] size before: 3
../src/list.c, 239: [cleanupList] size after: 0
../src/config_parser.c, 749: reading multiline param
../src/config_parser.c, 763: multiline param: param_good=0
../src/config_parser.c, 789: [parse_config_file] option: filter
../src/config_parser.c, 790: [parse_config_file] param: pattern => ""(?!.*720p)The Darkest Hour"
folder => "/ffp/etc/"
feedID => 2
(107 byte)
../src/config_parser.c, 791: [parse_config_file] -----------------
../src/config_parser.c, 506: filter= pattern => ""(?!.*720p)The Darkest Hour"
folder => "/ffp/etc/"
feedID => 2
(type: 2)
../src/config_parser.c, 322: Unknown suboption 'feedID'!
../src/list.c, 228: [cleanupList] size before: 3
../src/list.c, 239: [cleanupList] size after: 0
[11/12/31 03:47:49] ../src/automatic.c, 556: Daemon started
../src/automatic.c, 561: Automatic version: 0.7.0 (40605)
Also getting this
../src/web.c, 526: response code: 409
../src/web.c, 529: Error code 409, session ID: CLFgrM4eKFryW4RfKNExJHghOQV5aL4bIbJAR2CAOeHM61Nn
../src/web.c, 569: [closeCURLSession] Closing curl session 0x28868
attaching my log
Last edited by happysmp (2011-12-31 06:02:36)
Offline
The error you get is caused by a faulty automatic.conf-sample: the parameter name is "feedid" (all lower-case), instead of "feedID".
The string comparison is not case insensitive, and I'm not sure if it should be.
Offline
Thanks Kyle,
I changed the conf file and also noticed I had an extra " in the line for the torrent name.
Things are "automatic" now!
Another question,
Is this a global path where to store the finished downloaded torrents?
# path where Automatic will store downloaded torrents
torrent-folder = "/mnt/HD_a2/NAS/Temp"
and this is the override on the filter?
filter = { pattern => "(?!.*720p)Terra Nova"
folder => "/mnt/HD_a2/NAS/Completed/TV_Test"
feedid => 1
My first "automatic" downloads are going now,
waiting to see if it respects one of these paths, or if it respects the Completed Downloads path set in transmission.
Offline
Everything seems to be working, but still getting this error in the log
../src/config_parser.c, 319: Invalid value ' 1' for filter option 'feedID'
--- see below ---
../src/config_parser.c, 789: [parse_config_file] option: filter
../src/config_parser.c, 790: [parse_config_file] param: pattern => "(?!.*720p)Terra Nova"
folder => "/mnt/HD_a2/NAS/Completed/TV_Test"
feedid => 1
(124 byte)
../src/config_parser.c, 791: [parse_config_file] -----------------
../src/config_parser.c, 506: filter= pattern => "(?!.*720p)Terra Nova"
folder => "/mnt/HD_a2/NAS/Completed/TV_Test"
feedid => 1
(type: 2)
../src/config_parser.c, 319: Invalid value ' 1' for filter option 'feedID'
../src/list.c, 228: [cleanupList] size before: 3
../src/list.c, 239: [cleanupList] size after: 0
../src/config_parser.c, 749: reading multiline param
Offline
Kyle, Thanks for the program.
This is the first time I am trying to use it. I am using the exact syntax from the example.conf
Error:
../src/config_parser.c, 419: Invalid value ' 1' for feed option 'ID'
../src/config_parser.c, 319: Invalid value ' 1' for filter option 'feedID'
../src/config_parser.c, 319: Invalid value ' 1' for filter option 'feedID'
../src/automatic.c, 561: Automatic version: 0.7.0 (40605)
../src/automatic.c, 578: 1 feed URLs
../src/automatic.c, 579: Read 2 filters from config file
../src/state.c, 111: Restored 0 old entries
conf:
feed = { url => "http://rss.torrentleech.org/xxxxxx"
cookie => ""
id => 1
}
filter = { pattern => "regex*"
folder => "/mnt/HD_a2/downloads"
feedid => 1
}
Offline
I've put out Automatic v0.7.1, which should fix the reported issues with the feed ID.
Please note 2 things:
1. The feed ID is optional. If you only use one feed, or want all filters to be valid for all feeds, remove the option.
2. The feed ID is not a number anymore, but can be a string. This way you can name your feeds for better recognizability.
Check the first post, as always, for the download link.
Offline