fix DiscNumber error

pull/22/head
zhaarey 5 months ago
parent b2bf894d03
commit 2ad4c03c03
  1. 4
      main_atmos.go
  2. 4
      main_select.go

@ -1353,8 +1353,8 @@ func rip(albumId string, token string, storefront string, userToken string) erro
"{SongId}", track.ID,
"{SongNumer}", fmt.Sprintf("%02d", trackNum),
"{SongName}", track.Attributes.Name,
"{DiscNumber}", string(track.Attributes.DiscNumber),
"{TrackNumber}", fmt.Sprintf("%02d", track.Attributes.TrackNumber),
"{DiscNumber}", fmt.Sprintf("%0d", track.Attributes.DiscNumber),
"{TrackNumber}", fmt.Sprintf("%0d", track.Attributes.TrackNumber),
"{Quality}", Quality,
"{Codec}", "Atmos",
"{Tag}", Tag_string,

@ -1362,8 +1362,8 @@ func rip(albumId string, token string, storefront string, userToken string) erro
"{SongId}", track.ID,
"{SongNumer}", fmt.Sprintf("%02d", trackNum),
"{SongName}", track.Attributes.Name,
"{DiscNumber}", string(track.Attributes.DiscNumber),
"{TrackNumber}", fmt.Sprintf("%02d", track.Attributes.TrackNumber),
"{DiscNumber}", fmt.Sprintf("%0d", track.Attributes.DiscNumber),
"{TrackNumber}", fmt.Sprintf("%0d", track.Attributes.TrackNumber),
"{Quality}", Quality,
"{Codec}", "ALAC",
"{Tag}", Tag_string,

Loading…
Cancel
Save