diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-02-14 01:44:34 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-02-14 01:44:34 +0100 |
commit | ce1d9a88e3956690a7eb6157eed89b141fdf3228 (patch) | |
tree | c55493c757140f4b6ddbaa2776533cfb5c26f1c3 /src | |
parent | 85629da7eea972d96c5433191fc43125811cc7a0 (diff) |
local-manga: append automedia seen when going to next chapter
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/LocalManga.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins/LocalManga.cpp b/src/plugins/LocalManga.cpp index 34a2983..83dd983 100644 --- a/src/plugins/LocalManga.cpp +++ b/src/plugins/LocalManga.cpp @@ -478,10 +478,6 @@ namespace QuickMedia { } result_tabs.push_back(Tab{nullptr, std::make_unique<LocalMangaImagesPage>(program, content_title, args.url, args.url, thumbnail_url), nullptr}); - - if(is_program_executable_by_name("automedia")) - append_seen_manga_to_automedia_seen(content_url + "/" + args.url); - return PluginResult::OK; } @@ -502,6 +498,9 @@ namespace QuickMedia { chapter_image_urls.push_back(local_manga_page.path.data); } + if(is_program_executable_by_name("automedia")) + append_seen_manga_to_automedia_seen(manga_name + "/" + url); + num_images = chapter_image_urls.size(); return ImageResult::OK; } |