Skip to content

Commit

Permalink
use AlbumName for playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaarey committed May 6, 2024
1 parent 578003a commit eca24c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ func writeM4a(w *mp4.Writer, info *SongInfo, meta *AutoGenerated, data []byte, t
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 {
return err
}
Expand Down

0 comments on commit eca24c1

Please sign in to comment.