ExportXMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Normal
    • 3.0.3
    • Affects Version/s: None
    • Component/s: User Interface
    • None

      In picard/ui/cdlookup.py and isrcsubmitdialog.py, format_isrc() is used to format ISRCs for display.
      Currently, if raw metadata or CD reads provide valid ISRCs in lowercase (e.g. "usrc17607839") or without hyphens, format_isrc() skips formatting because _ISRC_RE strictly expects uppercase [A-Z], leaving them unformatted instead of displaying as "US-RC1-76-07839".
       
      Expected behavior:
      Valid ISRCs should be normalized (uppercased and stripped of hyphens/spaces) before validation and canonical hyphenation so any valid ISRC is consistently displayed in standard format (CC-XXX-YY-NNNNN).
       
      PR: https://github.com/metabrainz/picard/pull/3532

            Assignee:
            prsdx.dev@gmail.com
            Reporter:
            prsdx.dev@gmail.com
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                3.0.3