Skip to content

Commit

Permalink
Merge pull request #103 from brotherlogic/add_album
Browse files Browse the repository at this point in the history
Adds album title
  • Loading branch information
brotherlogic committed Mar 5, 2019
2 parents 01c9aff + cf27207 commit 8dce704
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cdprocessorutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ func (s *Server) makeLinks(ctx context.Context, ID int32) error {
s.ripper.runCommand(ctx, []string{"ln", "-s", fmt.Sprintf("%v%v/track%v.cdda.mp3", s.dir, record.GetRelease().Id, expand(subtrack.Position)), fmt.Sprintf("%v%v", s.mp3dir, record.GetRelease().Id)})
s.ripper.runCommand(ctx, []string{"mp3info", "-n", fmt.Sprintf("%v", subtrack.Position), fmt.Sprintf("%v%v/track%v.cdda.mp3", s.mp3dir, record.GetRelease().Id, expand(subtrack.Position))})
s.ripper.runCommand(ctx, []string{"mp3info", "-t", fmt.Sprintf("%v", subtrack.Title), fmt.Sprintf("%v%v/track%v.cdda.mp3", s.mp3dir, record.GetRelease().Id, expand(subtrack.Position))})
s.ripper.runCommand(ctx, []string{"mp3info", "-l", fmt.Sprintf("%v", record.GetRelease().Title), fmt.Sprintf("%v%v/track%v.cdda.mp3", s.mp3dir, record.GetRelease().Id, expand(subtrack.Position))})
}

}
Expand Down

0 comments on commit 8dce704

Please sign in to comment.