[Cog 3074] Inconsistent Year listed in playlist, format is based on file type
Describe In the playlist, MP3s display the date as just the year (ex. 2025) whereas FLACs display the actual date specified in the metadata (ex. 20250314).
I manually set the date metadata for all my music to be YYYYMMDD. Cog displays this right for my FLACs, but not my MP3s.
To Reproduce
- For an MP3 and FLAC file, set the date metadata to be 20250314.
- Add the two songs to the playlist
- Verify that the MP3 shows "2025" while the FLAC shows "20250314".
Expected behavior Personally, I would prefer Cog to show the exact date listed in the file's metadata. But that's because I ensure my music has high quality, consistent metadata.
Screenshots
Version information:*
- macOS version: 15.3.2
- Cog version: 3074
The MP3 tag reader reads exactly the year, the fact the others read the rest of the date is just a fluke. I will look into doing full tag reading eventually, but the TagLib library doesn't read the full date either, only the year, as a number and not a string.