mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-15 03:30:39 +03:00
Fix bug in compilation
tag parsing
This commit is contained in:
parent
99033fc55e
commit
654831f79d
@ -197,7 +197,7 @@ func (m *Metadata) parseTuple(tagName string) (int, int) {
|
||||
func (m *Metadata) parseBool(tagName string) bool {
|
||||
if v, ok := m.tags[tagName]; ok {
|
||||
i, _ := strconv.Atoi(v)
|
||||
return i == 0
|
||||
return i == 1
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user