diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-02-16 21:54:47 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-02-17 19:18:34 +0100 |
commit | d4cd63129ae5dff8fd69525424e0f8cb9ae1a905 (patch) | |
tree | 957c957f0ca1796105318b7595545dcfc7e04af7 /include/Config.hpp | |
parent | 5061e1ad912bccf89df25258e7dd8b386b0a7239 (diff) |
Wip: fix video duration not working for some analyzed files, get frame in middle of video instead of first frame for thumbnail
Diffstat (limited to 'include/Config.hpp')
-rw-r--r-- | include/Config.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
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"; |