mirror of
https://github.com/navidrome/navidrome.git
synced 2026-08-01 07:21:17 +00:00
Only apply audioStreamRx once
This commit is contained in:
parent
b881bf5df8
commit
ecf65af3ae
@ -154,10 +154,6 @@ func (e *Parser) parseInfo(info string) map[string][]string {
|
||||
match = audioStreamRx.FindStringSubmatch(line)
|
||||
if len(match) > 0 {
|
||||
tags["bitrate"] = []string{match[7]}
|
||||
}
|
||||
|
||||
match = audioStreamRx.FindStringSubmatch(line)
|
||||
if len(match) > 0 {
|
||||
tags["channels"] = []string{e.parseChannels(match[4])}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user