feat: update track duration using musicbrainz

This commit is contained in:
Gabe Farrell 2025-06-26 15:41:50 -04:00
parent 1425f7f416
commit 23dd5fa05d
5 changed files with 443 additions and 10 deletions

View file

@ -8,7 +8,8 @@ import (
)
type MusicBrainzTrack struct {
Title string `json:"title"`
Title string `json:"title"`
LengthMs int `json:"length"`
}
const recordingFmtStr = "%s/ws/2/recording/%s"