From fe92e3fcf858fc71583cd1a52a25e1f62324f5b8 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 2 Jun 2020 00:05:37 +0200 Subject: Play all videos in thread instead of exiting after playing the first one --- plugins/Fourchan.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/Fourchan.hpp') diff --git a/plugins/Fourchan.hpp b/plugins/Fourchan.hpp index 7b76f83..33c6579 100644 --- a/plugins/Fourchan.hpp +++ b/plugins/Fourchan.hpp @@ -21,6 +21,7 @@ namespace QuickMedia { int get_search_delay() const override { return 150; } Page get_page_after_search() const override { return Page::IMAGE_BOARD_THREAD_LIST; } bool search_is_filter() override { return true; } + BodyItems get_related_media(const std::string &url) override; private: PluginResult get_threads_internal(const std::string &url, BodyItems &result_items); void set_board_url(const std::string &new_url); @@ -38,5 +39,6 @@ namespace QuickMedia { std::condition_variable thread_list_update_cv; bool thread_list_cached = false; bool running = true; + std::vector cached_media_urls; }; } \ No newline at end of file -- cgit v1.2.3