aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Page.hpp2
-rw-r--r--plugins/Youtube.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Page.hpp b/plugins/Page.hpp
index 0654fa7..0ed4933 100644
--- a/plugins/Page.hpp
+++ b/plugins/Page.hpp
@@ -124,7 +124,7 @@ namespace QuickMedia {
virtual std::string get_audio_url() { return ""; }
virtual std::string url_get_playable_url(const std::string &url) { return url; }
virtual bool video_should_be_skipped(const std::string &url) { (void)url; return false; }
- virtual PluginResult load(std::string &channel_url) { (void)channel_url; return PluginResult::OK; }
+ virtual PluginResult load(std::string &title, std::string &channel_url) { (void)title; (void)channel_url; return PluginResult::OK; }
virtual void mark_watched() {};
protected:
std::string url;
diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp
index 20c04fc..9a0353e 100644
--- a/plugins/Youtube.hpp
+++ b/plugins/Youtube.hpp
@@ -140,7 +140,7 @@ namespace QuickMedia {
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(std::string &channel_url) override;
+ PluginResult load(std::string &title, std::string &channel_url) override;
void mark_watched() override;
private:
void parse_format(const Json::Value &format_json, bool is_adaptive);