mirror of
https://github.com/zhaarey/apple-music-alac-atmos-downloader.git
synced 2026-01-15 14:22:53 -03:00
fix: cover embed
This commit is contained in:
2
main.go
2
main.go
@@ -578,8 +578,8 @@ func ripTrack(track *task.Track, token string, mediaUserToken string) {
|
||||
if err != nil {
|
||||
fmt.Println("Failed to write cover.")
|
||||
}
|
||||
tags = append(tags, fmt.Sprintf("cover=%s", track.CoverPath))
|
||||
}
|
||||
tags = append(tags, fmt.Sprintf("cover=%s", track.CoverPath))
|
||||
}
|
||||
tagsString := strings.Join(tags, ":")
|
||||
cmd := exec.Command("MP4Box", "-itags", tagsString, trackPath)
|
||||
|
||||
Reference in New Issue
Block a user