10-19-2023, 01:41 PM
Ok, I've now had a look at the sample files.
The metadata in the .ape tracks is contained in a block at the end delimited by "APETAGEX", which is correct for APEv2 tagging, and the date field we're interested in is named "Year" as Al surmised.
The world of music metadata is a swamp. As best I have been able to determine, "Year" is accepted by a number of software apps as denoting in APEv2 what "TDAT" denotes in ID3v2 (example: MP3) and what "DATE" denotes in Vorbis (example: FLAC). This is even shown explicitly in the Tag Mapping Table used by MusicBrainz's Picard.
Apparently the APE decoder in MPD doesn't agree. Here's the metadata contained in the MPD database for one of the .ape sample files which is tagged with the Year 1970:
The best approach, albeit the most arduous, is to get the MPD devs to agree and adjust its decoder. (I've been down that route before. It's possible to prevail but it takes stamina.) Alternatively, one might try hacking to find out what the current APE decoder expects and adjust the track files appropriately. (This doesn't appeal to me.) My personal approach would be to transcode everything to FLAC and fix the metadata there.
Interesting music, by the way.
Regards,
Kent
The metadata in the .ape tracks is contained in a block at the end delimited by "APETAGEX", which is correct for APEv2 tagging, and the date field we're interested in is named "Year" as Al surmised.
The world of music metadata is a swamp. As best I have been able to determine, "Year" is accepted by a number of software apps as denoting in APEv2 what "TDAT" denotes in ID3v2 (example: MP3) and what "DATE" denotes in Vorbis (example: FLAC). This is even shown explicitly in the Tag Mapping Table used by MusicBrainz's Picard.
Apparently the APE decoder in MPD doesn't agree. Here's the metadata contained in the MPD database for one of the .ape sample files which is tagged with the Year 1970:
Code:
pi@Sunroom:~ $ telnet localhost 6600
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
OK MPD 0.23.5
currentsong
file: USB/KAR01/AliceColtrane/01 - Ptah, The El Daoud.ape
Last-Modified: 2017-11-18T22:10:08Z
Format: 44100:16:2
Artist: Alice Coltrane
Album: Ptah, The El Daoud
Title: Ptah, The El Daoud
Track: 1
Genre: Jazz
Comment: EAC (Secure Mode) / Monkey's Audio 3.99
Time: 837
duration: 836.733
Pos: 41
Id: 42
OK
The best approach, albeit the most arduous, is to get the MPD devs to agree and adjust its decoder. (I've been down that route before. It's possible to prevail but it takes stamina.) Alternatively, one might try hacking to find out what the current APE decoder expects and adjust the track files appropriately. (This doesn't appeal to me.) My personal approach would be to transcode everything to FLAC and fix the metadata there.
Interesting music, by the way.
Regards,
Kent