Move Filename to media.MediaFile

This commit is contained in:
Carl Pearson
2024-11-05 05:32:04 -07:00
parent d109ce0dee
commit 41d69c2fa4
3 changed files with 27 additions and 18 deletions

View File

@@ -12,10 +12,11 @@ const (
)
type MediaFile struct {
Size int64
Length float64
Type string
Codec string
Size int64
Length float64
Type string
Codec string
Filename string
}
type Audio struct {
@@ -24,7 +25,6 @@ type Audio struct {
OriginalID uint // Original.ID
Source string // "original", "transcode"
Bps uint
Filename string
Status Status
}
@@ -33,7 +33,6 @@ type Video struct {
MediaFile
OriginalID uint // Original.ID
Source string // "original", "transcode"
Filename string
Width uint
Height uint
FPS float64