mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 21:56:31 +00:00
62623b7123
rewrite zmq to DEALER and ROUTER add GET_USER command to get CurrentUser from Python all auth is on the python side inference run and validate annotations on python
15 lines
464 B
C#
15 lines
464 B
C#
using Azaion.Common.Extensions;
|
|
|
|
namespace Azaion.Common.DTO;
|
|
|
|
public class MediaFileInfo
|
|
{
|
|
public string Name { get; set; } = null!;
|
|
public string Path { get; set; } = null!;
|
|
public TimeSpan Duration { get; set; }
|
|
public string DurationStr => $"{Duration:h\\:mm\\:ss}";
|
|
public bool HasAnnotations { get; set; }
|
|
public MediaTypes MediaType { get; set; }
|
|
|
|
public string FName => Name.ToFName();
|
|
} |