diff --git a/.gitignore b/.gitignore
index fccbce9a..5ef2beed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,6 +15,11 @@
logs/*
cache/*
+# HTTPS Cert/Key #
+##################
+*.crt
+*.key
+
# OS generated files #
######################
.DS_Store?
diff --git a/Headphones.py b/Headphones.py
index facb2191..19cc82dd 100755
--- a/Headphones.py
+++ b/Headphones.py
@@ -142,7 +142,7 @@ def main():
# Force the http port if neccessary
if args.port:
http_port = args.port
- logger.info('Starting Headphones on forced port: %i' % http_port)
+ logger.info('Using forced port: %i' % http_port)
else:
http_port = int(headphones.HTTP_PORT)
@@ -152,12 +152,13 @@ def main():
'http_host': headphones.HTTP_HOST,
'http_root': headphones.HTTP_ROOT,
'http_proxy': headphones.HTTP_PROXY,
+ 'enable_https': headphones.ENABLE_HTTPS,
+ 'https_cert': headphones.HTTPS_CERT,
+ 'https_key': headphones.HTTPS_KEY,
'http_username': headphones.HTTP_USERNAME,
'http_password': headphones.HTTP_PASSWORD,
})
- logger.info('Starting Headphones on port: %i' % http_port)
-
if headphones.LAUNCH_BROWSER and not args.nolaunch:
headphones.launch_browser(headphones.HTTP_HOST, http_port, headphones.HTTP_ROOT)
diff --git a/data/interfaces/default/config.html b/data/interfaces/default/config.html
index 879503ac..a087b2af 100644
--- a/data/interfaces/default/config.html
+++ b/data/interfaces/default/config.html
@@ -54,6 +54,19 @@
+
+
+
+
@@ -367,7 +380,7 @@
-
+
@@ -498,6 +511,9 @@
Use: $Disc/$disc (disc #), $Track/$track (track #), $Title/$title, $Artist/$artist, $Album/$album and $Year/$year
+
+
+
|