From d4cd63129ae5dff8fd69525424e0f8cb9ae1a905 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 16 Feb 2022 21:54:47 +0100 Subject: Wip: fix video duration not working for some analyzed files, get frame in middle of video instead of first frame for thumbnail --- include/Config.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/Config.hpp') diff --git a/include/Config.hpp b/include/Config.hpp index b2abbf1..ee9e190 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -36,6 +36,12 @@ namespace QuickMedia { bool sort_chapters_by_name = false; }; + struct LocalAnimeConfig { + std::string directory; + bool sort_by_name = false; + bool sort_episodes_by_name = true; + }; + struct Config { Config() = default; Config(const Config&) = delete; @@ -47,6 +53,7 @@ namespace QuickMedia { InputConfig input; VideoConfig video; LocalMangaConfig local_manga; + LocalAnimeConfig local_anime; bool use_system_fonts = false; bool use_system_mpv_config = false; std::string theme = "default"; -- cgit v1.2.3