From 8b62e2c4671f9d92593f350479074e2ef06aa703 Mon Sep 17 00:00:00 2001 From: Glax Date: Thu, 25 Apr 2024 20:57:46 +0200 Subject: [PATCH] Possible fix #175 Export jobs when Manga-Metadata is updated. --- Tranga/Jobs/UpdateMetadata.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tranga/Jobs/UpdateMetadata.cs b/Tranga/Jobs/UpdateMetadata.cs index b855f14..97464f3 100644 --- a/Tranga/Jobs/UpdateMetadata.cs +++ b/Tranga/Jobs/UpdateMetadata.cs @@ -36,6 +36,8 @@ public class UpdateMetadata : Job this.manga = manga.WithMetadata(updatedManga); this.manga.SaveSeriesInfoJson(settings.downloadLocation, true); this.mangaConnector.CopyCoverFromCacheToDownloadLocation(manga); + foreach (Job job in jobBoss.GetJobsLike(publication: manga)) + jobBoss.UpdateJobFile(job); this.progressToken.Complete(); } else