From 6443ce7df2d690c5a03dc68cb6866f5d7d4e3fba Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 11 Jun 2021 06:33:35 +0200 Subject: Make get_related_videos async, readd mark-watched --- plugins/youtube/Signature.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/youtube') diff --git a/plugins/youtube/Signature.hpp b/plugins/youtube/Signature.hpp index 7456615..8c782f9 100644 --- a/plugins/youtube/Signature.hpp +++ b/plugins/youtube/Signature.hpp @@ -33,6 +33,8 @@ namespace QuickMedia { bool js_code_to_operations(const std::string &function_body_str, const std::string &var_body_str, std::vector &new_func_calls, std::map &new_func_decls); int update_decrypt_function(); private: + // TODO: Remove this task and instead add the network download task to a queue and add a poll function to check if it has finished downloading + // or if it needs to be updated. AsyncTask poll_task; std::mutex update_signature_mutex; std::string decryption_function; -- cgit v1.2.3