diff options
Diffstat (limited to 'src/plugins')
-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; } |