DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#776 2013-03-02 11:17:38

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Automatic for funplug-0.5

Well, since I have an iPhone, I built support for Prowl into Automatic, with which I get a push notification when a new torrent is added.
Unfortunately, that won't work with any other phone hmm

But, Transmission allows for a script to be executed when a download completes, and you could use such a script to send you an email or do some other stuff.
Google around, I'm sure there are example scripts out there.

Offline

 

#777 2013-03-03 17:33:36

lykle
Member
Registered: 2013-01-24
Posts: 13

Re: [REL] Automatic for funplug-0.5

Hi KyleK

Yeah got that to work with a tool called Notify My Android.
Uses Curl and an API key they provided to send me a notification.

It worked, the first time. But after that, no more notifications. No idea why yet, but it was nice to see that first notification coming in.

Ah well, back to the putty to see what is going on.

Again, thanks for a great package.

Offline

 

#778 2013-03-04 23:38:21

pippogsm
New member
Registered: 2013-03-04
Posts: 3

Re: [REL] Automatic for funplug-0.5

Hi KyleK.

First, let me say a huge "Thank you" for an excelent tool.

I ended up here looking for the same thing as lykle: push notifications. I took a look at Notify My Android, and it seems to work identically with Prowl! Actually, I think that by simply replacing these:

Code:

#define PROWL_URL "https://api.prowlapp.com"
#define PROWL_ADD "/publicapi/add"
#define PROWL_VERIFY "/publicapi/verify"

with

Code:

#define PROWL_URL "https://www.notifymyandroid.com"
#define PROWL_ADD "/publicapi/add"
#define PROWL_VERIFY "/publicapi/notify"

would just make it work smile

More details here: http://www.notifymyandroid.com/api.jsp

I would give it a try, but I have no ideea how to recompile and stuff.

Offline

 

#779 2013-03-20 10:41:33

rhysee
New member
Registered: 2011-12-14
Posts: 2

Re: [REL] Automatic for funplug-0.5

Gosh if anyone has a sample working automatic.conf working for NotifymyAndroid that would be super guys..

Many thanks Kyle for your help .

Offline

 

#780 2013-04-24 23:12:49

pippogsm
New member
Registered: 2013-03-04
Posts: 3

Re: [REL] Automatic for funplug-0.5

Links are down... Is Automatic still available for download somewhere?? I had it working, but I need to re-install everything. Thank you.

Offline

 

#781 2013-04-24 23:54:23

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Automatic for funplug-0.5

Unfortunately my Internet is currently down, which is why the ffp packages are not available.
Hopefully it'll be fixed tomorrow.

Sorry for that hmm

Offline

 

#782 2013-04-25 20:15:44

pippogsm
New member
Registered: 2013-03-04
Posts: 3

Re: [REL] Automatic for funplug-0.5

No harm done.. I actually got the source files files from github, and managed to build an install following the instructions in the archive.

Now I have to rebuild that script I had working with Notify My Android smile

Offline

 

#783 2013-04-25 20:21:25

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Automatic for funplug-0.5

For FFP 0.5:
Automatic-0.8.2-1
curl-7.19.4-1.tgz
Transmission-2.76-1.tgz

Last edited by FunFiler (2013-04-25 20:34:14)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#784 2013-04-27 18:31:42

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Automatic for funplug-0.5

My internet is working again, so the packages should be available. Sorry for the downtime.

Offline

 

#785 2013-05-29 12:37:15

whiteout
Member
Registered: 2011-09-06
Posts: 31

Re: [REL] Automatic for funplug-0.5

I have problems with one of my feeds.

It tries to connect but i get "Couldn't connect to server (retval: 7)"

I set the verbose of libcurl to 2 and got this:

* About to connect() to rss.torrentleech.org port 80 (#0)
*   Trying 109.163.231.254...
* Connection timed out
* couldn't connect to host
* Closing connection #0
* Couldn't connect to server
../src/web.c, 421: [getHTTPData] response code: 0
../src/web.c, 423: [getHTTPData] 'http://rss.torrentleech.org/b64cf5075d97501dd607': Couldn't connect to server (retval: 7)
../src/automatic.c, 613: [processFeed] curl_session=0x39a90
../src/automatic.c, 752: New bucket size: 48

I know they have had problems with their feed before. It seems to work fine with my web browser now but unfortunately not with automatic sad

Is there something i can do or can anyone see what the problem might be?

Offline

 

#786 2013-05-31 08:23:12

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Automatic for funplug-0.5

Hm. Looks like the web server wasn't reachable the moment you tried this on your NAS.
You say it works fine in your browser?
Does the URL resolve to the same IP on both machines?

Offline

 

#787 2013-05-31 11:28:27

djtaz
Member
Registered: 2010-04-03
Posts: 33

Re: [REL] Automatic for funplug-0.5

Just in case anyone had missed this , i have an RSS feed done from the piratebay that filters the bad quality movies and only looks for DVD, R5 or BlueRay movies

http://djtazie.com/rss/pirate100_magnet.php <-- anyone who wants it may use it in their automatic conf , its handy if you only want the good quality.

Kylek,
Do you want me to mirror your files in case things go down at home in future ?

Offline

 

#788 2013-06-03 16:17:04

seamuscarey
New member
Registered: 2013-06-03
Posts: 1

Re: [REL] Automatic for funplug-0.5

Hi all,

I love this resource and have found it incredibly helpful so thanks to everyone!

I have a small issue with automatic on my DNS-323. Everything is setup and working fine. It is being fed torrents from my rss feed at showrss (a great resource btw) and looks for updates every 4 hours. Once shows are completed, I delete them from transmission and move them to my tv folder manually (prefer it this way).

However, when a new show gets added to the rss feed and fed to automatic/transmission, automatic/transmission adds it ok but also adds all the old files still in the RSS feed that have already been downloaded and starts downloading them, not remembering that it's already downloaded them (maybe because I've moved them?)

I have edited the path to the state file to be "mnt/HD_a2/automatic-memory and created a folder there but no files seem to be created in there?

Any suggested normal fixes?

Thanks,

Séamus

Last edited by seamuscarey (2013-06-03 16:18:28)

Offline

 

#789 2013-06-04 18:43:48

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Automatic for funplug-0.5

Other than setting permissions, it should work fine.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#790 2013-06-04 21:10:26

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Automatic for funplug-0.5

Have you restarted Automatic after specifying the new location for the state file? That file gets saved every time a new torrent was found.
You can also look into the log file, the path to the state file is logged there as well.

Offline

 

#791 2013-06-05 22:03:49

whiteout
Member
Registered: 2011-09-06
Posts: 31

Re: [REL] Automatic for funplug-0.5

KyleK wrote:

Hm. Looks like the web server wasn't reachable the moment you tried this on your NAS.
You say it works fine in your browser?
Does the URL resolve to the same IP on both machines?

No i cant see the ip when using my browser but the rss-feed works fine with both chrome, explorer and uTorent. Im thinking it could be some kind of authority issue when trying to reach the feed from Automatic/NAS??

Offline

 

#792 2013-06-05 22:34:59

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Automatic for funplug-0.5

If the NAS is on the same network as your notebook/PC, it should have the same access.

Unless there's some firewall blocking outgoing connections from your NAS, I don't know what could be the reason.

Offline

 

#793 2013-06-05 22:56:20

whiteout
Member
Registered: 2011-09-06
Posts: 31

Re: [REL] Automatic for funplug-0.5

It is just so weird since other feeds to other torrent trackers work fine with automatic.

Offline

 

#794 2013-06-22 08:09:19

punchinello
Member
Registered: 2013-06-22
Posts: 6

Re: [REL] Automatic for funplug-0.5

My config file is starting to get unwieldy and the only thing changing is the TV show name. Is it possible to do any kind of grouping, so that I don't have to create a filter per download directory? Ideally I want to be able to do the following:

Code:

filter ={ "showlist=>\
"tvshow1" \
"tvshow2" \
"tvshow3"
pattern => "tvshow.*720p"
folder => "/mnt/TV/tvshow/tvshow.season##"}

Offline

 

#795 2013-06-22 20:29:32

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Automatic for funplug-0.5

There's currently no grouping implemented, but you can use a regular expression that matches multiple shows:

Code:

pattern => "(tvshow1|tvshow2|tvshow3).*720p"

Then again: what's so wrong with multiple filters in a config file? I find that better to read.

Offline

 

#796 2013-06-22 21:50:22

punchinello
Member
Registered: 2013-06-22
Posts: 6

Re: [REL] Automatic for funplug-0.5

I would prefer to simplify the filters so that I can control naming schemes with ease, rather than having to do a search and replace.
Would something like this be possible?

Code:

filter = { pattern => "(tvshow1|tvshow2|tvshow3).[sS]([0-9])*720p"
folder => "/mnt/TV/$1/$1.S$2" }

Offline

 

#797 2013-06-22 22:40:04

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Automatic for funplug-0.5

Why don't you download to a single directory and run a post download script that sorts/moves/etc the files?


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#798 2013-06-22 23:51:25

punchinello
Member
Registered: 2013-06-22
Posts: 6

Re: [REL] Automatic for funplug-0.5

FunFiler wrote:

Why don't you download to a single directory and run a post download script that sorts/moves/etc the files?

I was curious if the capability to assign the download directory based on a match was possible with automatic.

Offline

 

#799 2013-06-23 05:02:28

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Automatic for funplug-0.5

Personally, I've seen too many programs get bloated and bogged down trying to cover all the scenarios for everyone. Shell scripts, perl scripts, etc are simple to write and can perform miracles. I'd rather see clean, clear, concise code that perform basic functions well rather than the Micro$oft approach of " Do everything half-assed" that almost does the basic functions.

Another way to look at it is that Yes, Automatic does it, by allowing for scripts to be run after a download :-)

Last edited by FunFiler (2013-06-23 05:03:26)


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#800 2013-06-23 06:05:37

punchinello
Member
Registered: 2013-06-22
Posts: 6

Re: [REL] Automatic for funplug-0.5

FunFiler wrote:

Personally, I've seen too many programs get bloated and bogged down trying to cover all the scenarios for everyone. Shell scripts, perl scripts, etc are simple to write and can perform miracles. I'd rather see clean, clear, concise code that perform basic functions well rather than the Micro$oft approach of " Do everything half-assed" that almost does the basic functions.

Another way to look at it is that Yes, Automatic does it, by allowing for scripts to be run after a download :-)

Sorry if it came across as me trying to request features or expectations that automatic should be capable of covering the scenario I described. I was only wondering if it was already a built-in feature that I was overlooking. Thanks for sticking to the principle of keeping it simple.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB