typo
Some checks failed
Release / Lint and test (push) Failing after 17m37s
Release / Notify IRC (push) Has been skipped
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Nightly Release / Check latest commit (push) Successful in 17s
Nightly Release / Build and release Docker image (push) Has been skipped
Nightly Release / Lint and test (push) Has been skipped
Some checks failed
Release / Lint and test (push) Failing after 17m37s
Release / Notify IRC (push) Has been skipped
Release / Run Release Please (push) Has been skipped
Release / Build, tag, and publish Docker image (push) Has been skipped
Nightly Release / Check latest commit (push) Successful in 17s
Nightly Release / Build and release Docker image (push) Has been skipped
Nightly Release / Lint and test (push) Has been skipped
This commit is contained in:
@@ -86,12 +86,12 @@ func (i *info) ReplayGainAlbumPeak() float32 { return 0 }
|
||||
|
||||
func (i *info) Length() int {
|
||||
ret, _ := strconv.ParseFloat(i.mediaInfo.Format.Duration, 64)
|
||||
return int(ret / 1024)
|
||||
return int(ret)
|
||||
}
|
||||
|
||||
func (i *info) Bitrate() int {
|
||||
ret, _ := strconv.Atoi(i.mediaInfo.Format.BitRate)
|
||||
return ret
|
||||
return ret / 1024
|
||||
}
|
||||
|
||||
func (i *info) AbsPath() string { return i.abspath }
|
||||
|
||||
Reference in New Issue
Block a user