Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi Kylek,
I have updated Automatic and transmission to its latest version 0.7.1 / 2.42 and I get the following errors after a reboot.
It seems that Automatic could find the Rss feeds. any idee why ?
[12/01/09 11:29:15] ../src/automatic.c, 556: Daemon started
../src/automatic.c, 561: Automatic version: 0.7.1 (98bcd61)
../src/automatic.c, 578: 2 feed URLs
../src/automatic.c, 579: Read 21 filters from config file
../src/web.c, 432: [getHTTPData] 'https://prowlapp.com/.....: Couldn't resolve host name (retval: 6)
../src/state.c, 111: Restored 71 old entries
../src/web.c, 432: [getHTTPData] 'http://ez..': Couldn't resolve host name (retval: 6)
../src/web.c, 432: [getHTTPData] 'http://rss.the...': Couldn't resolve host name (retval: 6)
Offline
It looks to me like your NAS can't resolve any host names.
What happens if you type this on the command line:
$ ping heise.de $ ping prowlapp.com
Check your /etc/hosts file for any strange redirections.
Offline
When I ping a host from the NAS I get a Bad address error.
I have checked /ffp/etc/ fore a hosts file but i noticed that there isn’t one.
Fore testing purposes I put the NAS in the DMZ and tried again but whiteout any joy.
I just checked the DNS setup in the device and noticed that the DNS 1 and 2 where made blank I filled out the DNS adresses and
now Automatic is working like a charm
Last edited by Elgrande (2012-01-09 13:20:45)
Offline
Glad you found a way to fix the issue.
Just for information: The hosts file should be in /etc/hosts, not /ffp/etc/hosts (it's a system file).
Usually it is empty though.
Offline
KyleK
I'm getting the following error with old and new versions:
../src/automatic.c, 458: Checking feed 'http://rss.bt-chat.com/?cat=9&group=2' (40 items)
../src/xml_parser.c, 175: Error: Unable to parse input data!
I believe it is because one of the torrents has a "!" in it. I haven't had time to modify the code and try it out to verify. My line numbers my differ from yours as I've modified some of the debug info.
Last edited by FunFiler (2012-01-14 11:19:22)
Offline
I would have to say this is an issue with the feed then.
XML parsing is done completely by libxml2, which I assume is fairly up-to-date regarding the XML standard.
If the text of an XML element contains a character that is otherwise used within XML (e.g. for annotations), the element has to be either escaped, or the complete text has to be put in a![CDATA[...]] element.
Offline
Hi there. Is there any parameter that configures a minimum of seeders for a torrent to be downloaded? It would be nice... Thanks and congratulations for the application.
Offline
No. This would only be possible if that kind of information is available within the RSS feed, which it is not (at least I haven't seen any feed that includes seeds/leechers).
Offline
Kylek, I need your help. Is this line ok e correct?
pattern => "^californication.(?!.*(WEB|subbed))720p"
This should filter Californication (the TV show), only 720p release, and excluding the releases that have WEB or SUBBED. Anything missing?
Thanks you again!
Last edited by gmpassos (2012-01-30 13:49:12)
Offline
No, that won't work. Exclusions have to go to the front of the regular expression:
pattern => "(?!.*(WEB|subbed))^californication.*720p"
Offline
I added a link to Automatic 0.7.1 for ffp-0.7-arm, in case anyone already switched to ffp-0.7.
Be aware that the arm package is only for newer devices (DNS-320, DNS-325).
For those who switched to ffp-0.7-oarm, you should be able to use the regular ffp-0.5 package (let me know if not!).
Offline
@KyleK
Did you make the script more compatible or something?
The last time i tried it on my DNS 320 it was really confusing to get it to work. But 0.7.1 was really simple.
Offline
No, the functionality of Automatic has not changed.
The new release ist just for people who have an EABI NAS and have switched to ffp-0.7-arm. The old version of Automatic would not work on these machines.
Offline
Hi! I'm from Spain, so sorry for my english ;-)
I have a DNS-320 with funplug 0.7 installed. I've installed automatic and, besides copying some libs from /lib to /ffp/lib, I'm having a Segmentation Fault error.
../src/automatic.c, 561: Automatic version: 0.7x (6e62154)
../src/automatic.c, 562: verbose level: 2
../src/automatic.c, 563: Transmission version: 1.3
../src/automatic.c, 564: RPC host: localhost
../src/automatic.c, 565: RPC port: 9091
../src/automatic.c, 566: RPC auth: none
../src/automatic.c, 567: foreground mode: yes
../src/automatic.c, 568: config file: /etc/automatic.conf
../src/automatic.c, 569: Transmission home: /home/root/.config/transmission
../src/automatic.c, 570: check interval: 30 min
../src/automatic.c, 571: Upload limit: -1 KB/s
../src/automatic.c, 572: torrent folder: /mnt/HD_a2/torrent
../src/automatic.c, 573: start torrents: yes
../src/automatic.c, 574: state file: /home/root/.config/automatic/automatic.state
../src/automatic.c, 578: 1 feed URLs
../src/automatic.c, 579: Read 1 filters from config file
../src/state.c, 111: Restored 0 old entries
[12/02/07 20:16:32] ../src/automatic.c, 608: ------ Checking for new episodes ------
Segmentation fault
Any help?
Thanks!
Offline
Got a strange problem, that I can not figure out. I use Kamorra, and have a few shows in my rss feed that is downloading on my DNS-325 with Fun_Plug 0.5 and 0.7.1/2.4.2
If I include this filter, or any combination with the name(s), the shows are updated before Automatic terminates. This happened by itself last week, and it can? have something to do with the new changes at Kamorra. I just wonder which show will be the next to kill my Automatic... Anyone got a small fix for this?
filter = { pattern => "Show's.Sodomy*"
folder => "/mnt/HD/HD_a2/TV_Program/Shows_Sodomy/"
}
Last edited by torro (2012-02-12 19:12:30)
Offline
@Leazah: What do you mean by copying libs to /ffp/lib? You should always use library packages that are specifically provided for ffp-0.7.
All of Automatics dependencies should be available as package. Let me know if this is not the case.
@torro: Automatic quits by itself when you add this filter to your config file? What does the log file say about it?
Offline
The log does not tell anything, everything seems OK, but Automatic just quits.
I tried to delete the state file and to just have this filter in my config file, but with similar result.
Is there a way to enable debugging, or more detailed log level?
Last edited by torro (2012-02-08 10:54:36)
Offline
Try this:
$ automatic -f -o -c /ffp/etc/automatic.conf -v 4 -l automatic.log
It will run Automatic in foreground mode, and quit (on purpose) after it checked the feeds once.
If it quits earlier than expected (because of a crash, for example), the logfile should reflect that.
Last edited by KyleK (2012-02-08 12:13:41)
Offline
It output "Segmentation fault"
Edit: This is, so far, only happening when this specific TV show is included in the config file.
Both the torrent- and the avi file has normal characters, but it could have something
to do with the ' . Automatic quits whether the torrents exist or not.
Here is the RSS link..[removed]
Last edited by torro (2012-02-12 19:11:35)
Offline
KyleK wrote:
@Leazah: What do you mean by copying libs to /ffp/lib? You should always use library packages that are specifically provided for ffp-0.7.
All of Automatics dependencies should be available as package. Let me know if this is not the case.
Maybe I've done something wrong, but what I did was just download the automatic package and funpkg'd it. No warning nor anything else. But when I started it, it asked for some libs in /ffp/lib that I found in /bin, so I copied them.
Should I download any specific package for this libs? Anyway, it's possible that's my fault, because I had to change several routes in the script to get it run.
PS: Thanks and again, sorry for my english.
Offline
@Leazah: Automatic depends on curl, PCRE and libxml2, all of which are available from fonz' repository and must be installed for Automatic to work. Copying any files from /lib to /ffp/lib will most certainly break things.
Just use slacker to install the requirements:
$ slacker -Ui
Offline
torro wrote:
It output "Segmentation fault"
Here is the log: http://pastebin.com/vnyFJBY6
Edit: This is, so far, only happening when this specific TV show is included in the config file.
Both the torrent- and the avi file has normal characters, but it could have something
to do with the ' . Automatic quits whether the torrents exist or not.
Here is the RSS link for this show: http://showrss.karmorra.info/feeds/34.rss
The good news is that I pinned down the problem and already fixed it.
The not so good news is that I only fixed it for the new ffp-0.7-arm platform.
I'll do my best to provide a ffp-0.5 package before Monday (which is when I will be away for ~ 10 days).
Offline
Ok, Automatic v0.7.2 is now available for ffp-0.5 and ffp-0.7-arm.
It fixes the issue torro reported (Automatic could crash in some rather rare cases).
Get the packages from the first post.
Offline
Thanks. The new release fixed the problem.
Offline
Hey Kylek,
Thanks again for this amazing bit of code , its made my life so much easier.
As you may know , the piratebay has recently removed torrents and only use magent files now , and im wondering if automatic can support magent addresses as i know transmission can. I can cut and paste the files into transmission and that works ok, but i get errors when i try to get them with an RSS feed.
[12/03/01 21:32:53] ../src/automatic.c, 397: [(null)] Found new download: The Adventures of Tintin 2011 DVDRip XviD-TARGET (magnet:?xt=urn:btih:2ded86af7c0cce8224262ba703 191bf7d8537a5d&dn=The+Adventures+of+Tintin+2011+DVDRip+XviD-TARGET) ../src/web.c, 422: [getHTTPData] 'magnet:?xt=urn:btih:2ded86af7c0cce8224262ba703191bf7d8537a5d&dn=The+Adventures+of+Tintin+2011+DVDRip+XviD-TARGET': Couldn't resolve host name (retval: 6) [12/03/01 21:32:53] ../src/automatic.c, 397: [(null)] Found new download: Hugo.2011.DVDRip.XviD- AMIABLE (magnet:?xt=urn:btih:047939ea084451b77f60bd4951c53ac62a22ec5e&dn= Hugo.2011.DVDRip.XviD-+AMIABLE) ../src/web.c, 422: [getHTTPData] 'magnet:?xt=urn:btih:047939ea084451b77f60bd4951c53ac62a22ec5e&dn=Hugo.2011.DVDRip.XviD-+AMIABLE': Couldn't resolve host name (retval: 6) [12/03/01 21:32:53] ../src/automatic.c, 397: [(null)] Found new download: Machine Gun Preacher 2011 Dvdrip xvid Cinemagic (magnet:?xt=urn:btih:7be37ac7f65dc78bf8b115629e6 0220c637fe0d1&dn=Machine+Gun+Preacher+2011+Dvdrip+xvid+Cinemagic) ../src/web.c, 422: [getHTTPData] 'magnet:?xt=urn:btih:7be37ac7f65dc78bf8b115629e60220c637fe0d1&dn=Machine+Gun+Preacher+2011+Dvdrip+xvid+Cinemagic': Couldn't resolve host name (retval: 6)
That being said, it very well could be my RSS feed , but i have tried a few things and cant seem to work it out so i said id ask the expert.
Offline