Only apply audioStreamRx once

This commit is contained in:
Deluan 2021-09-20 19:32:24 -04:00 committed by Joe Stump
parent b881bf5df8
commit ecf65af3ae
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -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])}
}
}