I’m working on a tool to create NFO files for Kodi music videos and have made great progress thanks to community members here. However in the course of my debugging I hit a snag searching for a-ha’s “Take On Me”. The first release I’m looking for is the album “Hunting High and Low” which can be found here:
has that release-group with a first-release-date of ‘1984’ instead of ‘1985-06-01’ which means when I filter the releases none of them fall within the year.
For now I’m going to work on code to change the first-release-date to match the lowest date of the releases but I’m curious:
Can I edit the first-release-date directly?
Can’t a data pass be run to batch correct these across the database?
A recording doesn’t belong to a release group. It is linked to track’s on releases, and this recording appears on both the 1984 single and on the 1985 album “Hunting High and Low”. On the recording page you see a full list of releases this recording is linked to.
The recording has a first release date set from the earliest release, so 1984 in this case.
The release group also has a first release date. This comes from the earliest release inside the group, so in the case of this album it is 1985-06-01.
If you are looking for the first album release only you could query the details of the recording with releases and release groups included and filter the result by album types (and probably only those with official status).
I gotcha, since I’m excluding non-Albums I’m not seeing that record. I just wrote code to re-calculate the first-release-date based on my result set and that’s working great. Sorry for the cofusion and thanks so much for your help!