aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-15 22:20:17 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-15 22:20:17 +0200
commit4147fb8935ae1d8ad96ba3d384f762c242c53b47 (patch)
tree187ababd47a2fd946fb5dcf1c3bb00140db7ae98 /include
parentb81c8a0698a9421e315c97804652d974b5205c29 (diff)
Only save recommendations if video is watched >= 15 seconds
Diffstat (limited to 'include')
-rw-r--r--include/QuickMedia.hpp2
1 files changed, 2 insertions, 0 deletions
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;