diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-03-08 16:39:55 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-03-08 16:39:55 +0100 |
commit | a26d0fcc0a30a28ce0e458ea275fc0787c693bc6 (patch) | |
tree | ffe2212b81d9fdc93b49383c102e7c0ece0d225a /plugins/Soundcloud.hpp | |
parent | 21c50903a68c253fa5fcb9ed5ac8ba5abb1142b9 (diff) |
Save youtube watch progress and resume next time the video is played
Diffstat (limited to 'plugins/Soundcloud.hpp')
-rw-r--r-- | plugins/Soundcloud.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Soundcloud.hpp b/plugins/Soundcloud.hpp index 7e65cc1..0ec0ae4 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, std::vector<MediaChapter> &chapters, std::string &err_str) override; + PluginResult load(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; |