diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-08-15 22:20:17 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-15 22:20:17 +0200 |
commit | 4147fb8935ae1d8ad96ba3d384f762c242c53b47 (patch) | |
tree | 187ababd47a2fd946fb5dcf1c3bb00140db7ae98 /include | |
parent | b81c8a0698a9421e315c97804652d974b5205c29 (diff) |
Only save recommendations if video is watched >= 15 seconds
Diffstat (limited to 'include')
-rw-r--r-- | include/QuickMedia.hpp | 2 |
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; |