Only apply audioStreamRx once

This commit is contained in:
Deluan 2021-09-20 19:32:24 -04:00 committed by Deluan Quintão
parent 1365adbb39
commit 15ae3d47cf
1 changed files with 0 additions and 4 deletions

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