From fd402fc4ea57eababbe5e568835e7b5e070bd0c0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 10 Jun 2023 22:39:39 +0200 Subject: Fix auto_group_episodes == false not displaying episode names correctly --- TODO | 7 ++++++- src/plugins/LocalAnime.cpp | 7 ++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index 7a7a38a..c9591bb 100644 --- a/TODO +++ b/TODO @@ -260,4 +260,9 @@ Fix youtube information page missing info, show more youtube info in search resu Implement m.room.canonical_alias. Sometimes youtube videos get throttled and reloading the video fixes it most of the time. Find a way to do that automatically. Or maybe decrypt the nsig when using the new endpoint. Youtube changed and it no longer works. Commit 09d2e8bde4c71b75ac9df65586bd8b7ff0a7b16b changed to use yt-dlp instead. Solve youtube video sig so we dont have to depend on yt-dlp. -Add command line argument to set matrix user directory, to allow running multiple instances of quickmedia matrix, each running a separate user. \ No newline at end of file +Add command line argument to set matrix user directory, to allow running multiple instances of quickmedia matrix, each running a separate user. +Navigation breadcrumb. +Support youtube multiple audio tracks. +Add support for irc, xmpp. +Rename local-anime/local-manga to more generic media forms (local-media/local-shows, etc?). +Add ability to create room, commands for changing nickname, roomnickname, avatar, kick, ban, etc. 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 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]"; -- cgit v1.2.3