From e4a0669da8cd428dc577f91f915644298f97667e Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Thu, 6 Jun 2019 21:31:10 -0500 Subject: [PATCH] Fix typo in video param --- src/invidious/videos.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 92787fdc..8f0fda46 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -1235,7 +1235,7 @@ def process_video_params(query, preferences) continue = query["continue"]?.try &.to_i? continue_autoplay = query["continue_autoplay"]?.try &.to_i? listen = query["listen"]? && (query["listen"] == "true" || query["listen"] == "1").to_unsafe - local = query["local"]? && (query["local"] == "true" || query["listen"] == "1").to_unsafe + local = query["local"]? && (query["local"] == "true" || query["local"] == "1").to_unsafe preferred_captions = query["subtitles"]?.try &.split(",").map { |a| a.downcase } quality = query["quality"]? region = query["region"]?