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/LocalAnime.hpp | |
parent | 21c50903a68c253fa5fcb9ed5ac8ba5abb1142b9 (diff) |
Save youtube watch progress and resume next time the video is played
Diffstat (limited to 'plugins/LocalAnime.hpp')
-rw-r--r-- | plugins/LocalAnime.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/LocalAnime.hpp b/plugins/LocalAnime.hpp index 0313231..4925767 100644 --- a/plugins/LocalAnime.hpp +++ b/plugins/LocalAnime.hpp @@ -54,7 +54,7 @@ namespace QuickMedia { std::string get_video_url(int max_height, bool &has_embedded_audio, std::string &ext) override; std::string get_url_timestamp() override; bool is_local() const override { return true; } - void set_watch_progress(int64_t time_pos_sec) override; + void set_watch_progress(int64_t time_pos_sec, int64_t duration_sec) override; private: LocalAnimeSearchPage *search_page; WatchProgress *watch_progress; |