changed ChapterImageResolution in model to enum type;

added 144p to the ImageResolution enum;
updated chapters limit comment inside FFProbeVideoInfo.cs;
This commit is contained in:
Negulici-R. Barnabas
2022-11-13 16:23:21 +02:00
parent b7aa5ed862
commit 7db1813cc8
4 changed files with 40 additions and 26 deletions

View File

@@ -666,7 +666,7 @@ namespace MediaBrowser.Providers.MediaInfo
return Array.Empty<ChapterInfo>();
}
// Limit to 100 chapters just in case there's some incorrect metadata here
// Limit the chapters just in case there's some incorrect metadata here
int chapterCount = (int)Math.Min(runtime / dummyChapterDuration, _config.Configuration.DummyChapterCount);
var chapters = new ChapterInfo[chapterCount];