From fde558b220118ff873cc2e735f6ec167ebcf5167 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 9 Aug 2021 19:08:57 +0200 Subject: Use no-buffer curl option for youtube redirect code and matrix streamable video checker --- src/plugins/Youtube.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/plugins/Youtube.cpp') diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp index 5b0591c..a386a70 100644 --- a/src/plugins/Youtube.cpp +++ b/src/plugins/Youtube.cpp @@ -211,6 +211,7 @@ namespace QuickMedia { // TODO: Find why this happens and if there is a way bypass it. static std::string get_playback_url_recursive(std::string playback_url, int64_t &content_length) { std::vector additional_args = get_cookies(); + additional_args.push_back({"--no-buffer", ""}); const int max_redirects = 5; for(int i = 0; i < max_redirects; ++i) { -- cgit v1.2.3