diff --git a/deluge/plugins/AutoAdd/deluge/plugins/autoadd/core.py b/deluge/plugins/AutoAdd/deluge/plugins/autoadd/core.py
index 7d69cc533..2849f66f8 100644
--- a/deluge/plugins/AutoAdd/deluge/plugins/autoadd/core.py
+++ b/deluge/plugins/AutoAdd/deluge/plugins/autoadd/core.py
@@ -59,7 +59,8 @@ OPTIONS_AVAILABLE = { # option: builtin
"label": False,
"add_paused": True,
"queue_to_top": False,
- "owner": "localclient"
+ "owner": True,
+ "seed_mode": True
}
MAX_NUM_ATTEMPTS = 10
@@ -222,7 +223,7 @@ class Core(CorePluginBase):
# without them is valid, and applies all its settings.
for option, value in watchdir.iteritems():
if OPTIONS_AVAILABLE.get(option):
- if watchdir.get(option+'_toggle', True) or option == "owner":
+ if watchdir.get(option+'_toggle', True) or option in ["owner", "seed_mode"]:
opts[option] = value
# Check for .magnet files containing multiple magnet links and
diff --git a/deluge/plugins/AutoAdd/deluge/plugins/autoadd/data/autoadd_options.glade b/deluge/plugins/AutoAdd/deluge/plugins/autoadd/data/autoadd_options.glade
index bf042d38e..0a38c60c4 100644
--- a/deluge/plugins/AutoAdd/deluge/plugins/autoadd/data/autoadd_options.glade
+++ b/deluge/plugins/AutoAdd/deluge/plugins/autoadd/data/autoadd_options.glade
@@ -25,7 +25,6 @@
True
True
False
- False
True
@@ -42,7 +41,6 @@
True
True
False
- False
True
@@ -59,7 +57,6 @@
True
True
False
- False
True
@@ -155,7 +152,6 @@ it will be added to the session.
True
True
False
- False
True
True
@@ -189,42 +185,7 @@ it will be added to the session.
-
- True
- False
- 0
- none
-
-
- True
- False
- 12
-
-
- True
- False
- The user selected here will be the owner of the torrent.
-
-
-
-
-
-
- True
- False
- <b>Owner</b>
- True
-
-
- label_item
-
-
-
-
- True
- True
- 1
-
+
@@ -253,7 +214,6 @@ it will be added to the session.
False
Once the torrent is added to the session,
the .torrent will be deleted.
- False
True
@@ -276,7 +236,6 @@ the .torrent will be deleted.
Once the torrent is added to the session,
an extension will be appended to the .torrent
and it will remain in the same directory.
- False
True
isnt_append_extension
@@ -326,7 +285,6 @@ and it will remain in the same directory.
Once the torrent is added to the session,
the .torrent will copied to the chosen directory
and deleted from the watch folder.
- False
True
isnt_append_extension
@@ -380,7 +338,6 @@ and deleted from the watch folder.
True
Once the torrent is deleted from the session,
also delete the .torrent file used to add it.
- False
True
@@ -443,7 +400,6 @@ also delete the .torrent file used to add it.
True
False
This folder will be where the torrent data is downloaded to.
- False
True
True
@@ -537,7 +493,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -586,7 +541,6 @@ also delete the .torrent file used to add it.
False
False
False
- False
True
True
True
@@ -646,7 +600,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -661,15 +614,6 @@ also delete the .torrent file used to add it.
True
False
-
-
- False
- False
- False
- True
- True
-
-
True
@@ -717,8 +661,45 @@ also delete the .torrent file used to add it.
True
False
6
+ 5
-
+
+ True
+ False
+ 0
+ none
+
+
+ True
+ False
+ 12
+
+
+ True
+ False
+ True
+ The user selected here will be the owner of the torrent.
+
+
+
+
+
+
+ True
+ False
+ <b>Owner</b>
+ True
+
+
+ label_item
+
+
+
+
+ True
+ True
+ 0
+
@@ -746,7 +727,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -764,7 +744,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -782,7 +761,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -908,7 +886,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -961,8 +938,8 @@ also delete the .torrent file used to add it.
True
False
- 5
- 4
+ 6
+ 3
2
4
@@ -975,7 +952,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -1001,7 +977,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -1018,7 +993,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -1035,7 +1009,6 @@ also delete the .torrent file used to add it.
False
True
False
- False
True
True
True
@@ -1054,7 +1027,6 @@ also delete the .torrent file used to add it.
False
True
False
- False
True
True
True
@@ -1096,11 +1068,11 @@ also delete the .torrent file used to add it.
True
- gtk-yes
+ gtk-yes
True
True
False
- False
+ True
True
True
@@ -1112,11 +1084,11 @@ also delete the .torrent file used to add it.
- gtk-no
+ gtk-no
True
True
False
- False
+ True
True
auto_managed
@@ -1141,7 +1113,6 @@ also delete the .torrent file used to add it.
False
True
False
- False
True
True
True
@@ -1161,7 +1132,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
@@ -1173,11 +1143,11 @@ also delete the .torrent file used to add it.
True
- gtk-yes
+ gtk-yes
True
True
False
- False
+ True
True
True
@@ -1189,11 +1159,11 @@ also delete the .torrent file used to add it.
- gtk-no
+ gtk-no
True
True
False
- False
+ True
True
add_paused
@@ -1215,7 +1185,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
@@ -1235,7 +1204,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
True
@@ -1251,7 +1219,6 @@ also delete the .torrent file used to add it.
True
True
False
- False
True
queue_to_top
@@ -1270,13 +1237,20 @@ also delete the .torrent file used to add it.
-
-
-
-
-
-
-
+
+ Skip File Hash Check
+ True
+ True
+ False
+ True
+ True
+
+
+ 5
+ 6
+ GTK_FILL
+
+
diff --git a/deluge/plugins/AutoAdd/deluge/plugins/autoadd/gtkui.py b/deluge/plugins/AutoAdd/deluge/plugins/autoadd/gtkui.py
index 4891a3841..5116b35a6 100644
--- a/deluge/plugins/AutoAdd/deluge/plugins/autoadd/gtkui.py
+++ b/deluge/plugins/AutoAdd/deluge/plugins/autoadd/gtkui.py
@@ -85,6 +85,9 @@ class OptionsDialog():
self.glade.get_widget('delete_copy_torrent_toggle').set_active(
options.get('delete_copy_torrent_toggle', False)
)
+ self.glade.get_widget('seed_mode').set_active(
+ options.get('seed_mode', False)
+ )
self.accounts.clear()
self.labels.clear()
combobox = self.glade.get_widget('OwnerCombobox')
@@ -319,7 +322,7 @@ class OptionsDialog():
for key in ['append_extension_toggle', 'download_location_toggle',
'label_toggle', 'copy_torrent_toggle',
- 'delete_copy_torrent_toggle']:
+ 'delete_copy_torrent_toggle', 'seed_mode']:
options[key] = self.glade.get_widget(key).get_active()
for id in self.spin_ids:
diff --git a/deluge/plugins/AutoAdd/setup.py b/deluge/plugins/AutoAdd/setup.py
index beb407391..8a5ffb63c 100644
--- a/deluge/plugins/AutoAdd/setup.py
+++ b/deluge/plugins/AutoAdd/setup.py
@@ -18,7 +18,7 @@ from setuptools import setup, find_packages
__plugin_name__ = "AutoAdd"
__author__ = "Chase Sterling, Pedro Algarvio"
__author_email__ = "chase.sterling@gmail.com, pedro@algarvio.me"
-__version__ = "1.04"
+__version__ = "1.05"
__url__ = "http://dev.deluge-torrent.org/wiki/Plugins/AutoAdd"
__license__ = "GPLv3"
__description__ = "Monitors folders for .torrent files."