use AlbumName for playlist

pull/19/head
zhaarey 6 months ago
parent 578003a20b
commit eca24c17c6
  1. 2
      main.go

@ -679,7 +679,7 @@ func writeM4a(w *mp4.Writer, info *SongInfo, meta *AutoGenerated, data []byte, t
return err return err
} }
err = addMeta(mp4.BoxType{'\251', 'a', 'l', 'b'}, meta.Data[0].Attributes.Name) err = addMeta(mp4.BoxType{'\251', 'a', 'l', 'b'}, meta.Data[0].Relationships.Tracks.Data[index].Attributes.AlbumName)
if err != nil { if err != nil {
return err return err
} }

Loading…
Cancel
Save