feat(metadata): add video_codec field and verbose codec name resolution

This commit is contained in:
yiling
2026-05-26 15:41:12 +08:00
parent 2a04c49b95
commit da9f6574a6
6 changed files with 162 additions and 4 deletions
+10
View File
@@ -152,6 +152,16 @@ export const systemFields: Prisma.MetadataFieldCreateInput[] = [
number: { scale: 0 },
},
},
{
key: 'video_codec',
scope: 'SYSTEM',
readOnly: true,
config: {
name: 'Video Codec',
type: 'text',
text: {},
},
},
{
key: 'format',
scope: 'SYSTEM',