diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-08-09 19:08:57 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-08-09 19:08:57 +0200 |
commit | fde558b220118ff873cc2e735f6ec167ebcf5167 (patch) | |
tree | 5c17d9dd94533e512f864b3bf8c983501a1b1364 /src/plugins | |
parent | 27a79a205f865a4023d8e78d0699cc12f2f707cf (diff) |
Use no-buffer curl option for youtube redirect code and matrix streamable video checker
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/Youtube.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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<CommandArg> additional_args = get_cookies(); + additional_args.push_back({"--no-buffer", ""}); const int max_redirects = 5; for(int i = 0; i < max_redirects; ++i) { |