Add sampleRate to the DB

This commit is contained in:
Deluan
2024-05-11 17:44:05 -04:00
committed by Deluan Quintão
parent 472324e280
commit f3bb022238
5 changed files with 91 additions and 56 deletions
+1
View File
@@ -43,6 +43,7 @@ type MediaFile struct {
Suffix string `structs:"suffix" json:"suffix"`
Duration float32 `structs:"duration" json:"duration"`
BitRate int `structs:"bit_rate" json:"bitRate"`
SampleRate int `structs:"sample_rate" json:"sampleRate"`
Channels int `structs:"channels" json:"channels"`
Genre string `structs:"genre" json:"genre"`
Genres Genres `structs:"-" json:"genres"`