mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-21 00:05:26 +03:00
add additional playlist buttons
This commit is contained in:
@@ -1309,8 +1309,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
{
|
||||
Path = file.FullName,
|
||||
Type = type,
|
||||
DateModified = FileSystem.GetLastWriteTimeUtc(file),
|
||||
Length = ((FileInfo)file).Length
|
||||
DateModified = FileSystem.GetLastWriteTimeUtc(file)
|
||||
});
|
||||
}
|
||||
else
|
||||
@@ -1421,14 +1420,11 @@ namespace MediaBrowser.Controller.Entities
|
||||
return null;
|
||||
}
|
||||
|
||||
var info = new FileInfo(path);
|
||||
|
||||
return new ItemImageInfo
|
||||
{
|
||||
Path = path,
|
||||
DateModified = FileSystem.GetLastWriteTimeUtc(info),
|
||||
Type = imageType,
|
||||
Length = info.Length
|
||||
DateModified = FileSystem.GetLastWriteTimeUtc(path),
|
||||
Type = imageType
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user