aleksey7905 / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

AutoMove not working #909

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am using the SVN version of rutorrent and AutoTools plugin.

I have the following Directories:
/home/jauschua/Downloads/Torrents/watch
/home/jauschua/Downloads/Torrents/watch/tv
/home/jauschua/Downloads/Torrents/watch/movie
/home/jauschua/Downloads/Torrents/download
/home/jauschua/Downloads/Torrents/download/tv
/home/jauschua/Downloads/Torrents/download/movie
/home/jauschua/Downloads/Torrents/complete
/home/jauschua/Downloads/Torrents/complete/tv
/home/jauschua/Downloads/Torrents/complete/movie

I use the AutoWatch and AutoLabel to load torrents.  This part works 
beautifully.  If a torrent file is saved in watch/tv, it will set the label to 
tv and download to download/tv.  However, when the download is complete I want 
it to be moved to complete/tv.  This is the part where it fails.  I enabled 
debug, but it doesn't even mention AutoMove in the log, only AutoLabel and 
AutoWatch.

In my .rtorrent.rc I have the following directory set:

# Default directory to save the downloaded torrents.
directory = /home/jauschua/Downloads/Torrents/download

In rutorrent it shows the same download folder, and in the AutoTools section I 
have the following set:

Enable AutoLabel, Template: {DIR}
Enable AutoMove, Path: /home/jauschua/Downloads/Torrents/complete
                 Operation: Move
Enable AutoWatch, Path: /home/jauschua/Downloads/Torrents/watch

In the log it shows AutoWatch and AutoLabel being set for a torrent, but no 
where does it show in the log any reference to move (no fail, no attempt, 
nothing):
[20.05.14 01:45:26] AutoWatch: --- begin ---
[20.05.14 01:45:26] AutoWatch: enabled          : 1
[20.05.14 01:45:26] AutoWatch: autostart        : 1
[20.05.14 01:45:26] AutoWatch: path_to_watch    : 
/home/jauschua/Downloads/Torrents/watch/
[20.05.14 01:45:26] AutoWatch: get_directory    : 
/home/jauschua/Downloads/Torrents/download/
[20.05.14 01:45:26] AutoWatch: torrent file     : 
/home/jauschua/Downloads/Torrents/watch/tv/Bones.S09E24.720p.HDTV.X264-DIMENSION
 [PublicHD].torrent
[20.05.14 01:45:26] AutoWatch: save data to     : 
/home/jauschua/Downloads/Torrents/download/tv/
[20.05.14 01:45:26] AutoWatch: torrent added    : 
EE3091C37C71F5A25F8EC016FA2970BACB3B959F
[20.05.14 01:45:26] AutoWatch: --- end ---

[20.05.14 01:45:26] AutoLabel: --- begin ---
[20.05.14 01:45:26] AutoLabel: enabled         : 1
[20.05.14 01:45:26] AutoLabel: template        : "{DIR}"
[20.05.14 01:45:26] AutoLabel: get_directory   : 
/home/jauschua/Downloads/Torrents/download
[20.05.14 01:45:26] AutoLabel: d.get_directory : 
/home/jauschua/Downloads/Torrents/download/tv/Bones.S09E24.720p.HDTV.X264-DIMENS
ION [PublicHD]
[20.05.14 01:45:26] AutoLabel: d.get_custom3   :
[20.05.14 01:45:26] AutoLabel: d.is_multy_file : 1
[20.05.14 01:45:26] AutoLabel: label           : "tv"
[20.05.14 01:45:26] rtExec: d.set_custom1

Original issue reported on code.google.com by jauschua...@gmail.com on 20 May 2014 at 1:47

GoogleCodeExporter commented 8 years ago
***UPDATE

It would appear that this command in my .rtorrent.rc is interfering with the 
AutoMove function.  I have looked, but haven't yet found if there is a way to 
modify the script to run after AutoMove has finished.  Anybody know how I might 
be able to modify this to suit my needs?

system.method.set_key = 
event.download.finished,TorrentToMedia,"execute={/usr/bin/python2,/home/jauschua
/Apps/HTPC/nzbToMedia/TorrentToMedia.py,\"$d.get_base_path=\",\"$d.get_name=\",\
"$d.get_custom1=\",\"$d.get_hash=\"}"

Original comment by jauschua...@gmail.com on 20 May 2014 at 7:24

GoogleCodeExporter commented 8 years ago

Original comment by novik65 on 21 May 2014 at 4:24