aboutsummaryrefslogtreecommitdiff
path: root/src/Config.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-27 00:06:08 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-27 00:06:08 +0200
commit33167be93badbd69f703b2c081b0bb6df3a65ce6 (patch)
treec7f92bc33d0e0f4f487d02caccb173ba076edecf /src/Config.cpp
parente2adb33f6cb05fb424175633c56ff43cc24a7adf (diff)
Add local_anime.sort_episodes_by_name config to allow sorting episodes differently than series. True by default
Diffstat (limited to 'src/Config.cpp')
-rw-r--r--src/Config.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Config.cpp b/src/Config.cpp
index 8a9752d..5d16083 100644
--- a/src/Config.cpp
+++ b/src/Config.cpp
@@ -273,6 +273,7 @@ namespace QuickMedia {
if(local_anime_json.isObject()) {
get_json_value_path(local_anime_json, "directory", config->local_anime.directory);
get_json_value(local_anime_json, "sort_by_name", config->local_anime.sort_by_name);
+ get_json_value(local_anime_json, "sort_episodes_by_name", config->local_anime.sort_episodes_by_name);
get_json_value(local_anime_json, "auto_group_episodes", config->local_anime.auto_group_episodes);
}