diff options
Diffstat (limited to 'plugins/Youtube.hpp')
-rw-r--r-- | plugins/Youtube.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp index dea6cc2..20c04fc 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -133,14 +133,15 @@ namespace QuickMedia { public: YoutubeVideoPage(Program *program, std::string url) : VideoPage(program, std::move(url)) {} const char* get_title() const override { return ""; } - BodyItems get_related_media(const std::string &url, std::string &channel_url) override; + BodyItems get_related_media(const std::string &url) override; std::unique_ptr<Page> create_search_page(Program *program, int &search_delay) override; std::unique_ptr<Page> create_comments_page(Program *program) override; std::unique_ptr<RelatedVideosPage> create_related_videos_page(Program *program) override; std::unique_ptr<Page> create_channels_page(Program *program, const std::string &channel_url) override; std::string get_video_url(int max_height, bool &has_embedded_audio) override; std::string get_audio_url() override; - PluginResult load() override; + PluginResult load(std::string &channel_url) override; + void mark_watched() override; private: void parse_format(const Json::Value &format_json, bool is_adaptive); void parse_formats(const Json::Value &streaming_data_json); |