Move Video to media package

This commit is contained in:
Carl Pearson
2024-09-26 05:50:16 -06:00
parent 00d4a12014
commit 88160b2301
5 changed files with 40 additions and 28 deletions

View File

@@ -34,20 +34,6 @@ type Original struct {
Video bool // audio download requested
}
type Video struct {
gorm.Model
OriginalID uint // Original.ID
Source string // "original", "transcode"
Filename string
Width uint
Height uint
FPS float64
Length float64
Size int64
Type string
Codec string
}
type Transcode struct {
gorm.Model
Status string // "pending", "running", "failed"