aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-08-15 11:41:06 +0200
committerdec05eba <dec05eba@protonmail.com>2021-08-15 11:41:06 +0200
commitde4825e548b990493b372237cbef9a790bf114c4 (patch)
treec81a7c281f14d0404cb2a5b57ca5a6f6cd967b54 /include
parent0009006c39ce4bfebc3c5260b83063c800cb4fdf (diff)
Play popular invidious instance urls directly in qm
Replaces popular invidious instance urls with youtube.com
Diffstat (limited to 'include')
-rw-r--r--include/Downloader.hpp2
-rw-r--r--include/QuickMedia.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/Downloader.hpp b/include/Downloader.hpp
index f09f9bf..cc15e5d 100644
--- a/include/Downloader.hpp
+++ b/include/Downloader.hpp
@@ -1,8 +1,8 @@
#pragma once
+#include "../plugins/youtube/YoutubeMediaProxy.hpp"
#include "Path.hpp"
#include "AsyncTask.hpp"
-#include "../plugins/youtube/YoutubeMediaProxy.hpp"
#include <string>
namespace QuickMedia {
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 71e4797..cb3f5ef 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -124,7 +124,7 @@ namespace QuickMedia {
void chat_login_page();
bool chat_page(MatrixChatPage *matrix_chat_page, RoomData *current_room);
void after_matrix_login_page();
- void download_page(const std::string &url);
+ void download_page(std::string url);
// Returns the full path where the file should be saved, or an empty string if the operation was cancelled
std::string file_save_page(const std::string &filename);