music: add more failsafes to loading process

Add even more checks and guards to the music loading process to ensure
proper metadata loading.

Auxio has always had issues handling track numbers and years, mostly
with ensuring their validity. This change resolves them by more or less
surrounding them with gobs of null-checks and fallible parsing
routines, which should help avoid frustrating bugs and crashes with
metadata in the future.

Resolves #88.
Resolves #84.
This commit is contained in:
OxygenCobalt
2022-03-01 19:52:28 -07:00
parent dbe0bd1bb3
commit 1e39ceb9fc
13 changed files with 148 additions and 156 deletions
+4 -3
View File
@@ -11,12 +11,13 @@
#### What's Fixed
- Fixed crash on certain devices running Android 10 and lower when a differing theme
from the system theme was used.
from the system theme was used [#80]
- Fixed music loading failure that would occur when certain paths were parsed [#84]
- Fixed incorrect track numbers when the tag was formatted as NN/TT [#88]
- Fixed years deliberately set as "0" showing up as "No Date"
#### What's Changed
- All cover art is now cropped to a 1:1 aspect ratio
- Song items no longer show an album in favor of a duration
- Album items no longer show a song count
#### Dev/Meta
- Enabled elevation drop shadows below Android P for consistency