jspf: write duration to exported JSPF

This commit is contained in:
Philipp Wolfer 2025-05-01 13:48:21 +02:00
parent 588a6cf96f
commit 443734e4c7
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
2 changed files with 2 additions and 1 deletions

View file

@ -150,6 +150,7 @@ func trackAsTrack(t models.Track) jspf.Track {
Album: t.ReleaseName,
Creator: t.ArtistName(),
TrackNum: t.TrackNumber,
Duration: t.Duration.Milliseconds(),
Extension: map[string]any{},
}