aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Youtube.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-14 18:41:31 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-14 18:41:31 +0100
commitce00471fd84745dcbbcb9f2d9ef434acb3d0fd2b (patch)
treed79a9c3d04d8ae182ccf6697da9f4d9f9e18f54d /src/plugins/Youtube.cpp
parent0b1f7936b0d52ad39016c9a7ad5320474034d500 (diff)
Image scroll view: add first/last image to allow scrolling to previous/next chapter, load next chapters page when reaching bottom
Diffstat (limited to 'src/plugins/Youtube.cpp')
-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())