Skip to content

Commit f1a20af

Browse files
committed
Added PageCount back to the MetronInfo.xml
1 parent 23367d1 commit f1a20af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ComicRack.Engine/IO/Provider/XmlInfo/MetronInfoProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public override ComicInfo ToComicInfo(MetronInfo metronInfo)
7878
Notes = metronInfo.Notes ?? string.Empty,
7979
Genre = string.Join(delimiter, metronInfo.Genres.Select(g => g.Value)),
8080
Web = (metronInfo.UrLs.Where(u => u.Primary)?.FirstOrDefault()?.Value ?? metronInfo.UrLs.FirstOrDefault()?.Value) ?? string.Empty,
81-
//PageCount = metronInfo.PageCount, //PageCount should determined by the program unless it's a fileless book, because it can create problems when set to default values
81+
PageCount = metronInfo.PageCount,
8282
LanguageISO = metronInfo.Series?.Lang ?? string.Empty,
8383
AgeRating = metronInfo.AgeRating == AgeRatingType.Unknown ? string.Empty : LocalizeUtility.LocalizeEnum(typeof(AgeRatingType), (int)metronInfo.AgeRating),
8484
Characters = string.Join(delimiter, metronInfo.Characters.Select(c => c.Value)),

0 commit comments

Comments
 (0)