feat(song): add FLAC tags

This commit is contained in:
Mathis Maquenne
2024-10-14 16:22:44 +02:00
parent 68f0b5c3e4
commit cfa53da6ae
9 changed files with 210 additions and 108 deletions
+5 -6
View File
@@ -20,12 +20,11 @@ type Song struct {
Composers []string `json:"composer"`
Authors []string `json:"author"`
} `json:"SNG_CONTRIBUTORS"`
Duration string `json:"DURATION"`
Gain string `json:"GAIN"`
ISRC string `json:"ISRC"`
ExplicitLyrics string `json:"EXPLICIT_LYRICS"`
TrackNumber string `json:"TRACK_NUMBER"`
TrackToken string `json:"TRACK_TOKEN"`
Duration string `json:"DURATION"`
Gain string `json:"GAIN"`
ISRC string `json:"ISRC"`
TrackNumber string `json:"TRACK_NUMBER"`
TrackToken string `json:"TRACK_TOKEN"`
}
func (s *Song) GetMediaData(quality string) (*Media, error) {