From 0c9ac2b093ef5692b36202b97e6d6ae0364d37e5 Mon Sep 17 00:00:00 2001 From: j Date: Fri, 8 Sep 2023 11:05:00 +0100 Subject: [PATCH] remove $ in HLS url --- youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube.py b/youtube.py index fb978df..b896128 100755 --- a/youtube.py +++ b/youtube.py @@ -6,7 +6,7 @@ import subprocess config = { 'RTMP_URL': 'rtmp://a.rtmp.youtube.com/live2/{STREAM_KEY}', - 'HLS_URL': 'https://a.upload.youtube.com/http_upload_hls?cid=${STREAM_KEY}©=0&file=live.m3u8', + 'HLS_URL': 'https://a.upload.youtube.com/http_upload_hls?cid={STREAM_KEY}©=0&file=live.m3u8', 'SRC': 'rtsp://192.168.1.64:554/Streaming/channels/103', 'STREAM_KEY': 'not-set' }