diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-06-10 22:39:39 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-06-10 22:39:39 +0200 |
commit | fd402fc4ea57eababbe5e568835e7b5e070bd0c0 (patch) | |
tree | d585bf62d46df4deae9ac6446c692b72d8a1cfa6 | |
parent | 82d937254fb411475db54c829018ef5e4d220f7c (diff) |
Fix auto_group_episodes == false not displaying episode names correctly
-rw-r--r-- | TODO | 7 | ||||
-rw-r--r-- | src/plugins/LocalAnime.cpp | 7 |
2 files changed, 10 insertions, 4 deletions
@@ -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<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]"; |