Possible fix #175
This commit is contained in:
parent
783f229a6a
commit
58cff6513a
@ -35,6 +35,7 @@ public class UpdateMetadata : Job
|
|||||||
|
|
||||||
this.manga = manga.WithMetadata(updatedManga);
|
this.manga = manga.WithMetadata(updatedManga);
|
||||||
this.manga.SaveSeriesInfoJson(settings.downloadLocation, true);
|
this.manga.SaveSeriesInfoJson(settings.downloadLocation, true);
|
||||||
|
this.mangaConnector.CopyCoverFromCacheToDownloadLocation(manga);
|
||||||
this.progressToken.Complete();
|
this.progressToken.Complete();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -20,7 +20,7 @@ public struct Manga
|
|||||||
public string[] tags { get; private set; }
|
public string[] tags { get; private set; }
|
||||||
// ReSharper disable once UnusedAutoPropertyAccessor.Global
|
// ReSharper disable once UnusedAutoPropertyAccessor.Global
|
||||||
public string? coverUrl { get; private set; }
|
public string? coverUrl { get; private set; }
|
||||||
public string? coverFileNameInCache { get; }
|
public string? coverFileNameInCache { get; private set; }
|
||||||
// ReSharper disable once UnusedAutoPropertyAccessor.Global
|
// ReSharper disable once UnusedAutoPropertyAccessor.Global
|
||||||
public Dictionary<string,string> links { get; }
|
public Dictionary<string,string> links { get; }
|
||||||
// ReSharper disable once MemberCanBePrivate.Global
|
// ReSharper disable once MemberCanBePrivate.Global
|
||||||
@ -88,7 +88,8 @@ public struct Manga
|
|||||||
status = newManga.status,
|
status = newManga.status,
|
||||||
releaseStatus = newManga.releaseStatus,
|
releaseStatus = newManga.releaseStatus,
|
||||||
websiteUrl = newManga.websiteUrl,
|
websiteUrl = newManga.websiteUrl,
|
||||||
year = newManga.year
|
year = newManga.year,
|
||||||
|
coverFileNameInCache = coverFileNameInCache
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -103,6 +104,7 @@ public struct Manga
|
|||||||
this.sortName == compareManga.sortName &&
|
this.sortName == compareManga.sortName &&
|
||||||
this.latestChapterAvailable.Equals(compareManga.latestChapterAvailable) &&
|
this.latestChapterAvailable.Equals(compareManga.latestChapterAvailable) &&
|
||||||
this.authors.All(a => compareManga.authors.Contains(a)) &&
|
this.authors.All(a => compareManga.authors.Contains(a)) &&
|
||||||
|
(this.coverFileNameInCache??"").Equals(compareManga.coverFileNameInCache) &&
|
||||||
(this.websiteUrl??"").Equals(compareManga.websiteUrl) &&
|
(this.websiteUrl??"").Equals(compareManga.websiteUrl) &&
|
||||||
this.tags.All(t => compareManga.tags.Contains(t));
|
this.tags.All(t => compareManga.tags.Contains(t));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user