diff --git a/data/interfaces/default/config.html b/data/interfaces/default/config.html index e469292e..205eba67 100644 --- a/data/interfaces/default/config.html +++ b/data/interfaces/default/config.html @@ -1,7 +1,7 @@ <%inherit file="base.html"/> <%! - import headphones - import string + import headphones + import string %> <%def name="headerIncludes()"> @@ -34,27 +34,41 @@
Basic
- + - e.g. localhost or 0.0.0.0 + e.g. localhost or an IP, such as 0.0.0.0
- +
- +
- +
- + +
- + +
@@ -72,7 +86,10 @@
API
- + +
@@ -85,23 +102,34 @@
Interval
- - mins + + mins + minimum is 360 minutes
- + mins
- + hours
- + hours
- + days
@@ -120,50 +148,70 @@
-
+
Usenet - Sabnzbd NZBget Black Hole + Sabnzbd + NZBget + Black Hole
- + usually http://localhost:8080
- +
- +
- +
- +
- + usually http://localhost:6789
- +
- +
- +
<% @@ -232,7 +280,9 @@
- + Folder your Download program watches for NZBs
@@ -240,19 +290,26 @@
- + Full path where SAB or NZBget downloads your music. e.g. /Users/name/Downloads/music
- + +
-
+
Torrents - Black Hole Transmission uTorrent (Beta) + Black Hole + Transmission + uTorrent (Beta)
@@ -268,16 +325,16 @@
- + usually http://localhost:9091
- +
- +
@@ -286,21 +343,22 @@
+ Note: uTorrent may keep files read only when completed. Check 'Preferences -> Advanced -> bt.read_only_on_complete' in case of problems.
- + usually http://localhost:9091
- +
- +
- +
@@ -313,7 +371,7 @@
- Full path where your torrent client downloads your music e.g. /Users/name/Downloads/music + Full path where your torrent client downloads your music e.g. '/Users/name/Downloads/music'
@@ -321,8 +379,8 @@
- NZBs - Torrents + NZBs + Torrents No Preference
@@ -345,7 +403,7 @@
- Headphones VIP Server username & password + Headphones VIP Server username & password
@@ -526,15 +584,15 @@
- +
- +
- +
@@ -547,7 +605,7 @@
- +
@@ -560,27 +618,45 @@
- +
Quality
- - - + + +
- Reject if target size is not in bitrate range: \ + Reject if target size is not in bitrate range: to\ kbps
- Preferred Bitrate: kbps
+
Interface -
+
-
+
Get an Account!
diff --git a/headphones/webserve.py b/headphones/webserve.py index b4811e9d..7ace33d5 100644 --- a/headphones/webserve.py +++ b/headphones/webserve.py @@ -966,7 +966,7 @@ class WebInterface(object): "download_scan_interval" : headphones.DOWNLOAD_SCAN_INTERVAL, "update_db_interval" : headphones.UPDATE_DB_INTERVAL, "mb_ignore_age" : headphones.MB_IGNORE_AGE, - "nzb_search_interval" : headphones.SEARCH_INTERVAL, + "search_interval" : headphones.SEARCH_INTERVAL, "libraryscan_interval" : headphones.LIBRARYSCAN_INTERVAL, "sab_host" : headphones.SAB_HOST, "sab_user" : headphones.SAB_USERNAME, @@ -1172,7 +1172,7 @@ class WebInterface(object): config.exposed = True def configUpdate(self, http_host='0.0.0.0', http_username=None, http_port=8181, http_password=None, launch_browser=0, api_enabled=0, api_key=None, - download_scan_interval=None, update_db_interval=None, mb_ignore_age=None, nzb_search_interval=None, libraryscan_interval=None, sab_host=None, sab_username=None, sab_apikey=None, sab_password=None, + download_scan_interval=None, update_db_interval=None, mb_ignore_age=None, search_interval=None, libraryscan_interval=None, sab_host=None, sab_username=None, sab_apikey=None, sab_password=None, sab_category=None, nzbget_host=None, nzbget_username=None, nzbget_password=None, nzbget_category=None, nzbget_priority=0, transmission_host=None, transmission_username=None, transmission_password=None, utorrent_host=None, utorrent_username=None, utorrent_password=None, utorrent_label=None,nzb_downloader=0, torrent_downloader=0, download_dir=None, blackhole_dir=None, usenet_retention=None, use_headphones_indexer=0, newznab=0, newznab_host=None, newznab_apikey=None, newznab_enabled=0, nzbsorg=0, nzbsorg_uid=None, nzbsorg_hash=None, omgwtfnzbs=0, omgwtfnzbs_uid=None, omgwtfnzbs_apikey=None, @@ -1203,7 +1203,7 @@ class WebInterface(object): headphones.DOWNLOAD_SCAN_INTERVAL = download_scan_interval headphones.UPDATE_DB_INTERVAL = update_db_interval headphones.MB_IGNORE_AGE = mb_ignore_age - headphones.SEARCH_INTERVAL = nzb_search_interval + headphones.SEARCH_INTERVAL = search_interval headphones.LIBRARYSCAN_INTERVAL = libraryscan_interval headphones.SAB_HOST = sab_host headphones.SAB_USERNAME = sab_username