mirror of
https://git.sr.ht/~phw/scotty
synced 2025-05-04 07:27:05 +02:00
Support disc numbers
This commit is contained in:
parent
d810fc9cac
commit
0e3061e837
12 changed files with 32 additions and 0 deletions
|
@ -221,6 +221,7 @@ func (t Track) ToTrack() models.Track {
|
|||
ArtistNames: make([]string, 0, len(t.Artists)),
|
||||
Duration: time.Duration(t.DurationMs * int(time.Millisecond)),
|
||||
TrackNumber: t.TrackNumber,
|
||||
DiscNumber: t.DiscNumber,
|
||||
Isrc: t.ExternalIds.ISRC,
|
||||
AdditionalInfo: map[string]any{},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue