From 5bec3c4aeaf8567fe1d28398f22b514543782461 Mon Sep 17 00:00:00 2001 From: Tilman Liero Date: Tue, 22 Jan 2019 15:57:49 +0100 Subject: [PATCH] https for web streams --- code/qudio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/qudio.py b/code/qudio.py index be4f619..f54161c 100644 --- a/code/qudio.py +++ b/code/qudio.py @@ -118,7 +118,7 @@ try: qr_code = qr_code.decode("utf-8") # python3 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') elif qr_code.startswith("spotify:"): play(qr_code, 'spop')