From 4c37a5463c23fcdb165228aae096f2bb0a25b98b Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 3 Apr 2024 20:49:37 +0200 Subject: Autoskip youtube sponsors --- 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 ac92526..d7008ae 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -187,7 +187,7 @@ namespace QuickMedia { void set_watch_progress(int64_t time_pos_sec, int64_t duration_sec) override; bool autoplay_next_item() override { return goto_next_item; } private: - PluginResult parse_video_response(const Json::Value &json_root, std::string &title, std::string &channel_url, std::vector &chapters, std::string &err_str); + PluginResult parse_video_response(const Json::Value &json_root, std::string &title, std::string &channel_url, std::vector &chapters, std::vector &sponsor_segments, std::string &err_str); void parse_format(const Json::Value &format_json, bool is_adaptive); void parse_formats(const Json::Value &streaming_data_json); private: -- cgit v1.2.3