music: add date class

Add a new Date class to represent both years and more fine-grained
dates extracted using the ExoPlayer metadata system.

In-app, the year is still shown, but sorting will use the new precision
when present. The MediaSession will also post an RFC 3339 formatted
date with this new precision, as the MediaSession documentation states
I should. No clue if the latter will cause any bugs with naive metadata
UIs in other apps.

Resolves #159.
This commit is contained in:
OxygenCobalt
2022-07-15 10:23:01 -06:00
parent 7833ec4460
commit d4f74784ba
14 changed files with 223 additions and 97 deletions
+1
View File
@@ -6,6 +6,7 @@
- Added option to ignore `MediaStore` tags, allowing more correct metadata
at the cost of longer loading times
- Added support for sort tags [#172, dependent on this feature]
- Added support for date tags, including more fine-grained dates [#159, dependent on this feature]
- Added Last Added sorting
## 2.5.0