https for web streams
This commit is contained in:
+1
-1
@@ -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')
|
||||||
|
|||||||
Reference in New Issue
Block a user