aboutsummaryrefslogtreecommitdiff
path: root/src/QuickMedia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r--src/QuickMedia.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index 85c6695..a7fca2d 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -251,8 +251,10 @@ namespace QuickMedia {
}
case Page::IMAGES_CONTINUOUS: {
body->draw_thumbnails = false;
+ window.setKeyRepeatEnabled(false);
image_continuous_page();
body->filter_search_fuzzy("");
+ window.setKeyRepeatEnabled(true);
break;
}
case Page::CONTENT_LIST: {
@@ -872,6 +874,7 @@ namespace QuickMedia {
const int max_fallbacks = 3;
/* itags from: https://gist.github.com/sidneys/7095afe4da4ae58694d128b1034e01e2 */
/* 1080p, 720p, 360p */
+ /* TODO: Use invidious api instead (/api/v1/videos/<video_id>, formatStreams) https://github.com/iv-org/invidious/wiki/API */
const char *fallback_itags[max_fallbacks] = { "37", "22", "18" };
Page previous_page = pop_page_stack();