From 85c6c916541968f298badb391b718cdf6d81d332 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 19 Jun 2021 13:13:59 +0200 Subject: Support youtube description chapters --- plugins/Youtube.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Youtube.hpp') diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp index d8c4cc2..dcccc88 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -143,7 +143,7 @@ namespace QuickMedia { std::string get_url_timestamp() override { return timestamp; } std::string get_video_url(int max_height, bool &has_embedded_audio) override; std::string get_audio_url() override; - PluginResult load(std::string &title, std::string &channel_url) override; + PluginResult load(std::string &title, std::string &channel_url, std::vector &chapters) override; void mark_watched() override; private: void parse_format(const Json::Value &format_json, bool is_adaptive); -- cgit v1.2.3