diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Peertube.hpp | 1 | ||||
-rw-r--r-- | plugins/Youtube.hpp | 16 |
2 files changed, 0 insertions, 17 deletions
diff --git a/plugins/Peertube.hpp b/plugins/Peertube.hpp index 10c2761..1f51555 100644 --- a/plugins/Peertube.hpp +++ b/plugins/Peertube.hpp @@ -83,7 +83,6 @@ namespace QuickMedia { std::string get_audio_url(std::string &ext) override; PluginResult load(std::string &title, std::string &channel_url, std::vector<MediaChapter> &chapters, std::string &err_str) override; bool autoplay_next_item() override { return autoplay_next; } - //void mark_watched() override; //void get_subtitles(SubtitleData &subtitle_data) override; private: std::string server; diff --git a/plugins/Youtube.hpp b/plugins/Youtube.hpp index 511c78a..4772aa1 100644 --- a/plugins/Youtube.hpp +++ b/plugins/Youtube.hpp @@ -130,22 +130,6 @@ namespace QuickMedia { std::array<AsyncTask<std::vector<YoutubeSubscriptionTaskResult>>, 4> subscription_load_tasks; // TODO: Use multiple curl outputs instead? }; - class YoutubeRecommendedPage : public LazyFetchPage { - public: - YoutubeRecommendedPage(Program *program) : LazyFetchPage(program) {} - const char* get_title() const override { return "Recommended"; } - PluginResult get_page(const std::string &str, int page, BodyItems &result_items) override; - PluginResult submit(const SubmitArgs &args, std::vector<Tab> &result_tabs) override; - PluginResult lazy_fetch(BodyItems &result_items) override; - bool reload_on_page_change() override { return true; } - private: - PluginResult search_get_continuation(const std::string &continuation_token, BodyItems &result_items); - private: - int current_page = 0; - std::string continuation_token; - std::unordered_set<std::string> added_videos; - }; - class YoutubeRelatedVideosPage : public RelatedVideosPage { public: YoutubeRelatedVideosPage(Program *program) : RelatedVideosPage(program) {} |