Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect FLAC and M4A 'Title' Metadata Tag when Title of Track Has Special Characters #177

Closed
ebb-earl-co opened this issue Jun 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ebb-earl-co
Copy link
Owner

In order to avoid writing audio or video files to disk with illegal characters (especially on Windows), a number of characters are replaced. This should only affect the file name on disk, not the metadata tag (TITLE for FLAC; \xa9nam for M4A), however this seems not to be the case.

For example, the song/album with the title "02:07" (as in, a time of day) is incorrectly specifying the track's title metadata:
image

Input #0, flac, from '01 - 02:07 [CD].flac':
  Metadata:
    ALBUM           : 02:07
    album_artist    : Joep Beving;Maarten Vos
    REPLAYGAIN_ALBUM_PEAK: 0.893829
    REPLAYGAIN_ALBUM_GAIN: -0.47
    ARTIST          : Joep Beving;Maarten Vos
    ARTISTS         : Joep Beving;Maarten Vos
    BARCODE         : 840427243532
    COPYRIGHT       : Sonderling BV & Maarten Vos Music, under exclusive license to LEITER
    DATE            : 2024-05-31
    ISRC            : DEXN82434865
    MEDIA           : Digital Media
    TITLE           : 02 -07
    REPLAYGAIN_TRACK_PEAK: 0.893829
    REPLAYGAIN_TRACK_GAIN: -0.47
    COMPOSER        : Joep Beving;Maarten Vos
    PRODUCER        : Joep Beving;Maarten Vos
    COMMENT         : http://www.tidal.com/track/361515597
    DISCTOTAL       : 1
    DISC            : 1
    TRACKTOTAL      : 1
    track           : 1
  Duration: 00:03:20.76, start: 0.000000, bitrate: 561 kb/s
  Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
    Side data:
      replaygain: track gain - -0.470000, track peak - 0.000021, album gain - -0.470000, album peak - 0.000021, 
  Stream #0:1: Video: mjpeg (Progressive), yuvj444p(pc, bt470bg/unknown/unknown), 1280x1280 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn (attached pic)
    Metadata:
      comment         : Cover (front)
      title           : Album Cover

Notice that the ALBUM metadata value is unaffected; it's the TITLE value that is incorrect.

@ebb-earl-co ebb-earl-co added the bug Something isn't working label Jun 2, 2024
@ebb-earl-co ebb-earl-co self-assigned this Jun 2, 2024
@ebb-earl-co
Copy link
Owner Author

This should be fixed with #179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant