summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhimport/importer.go6
-rw-r--r--rhimport/normalizer.go2
2 files changed, 2 insertions, 6 deletions
diff --git a/rhimport/importer.go b/rhimport/importer.go
index 518b242..5f2f40d 100644
--- a/rhimport/importer.go
+++ b/rhimport/importer.go
@@ -436,11 +436,7 @@ func cleanupFiles(ctx *Context, res *Result) {
}
}
} else {
- if strings.HasPrefix(ctx.SourceFile, ctx.conf.LocalFetchDir) {
- res.SourceFile = "local://" + strings.TrimPrefix(ctx.SourceFile, ctx.conf.LocalFetchDir)
- } else if strings.HasPrefix(ctx.SourceFile, ctx.conf.TempDir) {
- res.SourceFile = "tmp://" + strings.TrimPrefix(ctx.SourceFile, ctx.conf.TempDir)
- }
+ res.SourceFile = "tmp://" + strings.TrimPrefix(ctx.SourceFile, ctx.conf.TempDir)
}
return
}
diff --git a/rhimport/normalizer.go b/rhimport/normalizer.go
index 3730929..15f71ed 100644
--- a/rhimport/normalizer.go
+++ b/rhimport/normalizer.go
@@ -39,7 +39,7 @@ func NormalizeFile(ctx *Context) (err error) {
return
}
- rhl.Printf("NormalizeFile: using gain = %.2fdB", ctx.LoudnessCorr)
+ rhl.Printf("NormalizeFile: using gain = %.2f dB", ctx.LoudnessCorr)
ctx.NormalizationLevel = 0 // don't do double normalization
var src *os.File