mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-14 14:18:42 +01:00
Searching by artists, spike mode
This commit is contained in:
parent
29c2925a1c
commit
ef31d1aca0
9 changed files with 136 additions and 28 deletions
|
|
@ -38,7 +38,7 @@ func (c *StreamController) Prepare() {
|
|||
// TODO Still getting the "Conn.Write wrote more than the declared Content-Length" error.
|
||||
// Don't know if this causes any issues
|
||||
func (c *StreamController) Stream() {
|
||||
maxBitRate := c.ParamInt("maxBitRate")
|
||||
maxBitRate := c.ParamInt("maxBitRate", 0)
|
||||
maxBitRate = utils.MinInt(c.mf.BitRate, maxBitRate)
|
||||
|
||||
beego.Debug("Streaming file", c.id, ":", c.mf.Path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue