diff --git a/JlSonic/api.jl b/JlSonic/api.jl index 0627433..1be741c 100644 --- a/JlSonic/api.jl +++ b/JlSonic/api.jl @@ -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()