diff --git a/config.py b/config.py index 099ddea7..ae559ec8 100644 --- a/config.py +++ b/config.py @@ -44,76 +44,242 @@ def var_to_chk(variable): else: return '' -form = '''
-
-

Web Interface

- - - - -

HTTP Host:

-
-

i.e. localhost or 0.0.0.0

HTTP Username:

-

HTTP Port:

-

HTTP Password:

-

Launch Browser on Startup:

- Enabled
-

Download Settings

- - - - - - -

SABnzbd Host:

-
-

usually localhost:8080

SABnzbd Username:

-

SABnzbd API:

-

SABnzbd Password:

-

SABnzbd Category:

-

Music Download Directory:

-
-

Absolute or relative path to the dir where SAB downloads your music
- i.e. Downloads/music or /Users/name/Downloads/music


Usenet Retention:

-
-

Search Providers

- - - - - - - - -

Enable NZBMatrix:

- Enabled

NZBMatrix Username:

-

NZBMatrix API:

-


Enable Newznab:

- Enabled


Newznab Host:

-
-

i.e. http://nzb.su



Newznab API:

-


Enable NZBs.org:

- Enabled


NZBs.org UID:

-


NZBs.org Hash:

-
-

Quality & Post Processing

- - - - -

Album Quality:

- Include lossless - Convert lossless to mp3

iTunes:

- Move downloads to iTunes

Path to iTunes folder:

-
-

i.e. Music/iTunes or /Users/name/Music/iTunes

Renaming & Metadata:

- Rename & add metadata

- Delete leftover files

Album Art:

- Add album art
-


- (For now, all changes require a restart to take effect)

''' % (http_host, http_username, - http_port, http_password, var_to_chk(launch_browser), sab_host, sab_username, sab_apikey, sab_password, - sab_category, music_download_dir, usenet_retention, var_to_chk(nzbmatrix), nzbmatrix_username, nzbmatrix_apikey, - var_to_chk(newznab), newznab_host, newznab_apikey, var_to_chk(nzbsorg), nzbsorg_uid, nzbsorg_hash, - var_to_chk(include_lossless), var_to_chk(flac_to_mp3), var_to_chk(move_to_itunes), path_to_itunes, var_to_chk(rename_mp3s), - var_to_chk(cleanup), var_to_chk(add_album_art)) \ No newline at end of file +form = ''' +
+
+
+ Web Interface | + Download Settings | + Search Providers | + Quality & Post Processing +
+
+
+
+
+

Web Interface

+ + + + + + + + + + + + + + + + +
+

+ HTTP Host:

+
+ i.e. localhost or 0.0.0.0 +

+
+

+ HTTP Username:

+ +

+
+

+ HTTP Port:

+ +

+
+

+ HTTP Password:

+ +

+
+

Launch Browser on Startup:

+
+ +

Download Settings

+ + + + + + + + + + + + + + + + + + + + + + + +
+

SABnzbd Host:


+ + usually localhost:8080 +
+

SABnzbd Username:

+
+
+ +

SABnzbd API:

+
+
+ +

SABnzbd Password:

+
+
+ +

SABnzbd Category:

+
+
+ +

Music Download Directory:


+ + Absolute or relative path to the dir where SAB downloads your music
+ i.e. Downloads/music or /Users/name/Downloads/music
+
+
+ +

Usenet Retention:

+
+ +

Search Providers

+ + + + + + + + + + + + + + + + + + + + + + + + + +
+

NZBMatrix:

+
+

+ NZBMatrix Username:
+ +

+
+

+ NZBMatrix API:
+ +

+
+
+ +

Newznab:

+
+
+ +

+ Newznab Host:
+
+ i.e. http://nzb.su +

+
+
+ +

+ Newznab API:
+ +

+
+
+ +

NZBs.org:

+
+
+ +

+ NZBs.org UID:
+ +

+
+
+ +

+ NZBs.org Hash:
+ +

+
+ +

Quality & Post Processing

+ + + + + + + + + + + + + + + + +
+

Album Quality:

+ Include lossless
+ Convert lossless to mp3 +
+

+

iTunes:

+ Move downloads to iTunes +

+
+
+ +

Path to iTunes folder:
+
+ i.e. Music/iTunes or /Users/name/Music/iTunes +

+
+ Renaming & Metadata: +

+ Rename & add metadata +
+ Delete leftover files +

+
+
+

Album Art:

+ Add album art +
+ +


+ (For now, all changes require a restart to take effect)

+
+
+
''' % (http_host, http_username, http_port, http_password, var_to_chk(launch_browser), sab_host, sab_username, sab_apikey, sab_password, sab_category, music_download_dir, usenet_retention, var_to_chk(nzbmatrix), nzbmatrix_username, nzbmatrix_apikey, var_to_chk(newznab), newznab_host, newznab_apikey, var_to_chk(nzbsorg), nzbsorg_uid, nzbsorg_hash, var_to_chk(include_lossless), var_to_chk(flac_to_mp3), var_to_chk(move_to_itunes), path_to_itunes, var_to_chk(rename_mp3s), var_to_chk(cleanup), var_to_chk(add_album_art)) +