aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-24 20:31:59 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-24 20:31:59 +0100
commit8e23c088ceebd1308e0f32b584ae503495895b05 (patch)
tree879c8a3414afdbc473704ce8d718c8147c25d5cc /include
parentce00471fd84745dcbbcb9f2d9ef434acb3d0fd2b (diff)
Add youtube.load_progress option
Diffstat (limited to 'include')
-rw-r--r--include/Config.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Config.hpp b/include/Config.hpp
index efb7edd..dcad4f2 100644
--- a/include/Config.hpp
+++ b/include/Config.hpp
@@ -42,6 +42,10 @@ namespace QuickMedia {
bool auto_group_episodes = false;
};
+ struct YoutubeConfig {
+ bool load_progress = true;
+ };
+
struct Config {
Config() = default;
Config(const Config&) = delete;
@@ -54,6 +58,7 @@ namespace QuickMedia {
VideoConfig video;
LocalMangaConfig local_manga;
LocalAnimeConfig local_anime;
+ YoutubeConfig youtube;
bool use_system_fonts = false;
bool use_system_mpv_config = false;
std::string theme = "default";