diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-06-27 00:06:08 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-06-27 00:06:08 +0200 |
commit | 33167be93badbd69f703b2c081b0bb6df3a65ce6 (patch) | |
tree | c7f92bc33d0e0f4f487d02caccb173ba076edecf /src/plugins | |
parent | e2adb33f6cb05fb424175633c56ff43cc24a7adf (diff) |
Add local_anime.sort_episodes_by_name config to allow sorting episodes differently than series. True by default
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/LocalAnime.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/LocalAnime.cpp b/src/plugins/LocalAnime.cpp index bab662b..c906b9b 100644 --- a/src/plugins/LocalAnime.cpp +++ b/src/plugins/LocalAnime.cpp @@ -173,7 +173,7 @@ namespace QuickMedia { } update_modified_time_from_episodes(grouped_anime.anime); - if(get_config().local_anime.sort_by_name) + if(get_config().local_anime.sort_episodes_by_name) sort_anime_items_by_name_desc(grouped_anime.anime.items); else sort_anime_items_by_timestamp_asc(grouped_anime.anime.items); @@ -228,7 +228,7 @@ namespace QuickMedia { return true; }; - if(get_config().local_anime.sort_by_name) + if(get_config().local_anime.sort_episodes_by_name) for_files_in_dir_sort_name(directory, std::move(callback), FileSortDirection::DESC); else for_files_in_dir_sort_last_modified(directory, std::move(callback)); |