aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/Youtube.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp
index b3150a3..bbf3108 100644
--- a/src/plugins/Youtube.cpp
+++ b/src/plugins/Youtube.cpp
@@ -1869,6 +1869,7 @@ namespace QuickMedia {
return "";
}
+ // TODO: Remove very old videos, to not make this file too large which slows this down on slow harddrives
std::unordered_map<std::string, WatchProgress> watch_progress = get_watch_progress_for_plugin("youtube");
auto it = watch_progress.find(video_id);
if(it == watch_progress.end())