's'
This commit is contained in:
@@ -143,7 +143,7 @@ def start_douyin_youtube_ffplay(
|
||||
youtube_rtmp = val if val.startswith("rtmp://") else rtmp_base + val
|
||||
print(f"[INFO] 从 {config_file} 读取 YouTube stream key: {youtube_rtmp}")
|
||||
# 兼容:若上面未匹配到 key,取第一个非配置项的值作为 stream key
|
||||
if youtube_rtmp == rtmp_base + default_key:
|
||||
if youtube_rtmp == rtmp_base + default_key:
|
||||
for k, v in config.items("youtube"):
|
||||
if k.strip().lower() not in ("enable_demucs", "demucs_use_gpu", "demucs_vocal_mix", "video_bitrate_mbps", "stats_interval_sec") and v.strip():
|
||||
v = v.strip()
|
||||
|
||||
Reference in New Issue
Block a user