master
nixo 2019-05-21 19:23:53 +02:00
parent f463e41447
commit 0ededc292c
1 changed files with 2 additions and 1 deletions

View File

@ -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")