diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-06-11 06:33:35 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-06-11 06:34:10 +0200 |
commit | 6443ce7df2d690c5a03dc68cb6866f5d7d4e3fba (patch) | |
tree | d331799384d53372832d17e277e50da7cc8720f4 /plugins/youtube | |
parent | 89383cff1ba5d8a928262fcb4c40382a981c78c8 (diff) |
Make get_related_videos async, readd mark-watched
Diffstat (limited to 'plugins/youtube')
-rw-r--r-- | plugins/youtube/Signature.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<DecryptFuncCall> &new_func_calls, std::map<std::string, DecryptFunction> &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<void> poll_task; std::mutex update_signature_mutex; std::string decryption_function; |