From 4147fb8935ae1d8ad96ba3d384f762c242c53b47 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 15 Aug 2020 22:20:17 +0200 Subject: Only save recommendations if video is watched >= 15 seconds --- include/QuickMedia.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index d055c1a..e4855f9 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -60,6 +60,8 @@ namespace QuickMedia { void plugin_get_watch_history(Plugin *plugin, BodyItems &history_items); Json::Value load_video_history_json(Plugin *plugin); Json::Value load_recommended_json(Plugin *plugin); + + void save_recommendations_from_related_videos(); private: Display *disp; sf::RenderWindow window; -- cgit v1.2.3