NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
hellbent1
May 20, 2010Aspirant
Automatic 0.6.2 on Duo Issues
I've been trying to get automatic running on my Duo for the last few days with little to no success. I'm not much for unix so that doesn't help matters but i'll walk you thru where i've gotten to.
i have the automatic bin installed and am currently starting the daemon manually so i can pass it custom paths to where my config file is (why on earth it's it /etc/ and not in c/addons-config/ i'll never know) and where to output a log file. for example:
based on another thread for automatic (x86 version) here on this board i've configured my automatic.conf file as such (i've removed all the commenting to keep this code box small and readable:
as you can see i've changed some things etc, hopefully they're correct. i wish the automatic.conf-sample had actual examples in it!!!
anyway, the log i'm generating is throwing this at me at level 1:
any ideas? i've tried various setups using external instead of 1.3 to just try to save .torrent files to my sources directory and let transmission do the watching and starting itself but those attempts haven't born any fruit either.
thanks,
hellbent
i have the automatic bin installed and am currently starting the daemon manually so i can pass it custom paths to where my config file is (why on earth it's it /etc/ and not in c/addons-config/ i'll never know) and where to output a log file. for example:
automatic -v 5 -l /c/addons-config/automatic/auto.log -c /c/addons-config/automatic/automatic.conf
based on another thread for automatic (x86 version) here on this board i've configured my automatic.conf file as such (i've removed all the commenting to keep this code box small and readable:
transmission-version = "1.3"
rpc-host = "localhost"
rpc-port = 8181 (i assume this port is the same as the transmission web-access port? its the same port i use for transmission-remote-dotNet)
rpc-auth = "MYUSER:MYPASS"
feed = { url => "http://ezrss.it/feed" }
interval = 30
# upload-limit = 10 (unchanged)
# use-transmission = yes (disabled for testing)
# start-torrents = yes (disabled for testing)
torrent-folder = "/c/media/BitTorrent/sources/"
statefile = "/c/addons-config/automatic/automatic.state"
filter = { pattern => ".*" folder => "" }
as you can see i've changed some things etc, hopefully they're correct. i wish the automatic.conf-sample had actual examples in it!!!
anyway, the log i'm generating is throwing this at me at level 1:
../src/web.c, 523: Upload to 'http://localhost:8181/transmission/rpc' failed: number of redirects hit maximum amount
any ideas? i've tried various setups using external instead of 1.3 to just try to save .torrent files to my sources directory and let transmission do the watching and starting itself but those attempts haven't born any fruit either.
thanks,
hellbent
54 Replies
Replies have been turned off for this discussion
- veehexxAspirantinterestingly... no.
i did for the first one, but not for the 2nd and 3rd feeds... let me go correct that... - veehexxAspirantthats fixed it, whocares - thats for the sugestion!i thought the filters were optional, and if not defined, automatic would save to the default save location in transmission.
im going to try RPC again; had issues with the same 2 feeds without filters defined... - veehexxAspirantRPC didnt work, but i'm more than happy with a .torrent download :)
now i have to get my head around reg exp... - Andreas75kAspirant
hellbent wrote: ha! well, it saved... something! it's not named very nice but on closer inspection the file contents sure do look like a torrent. i'll do some more testing in a bit.
Did you ever get Automatic to save the files as .torrent? I have this up and running now, saving files to a folder watched by Transmission, but as long as the files are not named .torrent they won't load...
If nobody knows of a solution for this, could someone help me make a script to automatically add .torrent to all files that are saved in that folder? - WhoCares_Mentor
#!/bin/bash
cd /what/ever/dir/you/want
for file in *; do ext=${file: -7}; if [ ! "$ext" = "torrent" ]; then mv ${file} ${file}.torrent; fi; done
cd -
-Stefan - Andreas75kAspirant
WhoCares? wrote: #!/bin/bash
cd /what/ever/dir/you/want
for file in *; do ext=${file: -7}; if [ ! "$ext" = "torrent" ]; then mv ${file} ${file}.torrent; fi; done
cd -
-Stefan
Thanks! - Andreas75kAspirant
WhoCares? wrote: #!/bin/bash
cd /what/ever/dir/you/want
for file in *; do ext=${file: -7}; if [ ! "$ext" = "torrent" ]; then mv ${file} ${file}.torrent; fi; done
cd -
-Stefan
I get an error:
mv: when moving multiple files, last argument must be a directory
Try `mv --help' for more information.
Could I be doing something wrong or does something in the script need to be changed?
Thanks in advance for your help! - WhoCares_MentorBasically the script shouldn't try to move more than one file at a time.
Try changing the "mv" into an "echo" and let me know what the output is.
-Stefan - Andreas75kAspirant
WhoCares? wrote: Basically the script shouldn't try to move more than one file at a time.
Try changing the "mv" into an "echo" and let me know what the output is.
-Stefan
I get this: testdocument testdocument.torrent - Andreas75kAspirant
Andreas75k wrote: WhoCares? wrote: Basically the script shouldn't try to move more than one file at a time.
Try changing the "mv" into an "echo" and let me know what the output is.
-Stefan
I get this: testdocument testdocument.torrent
Problem solved, all I had to do was to add some quotes on the filenames in the mv command.
Thanks again for your help!!
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!