Move Audio to media package

This commit is contained in:
Carl Pearson
2024-09-26 05:54:11 -06:00
parent 2a79660421
commit 045ecd88d1
5 changed files with 29 additions and 25 deletions

View File

@@ -53,19 +53,6 @@ type Transcode struct {
Rate uint
}
type Audio struct {
gorm.Model
OriginalID uint // Original.ID
Source string // "original", "transcode"
Bps uint
Length float64
Size int64
Type string
Codec string
Filename string
Status string // "pending", "completed", "failed"
}
type User struct {
gorm.Model
Username string `gorm:"unique"`