From 7ec262a2e493b84c8a5e6be6182f263a2dd82357 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