This commit is contained in:
Joe Milazzo 2024-11-14 07:11:39 -06:00 committed by GitHub
parent 2d5a7a3606
commit 7c4d7dc821
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 182 additions and 245 deletions

View file

@ -362,6 +362,7 @@ public class MetadataService : IMetadataService
return;
}
// TODO: Cache this because it's called a lot during scans
var settings = await _unitOfWork.SettingsRepository.GetSettingsDtoAsync();
var encodeFormat = settings.EncodeMediaAs;
var coverImageSize = settings.CoverImageSize;