Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi, thank you for the support. I looks like it was the "}" at the bottom I had to remove. Now it's working (I think). The tracker is down today, so it will not work anyway, but the program is starting, so I guess everything is like it is supposed to do. If not, I will return
Offline
Ok, now when the tracker is up and runing, it's time to keep asking my questions
Automatic starts, it finds the program I want it to download, and it even add it to transmission. But it will not be downloaded. I have manually downloaded many other programs from the same tracker with no problems.
I have told automatic.conf to save the program to mnt/HD_a2/RSS/Hotel
Transmission says: Downloading from 0 of 0 peers (this is one of the most downloadable file at the tracker, so I know that there is enough seeders.
Here is what the comand "automatic -f" is saying:
root@nsa220plus:/ffp/start# automatic -f
../src/automatic.c, 530: 1 feed URLs
../src/automatic.c, 531: Read 1 filters from config file
../src/state.c, 100: [load_state] Error: Unable to open statefile '/root/.config/automatic.state' for reading: No such file or directory
[10/09/03 01:07:57] ../src/automatic.c, 384: Found new download: Hotel.**** (http://www.***bits.net/download.php/***/Hotel.***.wmv.torrent)
../src/torrent.c, 121: Torrent has already been added to Transmission
../src/state.c, 66: Saving state (1 downloaded torrents) to disk
../src/state.c, 68: Error: Unable to open statefile '/root/.config/automatic.state' for writing: No such file or directory
../src/web.c, 431: [getHTTPData] 'http://www.***bits.net/rss.php?feed=***': Server returned nothing (no headers, no data)
How can I get the torrent start downloading?
Offline
To ensure you don't get duplicates, you want to fix the state file issue.
Unless you are running as root, I would change the location of the state file in automatic.conf.
Once you figure out where you want it then issue some commands. I will use /tmp as an example.
Create a blank state file using the touch command
touch /tmp/automatic.state
Change the permissions
chmod 777 /tmp/automatic.state
Automatic is doing its job by creating the torrent and passing it to Transmission. However, the only thing that could be related that I would suspect are the cookie values or something along those lines.
Also, be sure you are looking at current log info. Sometimes it is easy to get fooled and look at old data. Shut down transmission and automatic, delete both log files, then start transmission, then start automatic. Check the logs again for new information.
Last edited by FunFiler (2010-09-03 03:33:42)
Offline
Wohoo. It seems to work
Thank you so much!
Last edited by r2d290 (2010-09-03 12:16:42)
Offline
Cool
Offline
Sorry for being absent for a while, guys. I've moved to another apartment and was without internet for a month (yes, it was hard
I'll be available for support again if anything should come up.
Offline
Must have seemed like the Dark Ages Good to have you back.
Offline
Thanks for a nice program.
When starting with a new program it should be nice if it didn't remove the old logfile. ( add a date stamp to it and save it under another name instead or so). When making changes to the configuration it isn't always i remember to save the old logfile.
after some not so nice words i made this quick change to the automatic.sh file but it will be overwritten by next upgrade.
Now=$(date +"%Y%m%d%H%M") automatic_flags="-c /ffp/etc/automatic.conf -l /mnt/HD_a2/.transmission-daemon/automatic-$Now.log"
Offline
Have an autorollover setting for the log would be pretty cool. Personally I couldn't care much for old data but it is handy now and then to pop it open to see what is going on.
Offline
My head is spinning after trying to understand regular expression.
For a while I had figured a way that was OK. Ex: To download the episodes from the House MD series in 720p I was using the following filter:
filter = { pattern => "^House.*720p"
}
But, this filter also downloaded the "WEB-DL" version too.
So I was back to study regular expression, and I came up with
filter = { pattern => "(?!.*WEB-DL)^House.*720p"
}
Can somebody confirm that this expression will match "House" at beginning, 720p somewhere in the rest, but it will discard if WEB-DL is found?
Thanks in advance.
Offline
This is what I use for House (I grab the SD feeds to save on space):
filter = { pattern => "(?!.*(720p|micro|repack))^House\." }
Looks like yours should work for what you want to do.
You can delete the automatic.state file if you want to test it out so that it won't skip files that have been previously identified (just delete them from transmission if you don't want to d/l them again). I think log level 3 would also provide a lot more info in regards to the rule processing. I usually run log level 2 myself.
Last edited by FunFiler (2010-09-23 00:05:38)
Offline
cornelpopa wrote:
My head is spinning after trying to understand regular expression.
For a while I had figured a way that was OK. Ex: To download the episodes from the House MD series in 720p I was using the following filter:
filter = { pattern => "^House.*720p"
}
But, this filter also downloaded the "WEB-DL" version too.
So I was back to study regular expression, and I came up with
filter = { pattern => "(?!.*WEB-DL)^House.*720p"
}
Can somebody confirm that this expression will match "House" at beginning, 720p somewhere in the rest, but it will discard if WEB-DL is found?
Thanks in advance.
The expression looks fine to me, it should work.
If you run a Windows OS, I highly recommend The Regex Coach to test regular expressions.
It's rather easy to use and you can play with it until the expression fits your needs.
I don't know any similar tools on other operating systems off the top of my head, but I'm sure they do exist.
Offline
hi everyone,
I have a probleme. The RSS feed of the tracker I go returns me the page of the announce instead of the .torrent file. So, automatic says me "invalide .torrent" . Anyone has also this problem? if yes, how to solve it? I think I can't do something, only the tracker could do something.
For example: the link of announce of a file I want is "http://www.*******.com/torrents-details.php?id= xyz"
for downloading it: i have to go on: "http://www.*******.com/download.php?id= xyz"
The RSS returns me "http://www.*******.com/torrents-details.php?id= xyz" and not "http://www.*******.com/download.php?id= xyz"
Is there a script for automatic to redirect the link?
Other question: Is it possible to change the "automatic.sh" in the start folder for launching also transmission when it starts? If yes, what command line should I use?
Thank you and nice week-end!
Sharks.
Last edited by sharks (2010-10-03 19:13:05)
Offline
Automatic only works properly if the feed contains direct download links for the torrent file.
Some sites don't like automatic downloading tools, so they won't put the "correct" link into the feed.
Other sites, however, have multiple feeds: One with links to the details page (for use in a browser, for example), and another feed with direct links.
You should check with the site owner.
Ideally, Transmission should be started before Automatic. If both transmission.sh and start.sh in the /ffp/start folder have executable rights, that will automatically happen when you boot up the NAS.
Offline
Thank you for the answer. I will ask the owner. The previous site (closed now), I used, allowed the direct download RSS. I hope this site allows this too but I still haven't see the RSS link for that.
Offline
I'm having an issue, I hope someone can offer a solution:
I've gotten RSS feeds for a couple of TV shows I'd like to keep track of, and combined them using a Pipe. I put the pipe URL into automatic. The shows aren't showing up in Transmission, though.. and my automatic.log output looks like:
[10/10/04 13:05:41] ../src/automatic.c, 509: Daemon started
../src/automatic.c, 530: 1 feed URLs
../src/automatic.c, 531: Read 1 filters from config file
../src/state.c, 100: [load_state] Error: Unable to open statefile '/home/root/.config/automatic.state' for reading: No such file or directory
[10/10/04 13:05:41] ../src/automatic.c, 384: Found new download: House 4x12 [720P - HDTV - DIMENSION] (http://www.bt-chat.com/download1.php?info_hash=ef
../src/torrent.c, 124: Error uploading torrent: no method name
Any thoughts?
Offline
Personally, I use one line per show. Keeps things clean and easy to modify.
Example
filter = { pattern => "(?!.*(720p|micro|repack))^Haven\.S.*eztv" }
filter = { pattern => "(?!.*(720p|micro|repack))^Hawaii.Five.*VTV" }
filter = { pattern => "(?!.*(720p|micro|repack))^Hells.Kitchen.US.S.*eztv" }
filter = { pattern => "(?!.*(720p|micro|repack))^House\..*eztv" }
Without seeing your actual configuration file, or at least the lines in question, it is hard to offer much advice.
You should fix the state file problem though. Just issue a 'touch' command on the file, assuming the path is correct.
touch /home/root/.config/automatic.state
chmod 777 /home/root/.config/automatic.state
Last edited by FunFiler (2010-10-05 03:33:00)
Offline
That did help, putting it all on one line. Now I have:
filter = { pattern => "." folder => "/mnt/HD_a2/Movies/TV\ Shows/" }
The daemon starts up fine, but nothing gets downloaded. Log:
[10/10/06 06:10:14] ../src/automatic.c, 509: Daemon started
../src/automatic.c, 530: 1 feed URLs
../src/automatic.c, 531: Read 1 filters from config file
../src/state.c, 111: Restored 0 old entries
I thought, maybe my filters/folder aren't correct, so I tried commenting out the filter and restarting automatic. Now the log just says, "no filters found", and automatic exists.
I was able to fix the state file problem.. I just created the folder and file, and it stopped throwing the error. Thanks
Offline
What are you trying to accomplish with this?
filter = { pattern => "." folder => "/mnt/HD_a2/Movies/TV\ Shows/" }
Download everything?
If so, try
filter = { pattern => ".*" folder => "/mnt/HD_a2/Movies/TV\ Shows/" }
Offline
Bah, config parsing can be a b*tch!
Putting 'pattern' and 'folder' on a single line won't work, this breaks the config parser. I'll think of something.
For now, please put these parameters on separate lines (the parser is specifically looking for the linebreak).
Other than that, FunFiler was right. 'pattern => "."' only matches a single character. If you want to match anything that a feed gives you, use ".*"
Offline
Ok, I've got the entries coming through in the log again, but I'm back to:
[10/10/06 10:56:03] ../src/automatic.c, 384: Found new download: House 4x15 [720P - HDTV - DIMENSION] (http://torrent.zoink
../src/torrent.c, 124: Error uploading torrent: no method name
Is this an error with communicating with transmission? It is running, and transmission-remote works.
Offline
I've been trying to download certain episoded of certain seasons, tried every combination but it doesn't work! Can somebody help me? I believe the following to be correct:
filter = { pattern => "^Dexter\.S0[5-9]E" folder => "/mnt/HD_a2/Series/Dexter/" }
EDIT:
Solved... It looks at the <title> and not at the filename in the RSS feed and they where totally different...
Last edited by Frans (2010-10-11 19:31:17)
Offline
Is there a users guide/manual/101 for automatic?
Offline
sekatsim wrote:
Ok, I've got the entries coming through in the log again, but I'm back to:
[10/10/06 10:56:03] ../src/automatic.c, 384: Found new download: House 4x15 [720P - HDTV - DIMENSION] (http://torrent.zoink
../src/torrent.c, 124: Error uploading torrent: no method name
Is this an error with communicating with transmission? It is running, and transmission-remote works.
I wrote you a private message last week or so, did you get it? I'll need a copy of your automatic.conf so I can figure out what's going on.
Offline
Stork wrote:
Is there a users guide/manual/101 for automatic?
The first post of this thread is kinda it :)
Offline