Use originaldate/originalyear tag for album year if it exists
Created by: dotreloaded
I synced some of my albums up with the musicbrainz db. The albums now have an originaldate tag of the date the album first came out, as well as a date and/or year tag of the year this release of the album came out.
Lollypop currently uses the date or year tag and ignores the originaldate tag. This messes up the chronological order when you click on the current track to get a list of an artist's albums. Request is to use originaldate for this if it exists. Year will need to be parsed from originaldate value. There is also an originalyear tag that musicbrainz uses that should also be looked for.
This shouldn't be used for compilations/anthologies though, because I've seen the originaldate/originalyear tags for those kinds of releases used to mark when a song, rather than an album, originally came out and so they can have all kinds of different values.