Updated audio image extraction logic. Added caching classes.

This commit is contained in:
2025-02-26 19:07:29 -05:00
parent b38e4dc858
commit dfdf514fe2
11 changed files with 259 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ public class SongPictureInfo : IDisposable
public required Stream Stream { get; init; }
public string? ImageHash { get; init; }
public required string ImageName { get; init; }
public ulong Size { get; init; }
public long Size { get; init; }
private SongPictureInfo()
{
@@ -45,7 +45,7 @@ public class SongPictureInfo : IDisposable
Stream = stream,
ImageHash = imageHash,
ImageName = imageName,
Size = (ulong)stream.Length
Size = stream.Length
};
return songPictureInfo;