Skip to content

Munge earlier, munge harder #20

@poddmo

Description

@poddmo

Apply ALBUMFILE, ARTISTFILE, TRACKFILE munging immediately after CDDB retrieval and use that normalised info for presentation, tagging and naming.

Example: diffs between CDDB choices will only differ by capitalisation. Eliminating that distraction leaves more attention for other details like track names, typos and punctuation. Apply normalised data to metadata, tags, cue sheet details and file names.

Examples of inconsistent capitals in cddbchoice diff:

Which entry would you like abcde to use? [0-4 or h for help]: 3,4
Showing diff between choices 3 and 4...
---- Lou Bega / Mambo No.5 (A Little Bit Of ...) (MCD) ----   | ---- Lou Bega / Mambo no.5 (a little bit of ?) ----
Year: 1999                                                      Year: 1999
Genre: Dance                                                  | Genre: Pop
1: Mambo No.5 (A Little Bit Of ...) (Radio Edit)              | 1: Mambo No.5 (A little bit of... ) [Radio Edit]
2: Mambo No.5 (A Little Bit Of ...) (Extended Mix)            | 2: Mambo No.5 (A little bit of...) [Extended Mix]
3: Mambo (Havanna Club Mix)                                   | 3: Mambo [Havanna club mix)
4: Mambo (The Trumpet)                                        | 4: Mambo (The trumpet)

Examples of inconsistent capitals in metadata

ffmpeg -i tmp/Lou\ Bega/Mambo\ No.\ 5\ \(A\ Little\ Bit\ Of...\)/01.Mambo\ No.\ 5\ \(A\ Little\ Bit\ Of...\)\ \(Radio\ Edit\).flac
Input #0, flac, from 'tmp/Lou Bega/Mambo No. 5 (A Little Bit Of...)/01.Mambo No. 5 (A Little Bit Of...) (Radio Edit).flac':
  Metadata:
    ARTIST          : Lou Bega
    ALBUM           : Mambo No. 5 (A Little Bit Of...)
    TITLE           : Mambo No. 5 (A Little Bit Of...) (Radio Edit)


cat tmp/Lou\ Bega/Mambo\ No.\ 5\ \(A\ Little\ Bit\ Of...\)/cue-2604e204.txt | grep -i radio
    TITLE "Mambo No. 5 (A Little Bit of...) (radio edit)"

One-track flac example:

ffmpeg -i flac/Lou\ Bega/Lou\ Bega-Mambo\ No.\ 5\ \(A\ Little\ Bit\ Of...\).flac
Input #0, flac, from 'flac/Lou Bega/Lou Bega-Mambo No. 5 (A Little Bit Of...).flac':
  Metadata:
    ARTIST          : Lou Bega
    ALBUM           : Mambo No. 5 (A Little Bit Of...)
    TITLE           : Mambo No. 5 (A Little Bit Of...)
    DATE            : 1999
    track           : 01
    TRACKTOTAL      : 01
    CDDB            : 2604e204
    CUESHEET        : PERFORMER "Lou Bega"
                    : TITLE "Mambo No. 5 (A Little Bit Of...)"
                    : FILE "Lou Bega-Mambo No. 5 (A Little Bit Of...).flac" WAVE
                    :   TRACK 01 AUDIO
                    :     INDEX 00 00:00:00
                    :     TITLE "Mambo No. 5 (A Little Bit of...) (radio edit)"
                    :     INDEX 01 00:00:32

Example is not representative of my music collection :)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions