Skip to content

Commit

Permalink
Merge pull request #40 from itouakirai/main
Browse files Browse the repository at this point in the history
fix albumartist missing
  • Loading branch information
zhaarey authored Jan 16, 2025
2 parents 4485075 + e0986a4 commit 395709f
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 @@ -854,7 +854,7 @@ func writeMP4Tags(trackPath string, meta *structs.AutoGenerated, trackNum, track
t := &mp4tag.MP4Tags{
Title: meta.Data[0].Relationships.Tracks.Data[index].Attributes.Name,
TitleSort: meta.Data[0].Relationships.Tracks.Data[index].Attributes.Name,
//AlbumArtist: meta.Data[0].Attributes.ArtistName,
AlbumArtist: meta.Data[0].Attributes.ArtistName,
AlbumArtistSort: meta.Data[0].Attributes.ArtistName,
Artist: meta.Data[0].Relationships.Tracks.Data[index].Attributes.ArtistName,
ArtistSort: meta.Data[0].Relationships.Tracks.Data[index].Attributes.ArtistName,
Expand Down

0 comments on commit 395709f

Please sign in to comment.