[SOLVED] AutoMove files from RSS feed with AutoTools

somus1735

Member
May 25, 2018
833
0
16
Hey

I can't seem to be getting the AutoMove feature to work when using a RSS, in AutoTools. When I manually move .torrent files to the same directories, it works fine. I would appreciate some help here...

My system:

Ubuntu 12.04, 64
Apache
rTorrent:0.9.2/0.13.2
rutorrent installed from latest SVN revision 2068
php --version: PHP 5.3.10-1ubuntu3.1 with Suhosin-Patch (cli) (built: May 4 2012 02:20:36)
/etc/php5/cli/php.ini "register_argc_argv = On


from .rtorrent.rc:

Code:
directory = /home/lib/files
No schedules

Autotools setup:

Autolabel: {DIR}

Autowatch wit subdirs:

/home/lib/down
/home/lib/down/Misc
/home/lib/down/HD
/home/lib/down/Music


Automove with subdirs:

/home/lib/complete
/home/lib/complete/Misc
/home/lib/complete/HD
/home/lib/complete/Music



RSS is set to /home/lib/down/Misc.
A downloaded directory stays in /home/lib/down/Misc and doesn't get AutoLabeled or AutoMove.


/tmp/error.log gives me this:

Code:
[19.05.12 23:10:01] AutoLabel: --- begin ---
[19.05.12 23:10:01] AutoLabel: enabled : 1
[19.05.12 23:10:01] AutoLabel: template : "{DIR}"
[19.05.12 23:10:01] AutoLabel: get_directory : /home/lib/files
[19.05.12 23:10:01] AutoLabel: d.get_directory : /home/lib/down/Misc/Simon_Scarrow-Audiobook-SE-nwn
[19.05.12 23:10:01] AutoLabel: d.get_custom3 :
[19.05.12 23:10:01] AutoLabel: d.is_multy_file : 1
[19.05.12 23:10:01] AutoLabel: label : ""
[19.05.12 23:10:01] AutoLabel: --- end ---

A downloaded file also stays in /home/lib/down/Misc doesn't get a AutoLabel and then tries to move upon itself ?!

Code:
[20.05.12 02:16:35] AutoLabel: --- begin ---
[20.05.12 02:16:35] AutoLabel: enabled : 1
[20.05.12 02:16:35] AutoLabel: template : "{DIR}"
[20.05.12 02:16:35] AutoLabel: get_directory : /home/lib/files
[20.05.12 02:16:35] AutoLabel: d.get_directory : /home/lib/down/Misc
[20.05.12 02:16:35] AutoLabel: d.get_custom3 :
[20.05.12 02:16:35] AutoLabel: d.is_multy_file :
[20.05.12 02:16:35] AutoLabel: label : ""
[20.05.12 02:16:35] AutoLabel: --- end ---

[20.05.12 02:26:50]
[20.05.12 02:26:50] AutoMove: --- begin ---
[20.05.12 02:26:50] AutoMove: --- end ---

The downloaded file tries to move from /home/lib/down/randomfilename.avi to /home/lib/down/randomfilename.avi/randomfilename.avi. Torrent reverts to 0% finished and get Queued.

The error message in rutorrent reads:

Storage error: [Hash checker was unable to map chunk: Not a directory]

And I checked... there is nothing wrong with my filesystem or kernel.


When I manually try to move another, or many other, random torrents into /home/lib/down/Misc it all works fine, AutoLabel and Automove too.


Code: [Select]
[20.05.12 01:04:40] AutoWatch: --- begin ---
[20.05.12 01:04:40] AutoWatch: enabled : 1
[20.05.12 01:04:40] AutoWatch: autostart : 1
[20.05.12 01:04:40] AutoWatch: path_to_watch : /home/lib/down
[20.05.12 01:04:40] AutoWatch: get_directory : /home/lib/files
[20.05.12 01:04:40] AutoWatch: torrent file : /home/lib/down/Misc/Modern.Family.S03E23.HDTV.Subtitulado.Esp.SC.avi.7276156.TPB.$
[20.05.12 01:04:40] AutoWatch: save data to : /home/lib/files/Misc/
[20.05.12 01:04:40] AutoWatch: torrent added : 7D8282DA473726D5290D3D26BD2BE3E61ACE536C
[20.05.12 01:04:40] AutoWatch: --- end ---
[20.05.12 01:04:40]
[20.05.12 01:04:40] AutoLabel: --- begin ---
[20.05.12 01:04:40] AutoLabel: enabled : 1
[20.05.12 01:04:40] AutoLabel: template : "{DIR}"
[20.05.12 01:04:40] AutoLabel: get_directory : /home/lib/files/
[20.05.12 01:04:40] AutoLabel: d.get_directory : /home/lib/files/Misc/
[20.05.12 01:04:40] AutoLabel: d.get_custom3 :
[20.05.12 01:04:40] AutoLabel: d.is_multy_file :
[20.05.12 01:04:40] AutoLabel: label : "Misc"
[20.05.12 01:04:40] rtExec: d.set_custom1
[20.05.12 01:04:40] AutoLabel: --- end ---
[20.05.12 01:06:54]
[20.05.12 01:06:54] AutoMove: --- begin ---
[20.05.12 01:06:54] AutoMove: Operation Move
[20.05.12 01:06:54] AutoMove: from /home/lib/files/Misc/
[20.05.12 01:06:54] AutoMove: to /home/lib/complete/Misc/
[20.05.12 01:06:54] rtOpFiles: finished
[20.05.12 01:06:54] AutoMove: ".mailto" file : not found!
[20.05.12 01:06:54] AutoMove: --- end ---

What is wrong with my RSS here? Any good ideas?
Glad to get any help.
 

jith45

Member
May 25, 2018
960
0
16
I think I solved this somehow.

It must have been a combination of an RSS sending corrupt data, and me testing out a couple of different directory solutions. And at the same time keeping the files where they originally downloaded to.

The solution(?) was a bit simple.

I removed the complete dir and its subdirs, and changed the "move-to-directory" to finished, and I created the same subdirs as earlier.
I also change the default dir in .rtorrent.rc:
Code:
directory = /home/lib/down
Removed all old torrents and restarted. Boom, everything works... hopefully for a while.