How to get auto-tools working properly

simur612

Member
May 25, 2018
879
0
16
Can anyone shed some light on the .mailto stuff?


I'm not sure how it's setup and I can't find info on it anywhere. I don't have a specific question, other then I suppose how to set it up, so if anyone could provide a link to something explaining it in more detail or perhaps just tell me what you know I'd greatly appreciate it.

Thanks in advance!
 

randac56

Member
May 25, 2018
915
0
16
Hi,

I have the rehatch thing issue

When the pulgin move the file, there is always a hatch check before.

How do I prevent this ?

Thanks
 

saroos1

Member
May 25, 2018
718
0
16
I have to do a mount of the path where the torrents are moving to ?

as source ? what does that mean ?


Thanks !
 

simur612

Member
May 25, 2018
879
0
16
the destination path (place the file is being moved to) must be mounted on same filesystem as the source (the place you're moving it from)
 

randac56

Member
May 25, 2018
915
0
16
Yes it's the same

Source : /home/aUser/.temp ---> Destination /home/aUser/torrents


mount point : /home

is it ok?

Thanks !!!
 

randac56

Member
May 25, 2018
915
0
16
i have a question..
my downloader folder is

/banana/rtorrent/downloads

i have in side this folder 3 sub dirs

/banana/rtorrent/downloads/TV
/banana/rtorrent/downloads/Movie
/banana/rtorrent/downloads/Music

dl all my file with rss is possible with autotools automove TV in TV Folder, Movies in Movie folder ?
i see is possible automove can move files inside on folder not 3.

is this possible can you explain me how ?

sorry for bad english not my mother tongue
 

peshua19

Member
May 25, 2018
897
0
16
it should move files from anywhere under your download directory.

If you have something like as your download directory

/banana/rtorrent/downloads/

and something like this as your complete directory:

/banana/rtorrent/complete/

and this is set as your download directory in rtorrent, if you set a torrent to download to:

/banana/rtorrent/downloads/TV

it should be moved to:

/banana/rtorrent/complete/TV


this works for multiple leves of directories, for instance, let's say you set a torrent to download to:

/banana/rtorrent/downloads/TV/Fringe/

it would move to:

/banana/rtorrent/complete/TV/Fringe/

if this isn't what you see, then something is configured wrong.
 

saroos1

Member
May 25, 2018
718
0
16
Could someone help me with auto-label? The folders are loading properly and completing as expected, however, the full path destination is being labeled instead of just the ending "variable". Thanks if someone can find my error!




Code:
directory = /home/server/torrents/torrent/seed

http_capath=/etc/ssl/certs

scgi_port = 127.0.0.1:5000
encoding_list = UTF-8

port_range = 1234-1234
port_random = no

use_udp_trackers = no
dht = disable
check_hash = yes

peer_exchange = no
encryption = allow_incoming,enable_retry,try_outgoing

schedule = watch_directory_1,10,10,"load_start=/home/server/torrents/watch/audio/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/maplebonsai/audio/,d.set_custom2=/home/server/torrents/torrent/hold/audio"
schedule = watch_directory_2,10,10,"load_start=/home/server/torrents/watch/books/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/maplebonsai/books/,d.set_custom2=/home/server/torrents/torrent/hold/books/"
schedule = watch_directory_3,10,10,"load_start=/home/server/torrents/watch/misc/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/maplebonsai/misc/,d.set_custom2=/home/server/torrents/torrent/hold/misc/"
schedule = watch_directory_4,10,10,"load_start=/home/server/torrents/watch/music/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/maplebonsai/music/,d.set_custom2=/home/server/torrents/torrent/hold/music/"
schedule = watch_directory_5,10,10,"load_start=/home/server/torrents/watch/user1/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/user1/,d.set_custom2=/home/server/Dropbox/torrent/user1/finished/"
schedule = watch_directory_6,10,10,"load_start=/home/server/torrents/watch/programs/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/maplebonsai/programs/,d.set_custom2=/home/server/torrents/torrent/hold/programs/"
schedule = watch_directory_7,10,10,"load_start=/home/server/torrents/watch/samples/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/maplebonsai/samples/,d.set_custom2=/home/server/torrents/torrent/hold/samples/"
schedule = watch_directory_8,10,10,"load_start=/home/server/torrents/watch/tutorials/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/maplebonsai/tutorials/,d.set_custom2=/home/server/torrents/torrent/hold/tutorials/"
schedule = watch_directory_9,10,10,"load_start=/home/server/torrents/watch/video/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/maplebonsai/video/,d.set_custom2=/home/server/torrents/torrent/hold/video/"
schedule = watch_directory_10,10,10,"load_start=/home/server/torrents/watch/user2/*.torrent,d.set_custom1=/home/server/torrents/torrent/seed/user2/,d.set_custom2=/home/server/Dropbox/torrent/user2/finished/"

session = /home/server/torrents/session

schedule = low_diskspace,5,60,close_low_diskspace=100M

system.method.set_key = event.download.finished,move_complete,"d.set_directory=$d.get_custom1=;execute=mv,-u,$d.get_base_path=,$d.get_custom1="
system.method.set_key = event.download.finished,copy_complete,"d.set_directory=$d.get_custom2=;execute=cp,-r,$d.get_base_path=,$d.get_custom2="
 

peshua19

Member
May 25, 2018
897
0
16
Can anyone suggest a way to use auto-tools to move torrents upon completion and also copy the torrent to an additional directory? I'm thinking an rsync/cron job or something. Any ideas are welcome...thx!
 

saroos1

Member
May 25, 2018
718
0
16
I got it partially working

Quote
[11.04.12 13:59:23] AutoLabel: --- begin ---
[11.04.12 13:59:23] AutoLabel: enabled : 1
[11.04.12 13:59:23] AutoLabel: template : "{DIR}"
[11.04.12 13:59:23] AutoLabel: get_directory : /media/server/media/default/
[11.04.12 13:59:23] AutoLabel: d.get_directory : /media/server/media/default/Packed.To.The.Rafters.S04E20.DVDRip.XviD-aAF
[11.04.12 13:59:23] AutoLabel: d.get_custom3 :
[11.04.12 13:59:23] AutoLabel: d.is_multy_file : 1
[11.04.12 13:59:23] AutoLabel: label : ""
[11.04.12 13:59:23] AutoLabel: --- end ---
.
.
.
[11.04.12 14:02:48] AutoMove: --- begin ---
[11.04.12 14:02:48] AutoMove: enabled : 1
[11.04.12 14:02:48] AutoMove: path_to_finished : /media/server/media/_cloud/tv
[11.04.12 14:03:48] AutoMove: rXMLRPCRequest() fail (get_directory, d.get_base_path)
[11.04.12 14:03:48] AutoMove: --- end ---​


This above resulted in that a few of the files was moved to correct catalog and rest was gone.

Later tested again, with this result

Quote
[11.04.12 14:08:55] AutoLabel: --- begin ---
[11.04.12 14:08:55] AutoLabel: enabled : 1
[11.04.12 14:08:55] AutoLabel: template : "{DIR}"
[11.04.12 14:08:55] AutoLabel: get_directory : /media/server/media/default/
[11.04.12 14:08:55] AutoLabel: d.get_directory : /media/server/media/default/tv/bl/The.Biggest.Loser.AU.S07E55.PDTV.x264-RTA
[11.04.12 14:08:55] AutoLabel: d.get_custom3 :
[11.04.12 14:08:55] AutoLabel: d.is_multy_file : 1
[11.04.12 14:08:55] AutoLabel: label : "tv/bl"
[11.04.12 14:08:55] rtExec: d.set_custom1
[11.04.12 14:08:55] AutoLabel: --- end ---
[11.04.12 14:09:15]
[11.04.12 14:09:15] AutoWatch: --- begin ---
[11.04.12 14:09:15] AutoWatch: enabled : 0
[11.04.12 14:09:15] AutoWatch: autostart : 0
[11.04.12 14:09:15] AutoWatch: --- end ---
.
.
.
[11.04.12 14:11:09] AutoMove: --- begin ---
[11.04.12 14:11:09] AutoMove: enabled : 1
[11.04.12 14:11:09] AutoMove: path_to_finished : /media/server/media/_cloud/tv
[11.04.12 14:12:09] AutoMove: rXMLRPCRequest() fail (get_directory, d.get_base_path)​


This time nothing was moved and the connection to retorrent was momentarily lost.

I edited php.ini
Quote
; register_argc_argv
Default Value: On
; Development Value: Off
; Production Value: Off​
 

lisas4567

Member
May 25, 2018
773
0
16
Wonslung;

Does "Unpack" work first or does AutoMove (from AutoTools) work first in the process?

I'm wondering because I'll have partially unpacked media in my final "completed media" folder.

Just wondering what the issue could be.

Also where are logs for these plugins' actions typically sent to in a normal linux (ubuntu server in this case) installation? I used brock's install script too if that helps with the troubleshooting.

Thanks much!
-rep
I know this is really old but I'm wondering the same thing. Is there anyway I could make sure that the unpack function runs before the link is created? Thanks!