mirror of
https://git.sr.ht/~phw/scotty
synced 2025-05-03 23:17:05 +02:00
Support disc numbers
This commit is contained in:
parent
d810fc9cac
commit
0e3061e837
12 changed files with 32 additions and 0 deletions
|
@ -87,6 +87,7 @@ func SongToLove(song subsonic.Child, username string) models.Love {
|
|||
ReleaseName: song.Album,
|
||||
ArtistNames: []string{song.Artist},
|
||||
TrackNumber: song.Track,
|
||||
DiscNumber: song.DiscNumber,
|
||||
Tags: []string{song.Genre},
|
||||
AdditionalInfo: map[string]any{},
|
||||
Duration: time.Duration(song.Duration * int(time.Second)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue