aboutsummaryrefslogtreecommitdiff
path: root/include/QuickMedia.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-04-27 00:07:33 +0200
committerdec05eba <dec05eba@protonmail.com>2023-04-27 00:07:33 +0200
commit09d2e8bde4c71b75ac9df65586bd8b7ff0a7b16b (patch)
treeb339703aa4a4219e4fedbeaf9ad9c2bcf9971d01 /include/QuickMedia.hpp
parent2b746f718d0ddecc4d7fe19ad4c5d842cc530628 (diff)
Temporary depend on yt-dlp for youtube since youtube broke (throttle sig)
Diffstat (limited to 'include/QuickMedia.hpp')
-rw-r--r--include/QuickMedia.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp
index 4edea6e..0f8837d 100644
--- a/include/QuickMedia.hpp
+++ b/include/QuickMedia.hpp
@@ -119,6 +119,7 @@ namespace QuickMedia {
void set_clipboard(const std::string &str);
private:
void init(mgl::WindowHandle parent_window, std::string &program_path, bool no_dialog);
+ void check_youtube_dl_installed(const std::string &plugin_name);
void load_plugin_by_name(std::vector<Tab> &tabs, int &start_tab_index, FileManagerMimeType fm_mime_type, FileSelectionHandler file_selection_handler, std::string instance);
void common_event_handler(mgl::Event &event);
void handle_x11_events();
@@ -240,5 +241,6 @@ namespace QuickMedia {
bool use_youtube_dl = false;
int video_max_height = 0;
std::mutex login_inputs_mutex;
+ const char *yt_dl_name = nullptr;
};
}