mirror of
https://github.com/gabehf/music-importer.git
synced 2026-04-22 11:31:52 -07:00
i don't remember
This commit is contained in:
parent
c7d6a088ed
commit
4324de1271
6 changed files with 98 additions and 48 deletions
|
|
@ -220,9 +220,10 @@ func tagWithBeets(path, mbid string) error {
|
|||
defer os.Remove(logPath)
|
||||
|
||||
args := []string{"import", "-Cq", "-l", logPath}
|
||||
if mbid != "" {
|
||||
args = append(args, "--search-id", mbid)
|
||||
}
|
||||
// passing mbid to beet removed temporarily
|
||||
// if mbid != "" {
|
||||
// args = append(args, "--search-id", mbid)
|
||||
// }
|
||||
args = append(args, path)
|
||||
if err := runCmd("beet", args...); err != nil {
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue