mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 23:58:57 +00:00
Fix profile images.
This commit is contained in:
@@ -6,11 +6,9 @@ namespace Jellyfin.Data.Entities
|
||||
{
|
||||
public class ImageInfo
|
||||
{
|
||||
public ImageInfo(string path, int width, int height)
|
||||
public ImageInfo(string path)
|
||||
{
|
||||
Path = path;
|
||||
Width = width;
|
||||
Height = height;
|
||||
LastModified = DateTime.UtcNow;
|
||||
}
|
||||
|
||||
@@ -20,14 +18,10 @@ namespace Jellyfin.Data.Entities
|
||||
public int Id { get; protected set; }
|
||||
|
||||
[Required]
|
||||
[MaxLength(512)]
|
||||
[StringLength(512)]
|
||||
public string Path { get; set; }
|
||||
|
||||
[Required]
|
||||
public int Width { get; set; }
|
||||
|
||||
[Required]
|
||||
public int Height { get; set; }
|
||||
|
||||
[Required]
|
||||
public DateTime LastModified { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user