mirror of
https://github.com/zhaarey/apple-music-downloader.git
synced 2025-10-23 15:11:05 +00:00
remove -hint
for latest gapc, atmos no incorrect file information
This commit is contained in:
6
main.go
6
main.go
@@ -621,11 +621,7 @@ func downloadTrack(trackNum int, trackTotal int, meta *structs.AutoGenerated, tr
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
tagsString := strings.Join(tags, ":")
|
tagsString := strings.Join(tags, ":")
|
||||||
args := []string{"-itags", tagsString, trackPath}
|
cmd := exec.Command("MP4Box", "-itags", tagsString, trackPath)
|
||||||
if dl_atmos {
|
|
||||||
args = append(args, "-hint")
|
|
||||||
}
|
|
||||||
cmd := exec.Command("MP4Box", args...)
|
|
||||||
if err := cmd.Run(); err != nil {
|
if err := cmd.Run(); err != nil {
|
||||||
fmt.Printf("Embed failed: %v\n", err)
|
fmt.Printf("Embed failed: %v\n", err)
|
||||||
counter.Error++
|
counter.Error++
|
||||||
|
|||||||
Reference in New Issue
Block a user