summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/TransmissionRPC.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/TransmissionRPC.py')
-rw-r--r--module/plugins/hooks/TransmissionRPC.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/plugins/hooks/TransmissionRPC.py b/module/plugins/hooks/TransmissionRPC.py
index 5fdbf6402..7d3e24661 100644
--- a/module/plugins/hooks/TransmissionRPC.py
+++ b/module/plugins/hooks/TransmissionRPC.py
@@ -18,7 +18,8 @@ class TransmissionRPC(Addon):
__status__ = "testing"
__pattern__ = r"https?://.+\.torrent|magnet:\?.+"
- __config__ = [("rpc_url", "str", "Transmission RPC URL", "http://127.0.0.1:9091/transmission/rpc")]
+ __config__ = [("activated", "bool", "Activated" , False ),
+ ("rpc_url" , "str" , "Transmission RPC URL", "http://127.0.0.1:9091/transmission/rpc")]
__description__ = """Send torrent and magnet URLs to Transmission Bittorent daemon via RPC"""
__license__ = "GPLv3"