aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-06-02 00:05:37 +0200
committerdec05eba <dec05eba@protonmail.com>2020-06-02 00:05:37 +0200
commitfe92e3fcf858fc71583cd1a52a25e1f62324f5b8 (patch)
tree45bc72fe600346087f2ebcf9b72e79159c7f3fb6 /plugins
parent223cdf22c5aec68d1e14bc013d8e75daa374d04e (diff)
Play all videos in thread instead of exiting after playing the first one
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Fourchan.hpp2
1 files changed, 2 insertions, 0 deletions
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<std::string> cached_media_urls;
};
} \ No newline at end of file