Fix typo in disabled quality fallback

Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
syeopite
2023-11-14 20:34:08 +00:00
committed by syeopite
parent 4ea606e3c0
commit b34c79a6ea

View File

@@ -107,7 +107,7 @@ def process_video_params(query, preferences)
# Force set quality to "high" if dash or hls has been disabled by the server
{"dash", "hls"}.each do |disabled_quality|
if CONFIG.disabled?("dash") && quality == "dash"
if CONFIG.disabled?(disabled_quality) && quality == disabled_quality
quality = "high"
break
end