music: accept zero positions with non-zero totals

Accept positions that are zeroed, but only if there are non-zero total
values as well.

Sometimes zeroed positions are deliberate, but other times they are
placeholders meant to indicate a lack of a position. To resolve this,
Auxio now considers zeroed track/disc numbers in the presence of
non-zero track/disc numbers to be valid.
This commit is contained in:
Alexander Capehart
2023-01-21 16:49:17 -07:00
parent 240b4d6b2a
commit 82a64b5e17
5 changed files with 92 additions and 26 deletions
+6
View File
@@ -1,5 +1,11 @@
# Changelog
## dev
#### What's Improved
- Auxio will now accept zeroed track/disc numbers in the presence of non-zero total
track/disc fields.
## 3.0.2
#### What's New