From de4825e548b990493b372237cbef9a790bf114c4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 15 Aug 2021 11:41:06 +0200 Subject: Play popular invidious instance urls directly in qm Replaces popular invidious instance urls with youtube.com --- include/Downloader.hpp | 2 +- include/QuickMedia.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 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); -- cgit v1.2.3