fix wrong bitrate

master
nixo 2019-05-21 19:15:49 +02:00
parent 915d21eff2
commit 79160856f8
1 changed files with 1 additions and 1 deletions

View File

@ -546,7 +546,7 @@ function stream(req::Dict)
@error e
end
# Ogg is not compativle with lower bitrates. Use something else?
bitrate = bitrate < 64 ? 64 : bitrate
bitrate = (bitrate != 0 && bitrate < 64) ? 64 : bitrate
format = get(query, "format", "oga")
songs = Beets.songs()