From 0ededc292c6c50f1bd765a557ea7b1915a6691cf Mon Sep 17 00:00:00 2001 From: nixo Date: Tue, 21 May 2019 19:23:53 +0200 Subject: [PATCH] fixup --- JlSonic/api.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JlSonic/api.jl b/JlSonic/api.jl index 1f01fa9..23c9162 100644 --- a/JlSonic/api.jl +++ b/JlSonic/api.jl @@ -523,7 +523,8 @@ function giveconverted(file, bitrate, format) # headers["Content-Length"] = string(length(data)) return Dict(:body => take!(iodata), :headers => headers, - :file => ) + :file => join([split(filename(file), '.')[1:end-1], + ".oga"],"")) end function convert(infile; bitrate = 64, format = "oga")