Skip to content

Adds NZBDrone support #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions Maraschino.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def import_modules():
import modules.utorrent
import modules.weather
import modules.xbmc_notify
import modules.nzbdrone
import mobile
import xbmcmm

Expand Down
48 changes: 48 additions & 0 deletions maraschino/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,54 @@
},
]
},
{
'name': 'nzbdrone',
'label': 'Manager - NZBDrone',
'description': 'Adds NZBDrone Functionality.',
'static': False,
'poll': 0,
'delay': 0,
'settings': [
{
'key': 'nzbdrone_ip',
'value': '',
'description': 'IP or Address',
},
{
'key': 'nzbdrone_port',
'value': '',
'description': 'Port',
},
{
'key': 'nzbdrone_webroot',
'value': '',
'description': 'Webroot',
},
{
'key': 'nzbdrone_api',
'value': '',
'description': 'API key',
},
{
'key': 'nzbdrone_https',
'value': '0',
'description': 'Use HTTPS',
'type': 'bool',
},
{
'key': 'nzbdrone_external_server',
'value': '0',
'description': 'Is NZBDrone is located on a different machine than Maraschino?',
'type': 'bool',
},
{
'key': 'nzbdrone_lan',
'value': '0',
'description': 'Is NZBDrone on a different LAN than Maraschino?',
'type': 'bool',
},
]
},
{
'name': 'synopsis',
'label': 'XBMC - Synopsis',
Expand Down
Loading