aboutsummaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/LocalAnime.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/LocalAnime.cpp b/src/plugins/LocalAnime.cpp
index cc82df1..3682ea5 100644
--- a/src/plugins/LocalAnime.cpp
+++ b/src/plugins/LocalAnime.cpp
@@ -416,12 +416,13 @@ namespace QuickMedia {
std::string title;
- title += "Episode ";
std::optional<EpisodeNameParts> name_parts = episode_name_extract_parts(episode.path.filename());
- if(name_parts)
+ if(name_parts && get_config().local_anime.auto_group_episodes) {
+ title += "Episode ";
title += name_parts->episode;
- else
+ } else {
title += episode.path.filename_no_ext();
+ }
if(has_finished_watching)
title += "\n[Finished watching]";