[Cog 3074] Inconsistent Year listed in playlist, format is based on file type #426

Open
opened 2025-03-14 12:44:42 -03:00 by evanmohr · 1 comment
evanmohr commented 2025-03-14 12:44:42 -03:00 (Migrated from github.com)

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

  1. For an MP3 and FLAC file, set the date metadata to be 20250314.
  2. Add the two songs to the playlist
  3. 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

Image

Version information:*

  • macOS version: 15.3.2
  • Cog version: 3074
**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** 1. For an MP3 and FLAC file, set the date metadata to be 20250314. 2. Add the two songs to the playlist 3. 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** <img width="101" alt="Image" src="https://github.com/user-attachments/assets/c009415d-3597-4b7d-98b9-1e60b80e585f" /> **Version information:*** - macOS version: 15.3.2 - Cog version: 3074
kode54 commented 2025-03-14 17:58:34 -03:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: chris/Cog#426
No description provided.