Only apply audioStreamRx once
This commit is contained in:
parent
1365adbb39
commit
15ae3d47cf
1 changed files with 0 additions and 4 deletions
|
|
@ -154,10 +154,6 @@ func (e *Parser) parseInfo(info string) map[string][]string {
|
||||||
match = audioStreamRx.FindStringSubmatch(line)
|
match = audioStreamRx.FindStringSubmatch(line)
|
||||||
if len(match) > 0 {
|
if len(match) > 0 {
|
||||||
tags["bitrate"] = []string{match[7]}
|
tags["bitrate"] = []string{match[7]}
|
||||||
}
|
|
||||||
|
|
||||||
match = audioStreamRx.FindStringSubmatch(line)
|
|
||||||
if len(match) > 0 {
|
|
||||||
tags["channels"] = []string{e.parseChannels(match[4])}
|
tags["channels"] = []string{e.parseChannels(match[4])}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue