https for web streams

This commit is contained in:
2019-01-22 15:57:49 +01:00
parent 3f50cf35dc
commit 5bec3c4aea
+1 -1
View File
@@ -118,7 +118,7 @@ try:
qr_code = qr_code.decode("utf-8") # python3 qr_code = qr_code.decode("utf-8") # python3
logging.info("QR Code: " + qr_code) logging.info("QR Code: " + qr_code)
if qr_code.startswith("http://"): if qr_code.startswith("http://") or qr_code.startswith("https://"):
play(qr_code, 'webradio') play(qr_code, 'webradio')
elif qr_code.startswith("spotify:"): elif qr_code.startswith("spotify:"):
play(qr_code, 'spop') play(qr_code, 'spop')