AutoAdd plugin not consistently applying rules

Specific support for Deluge on Microsoft Windows OS
Post Reply
protoxdeluge
New User
New User
Posts: 6
Joined: Sat Sep 20, 2014 1:38 am

AutoAdd plugin not consistently applying rules

Post by protoxdeluge »

Hi All,

I'm having trouble getting the AutoAdd plugin to reliably apply rules to the watch directories. I set separate movie and tv watch folders so the torrents will have movie/tv labels applied and have a move-when-complete directory set as well. This allows me to use EventGhost to watch each of the directories, copy the files to a temporary movie or tv directory (respectively) so I can keep seeding while theRenamer cleans up the name and adds the movie/episode to my media library. TheRenamer needs to be told whether to scrape movies or TV on launch so it will be treated correctly, which is why I designed this workflow.

Usually, the AutoAdd plugin will work fine the first time but then does not apply either the label or move-when-complete directory options to the next torrent. It's still adding the torrent, but none of the preferences take. I do not have any other watch directories, so this is not an issue where the plugin is being bypassed by a built in feature. I grabbed two random torrents just to generate the log file and recreate this issue. The first one added correctly with the Movies label and is set to move into D:\Unsorted Media\Movies. The second one was added to the queue, but none of the options were applied. Here's the log:

Code: Select all

[DEBUG   ] 10:49:02 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 10:49:02 ipcinterface:177 Processing args from other process: ['C:\\Users\\Media\\Dropbox\\downpour\\Movies\\[kickass.to]space.station.76.2014.hdrip.xvid.juggs.etrg (1).torrent']
[DEBUG   ] 10:49:02 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 10:49:02 ipcinterface:188 arg: C:\Users\Media\Dropbox\downpour\Movies\[kickass.to]space.station.76.2014.hdrip.xvid.juggs.etrg (1).torrent
[DEBUG   ] 10:49:02 ipcinterface:207 Attempting to add file (C:\Users\Media\Dropbox\downpour\Movies\[kickass.to]space.station.76.2014.hdrip.xvid.juggs.etrg (1).torrent) from external source...
[DEBUG   ] 10:49:11 gtkui:302 sent: 78.0 KiB recv: 35.8 KiB
[DEBUG   ] 10:49:11 gtkui:310 sent rate: 6.3 KiB/s recv rate: 0.8 KiB/s
[DEBUG   ] 10:49:21 gtkui:302 sent: 79.4 KiB recv: 39.2 KiB
[DEBUG   ] 10:49:21 gtkui:310 sent rate: 0.1 KiB/s recv rate: 0.3 KiB/s
[DEBUG   ] 10:49:31 gtkui:302 sent: 81.0 KiB recv: 42.9 KiB
[DEBUG   ] 10:49:31 gtkui:310 sent rate: 0.2 KiB/s recv rate: 0.4 KiB/s
[DEBUG   ] 10:49:41 gtkui:302 sent: 82.5 KiB recv: 46.3 KiB
[DEBUG   ] 10:49:41 gtkui:310 sent rate: 0.1 KiB/s recv rate: 0.3 KiB/s
[DEBUG   ] 10:49:51 gtkui:302 sent: 84.0 KiB recv: 49.8 KiB
[DEBUG   ] 10:49:51 gtkui:310 sent rate: 0.2 KiB/s recv rate: 0.4 KiB/s
[DEBUG   ] 10:50:01 gtkui:302 sent: 85.6 KiB recv: 53.4 KiB
[DEBUG   ] 10:50:01 gtkui:310 sent rate: 0.2 KiB/s recv rate: 0.4 KiB/s
[DEBUG   ] 10:50:11 gtkui:302 sent: 87.1 KiB recv: 56.9 KiB
[DEBUG   ] 10:50:11 gtkui:310 sent rate: 0.2 KiB/s recv rate: 0.4 KiB/s
[DEBUG   ] 10:50:21 gtkui:302 sent: 88.5 KiB recv: 60.4 KiB
[DEBUG   ] 10:50:21 gtkui:310 sent rate: 0.1 KiB/s recv rate: 0.3 KiB/s
[DEBUG   ] 10:50:31 gtkui:302 sent: 90.1 KiB recv: 63.9 KiB
[DEBUG   ] 10:50:31 gtkui:310 sent rate: 0.2 KiB/s recv rate: 0.4 KiB/s
[DEBUG   ] 10:50:41 gtkui:302 sent: 91.5 KiB recv: 67.3 KiB
[DEBUG   ] 10:50:41 gtkui:310 sent rate: 0.1 KiB/s recv rate: 0.3 KiB/s
[DEBUG   ] 10:50:51 gtkui:302 sent: 92.9 KiB recv: 70.7 KiB
[DEBUG   ] 10:50:51 gtkui:310 sent rate: 0.1 KiB/s recv rate: 0.3 KiB/s
[DEBUG   ] 10:50:56 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 10:50:56 ipcinterface:177 Processing args from other process: ['C:\\Users\\Media\\Dropbox\\downpour\\Movies\\[kickass.to]how.to.train.your.dragon.2.2014.1080p.web.dl.x264.ac3.jyk.torrent']
[DEBUG   ] 10:50:56 configmanager:111 Getting config 'gtkui.conf'
[DEBUG   ] 10:50:56 ipcinterface:188 arg: C:\Users\Media\Dropbox\downpour\Movies\[kickass.to]how.to.train.your.dragon.2.2014.1080p.web.dl.x264.ac3.jyk.torrent
[DEBUG   ] 10:50:56 ipcinterface:207 Attempting to add file (C:\Users\Media\Dropbox\downpour\Movies\[kickass.to]how.to.train.your.dragon.2.2014.1080p.web.dl.x264.ac3.jyk.torrent) from external source...
[DEBUG   ] 10:51:01 gtkui:302 sent: 109.3 KiB recv: 75.8 KiB
[DEBUG   ] 10:51:01 gtkui:310 sent rate: 1.6 KiB/s recv rate: 0.5 KiB/s
I'm running client/server 1.3.7 with libtorrent 0.16.17.0 on Windows 7 Ultimate 64-bit, Python 2.6. Does anyone have any insight into this or how to get more detailed logs from the autoadd plugin?

Thanks!
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: AutoAdd plugin not consistently applying rules

Post by Cas »

Please enable logging on the daemon so you can see the autoadd logs.
protoxdeluge
New User
New User
Posts: 6
Joined: Sat Sep 20, 2014 1:38 am

Re: AutoAdd plugin not consistently applying rules

Post by protoxdeluge »

Thanks for clarifying, Cas! I removed all torrents in my queue so I could run this test. I dropped 6 random torrents into my movies watch folder that's set up as stated in the original post. 2 were recognized by the AutoAdd plugin, 4 were not. I do not have any other watch directories, but I had originally been using uTorrent on this computer to manage my torrents. I realized after looking at the logs that the 4 files I had dropped into this folder hadn't activated the plugin at all. I reviewed my options and noted that I didn't have the Add Torrents Dialogue enabled. What had happened was that Google Chrome was auto-opening .torrent files from when they were associated with uTorrent and sometimes this was happening faster than the AutoAdd plugin could grab the file and apply the correct properties. I confirmed this by adding .torrent files to the watch folder using another machine. These all added correctly using the AutoAdd plugin. Thanks for pointing me in the right direction for these logs!
Post Reply