aboutsummaryrefslogtreecommitdiff
path: root/plugins/Soundcloud.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-06-16 14:43:20 +0200
committerdec05eba <dec05eba@protonmail.com>2022-06-16 15:09:30 +0200
commitad2685624cf233456623c5fa34083412df53873c (patch)
tree370acf204f01a9a6d877345b5f41977a8edd8441 /plugins/Soundcloud.hpp
parente471a1f93ee23f0f729d64068504cb892481b56f (diff)
Soundcloud: fix title and download link not updating when changing video, fix text y offset after mgl update
Diffstat (limited to 'plugins/Soundcloud.hpp')
-rw-r--r--plugins/Soundcloud.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Soundcloud.hpp b/plugins/Soundcloud.hpp
index 0ec0ae4..cf1d7dd 100644
--- a/plugins/Soundcloud.hpp
+++ b/plugins/Soundcloud.hpp
@@ -60,7 +60,7 @@ namespace QuickMedia {
public:
SoundcloudAudioPage(Program *program, std::string title, const std::string &url, std::string permalink_url) : VideoPage(program, url), title(std::move(title)), permalink_url(std::move(permalink_url)) {}
const char* get_title() const override { return ""; }
- PluginResult load(std::string &title, std::string &channel_url, double &duration, std::vector<MediaChapter> &chapters, std::string &err_str) override;
+ PluginResult load(const SubmitArgs &args, std::string &title, std::string &channel_url, double &duration, std::vector<MediaChapter> &chapters, std::string &err_str) override;
bool autoplay_next_item() override { return true; }
std::string url_get_playable_url(const std::string &url) override;
std::string get_download_url(int max_height) override;