mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-06 14:07:36 +03:00
Add sampleRate to the DB
This commit is contained in:
parent
472324e280
commit
f3bb022238
5 changed files with 91 additions and 56 deletions
model
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue