This pull request addresses the feature request to add "album release year" as a separate metadata field. However, after investigation and testing, it was determined that this feature cannot be implemented due to the absence of a dedicated ID3 tag for "album release year."
Analysis:
Existing Metadata: The ID3 tag TDRC already covers both "year" and "date" information, effectively including the album's release date and, implicitly, the release year.
ID3 Standard Limitations: The ID3 standard does not define a separate tag specifically for "album release year."
Redundancy: Adding a custom tag or attempting to repurpose existing tags could lead to redundancy or compatibility issues with different media players and ID3 tag editors.
Testing Attempts:
Adding to MP3_TAG_PRESET: Attempting to add a new key-value pair "album_release_year": "TDRL" to the MP3_TAG_PRESET dictionary did not work as "TDRL" is not a recognized ID3 tag.
Adding to TAG_TO_SONG: Including the mapping "albumreleaseyear": "album_release_year" in the TAG_TO_SONG dictionary had no effect, as the underlying issue is the lack of a dedicated ID3 tag.
Explicit Embedding: Trying to directly embed the album_release_year using audio_file.add(TDRC(...)) resulted in the same TDRC tag being used, which already stores the release date information.
Verification:
The metadata of the generated audio files was checked using Apple Music, and no new field for "album release year" was observed. This confirms that the existing ID3 tags and structure are not suitable for adding this feature as a separate field.
Conclusion:
Due to the limitations of the ID3 standard and the existing coverage of release date information within the TDRC tag, the feature request to add a separate "album release year" field cannot be implemented. The current metadata embedding process already captures the necessary release date information, including the year, within the existing tags.
Analysis of Album Release Year Feature Request
Summary:
This pull request addresses the feature request to add "album release year" as a separate metadata field. However, after investigation and testing, it was determined that this feature cannot be implemented due to the absence of a dedicated ID3 tag for "album release year."
Analysis:
Existing Metadata: The ID3 tag TDRC already covers both "year" and "date" information, effectively including the album's release date and, implicitly, the release year.
ID3 Standard Limitations: The ID3 standard does not define a separate tag specifically for "album release year."
Redundancy: Adding a custom tag or attempting to repurpose existing tags could lead to redundancy or compatibility issues with different media players and ID3 tag editors.
Testing Attempts:
Adding to MP3_TAG_PRESET: Attempting to add a new key-value pair
"album_release_year": "TDRL"
to the MP3_TAG_PRESET dictionary did not work as "TDRL" is not a recognized ID3 tag.Adding to TAG_TO_SONG: Including the mapping
"albumreleaseyear": "album_release_year"
in the TAG_TO_SONG dictionary had no effect, as the underlying issue is the lack of a dedicated ID3 tag.Explicit Embedding: Trying to directly embed the album_release_year using
audio_file.add(TDRC(...))
resulted in the same TDRC tag being used, which already stores the release date information.Verification:
The metadata of the generated audio files was checked using Apple Music, and no new field for "album release year" was observed. This confirms that the existing ID3 tags and structure are not suitable for adding this feature as a separate field.
Conclusion:
Due to the limitations of the ID3 standard and the existing coverage of release date information within the TDRC tag, the feature request to add a separate "album release year" field cannot be implemented. The current metadata embedding process already captures the necessary release date information, including the year, within the existing tags.