Skip to content

With new Multiple Files Export dialog user supplied Metadata applies only to the first exported file - and does not propagate to iTunes on import #5825

Open

Description

@petersampsonaudacity

Bug description

With new Multiple Files Export dialog (introduced in 3.4.x) user supplied Metadata applies only to the first exported file - it does not carry through to any further files exported as part of the multiple export.

This is a regression on 3.3.3 and earlier

Steps to reproduce

  1. generate a chirp
  2. add three point labels: A, B and C
  3. File > Export Audio
  4. Choose Multiple Files for the Export Range
  5. Click on the Edit Metadata button
  6. Add user data for the blank: Artist Name, Album Title, Year, Genre and Comments
  7. Click OK button - returns you to the Export dialog
  8. Click the Export button
  9. Observe: the first exported file has the full set of metadata
  10. Observe: the second and third files only have:
    a) Title - the B and C derived from the labels
    b) # or Number - 2 and 3derived from their export order
  11. Import the A, B and C files into iTunes
  12. Observe: the only metadata is the Song name: the A, B and C

Expected behavior

The user's metadata should propagate to the second and subsequent files in a multiple export sequence

Actual behavior

The user's metadata does NOT propagate to the second and subsequent files in a multiple export sequence

Audacity Version

All 3.4.x and latest 3.5.0 alpha

Operating system

Windows 10 but assume all OS

Additional context

Reported more than once on the Forum:
1, https://forum.audacityteam.org/t/metadata-for-multiple-tracks-not-working-as-before/88607
2.https://forum.audacityteam.org/t/i-no-longer-see-the-export-multiple-files-option/94274/3

See also: v3.4.0 Meta data set default not working on audio export #5494

WORKAROUND

Before exporting, go to Edit > Metadata and click "Set Default" button.

Activity

  1. added
    AU3-bug
    regression
    Design / UX
    on Dec 28, 2023
  2. petersampsonaudacity commented on Dec 28, 2023

    @petersampsonaudacity
    Author

    I also note that when I import the A file (the one with full metadata that Windows Explorer can see) into iTunes ONLY the song name is propogated through - the other metadata is nowhere to be seen !

  3. changed the title [-]With new Multiple Files Export dialog user supplied Metadata applies only to the first exported file[/-] [+]With new Multiple Files Export dialog user supplied Metadata applies only to the first exported file - and does not propgate to iTunes on import[/+] on Dec 28, 2023
  4. petersampsonaudacity commented on Dec 28, 2023

    @petersampsonaudacity
    Author

    @LWinterberg @dozzzzer @crsib

    Actually the lack of metadata propagation to iTunes seems to be a long-standing issue and not a regression - it certainly fails in 2.4.2

    Also fails with normal (not multiple) Export.

    Should I be logging this a a separate new issue ?

  5. changed the title [-]With new Multiple Files Export dialog user supplied Metadata applies only to the first exported file - and does not propgate to iTunes on import[/-] [+]With new Multiple Files Export dialog user supplied Metadata applies only to the first exported file - and does not propagate to iTunes on import[/+] on Dec 28, 2023
  6. jpgreen3 commented on Dec 31, 2023

    @jpgreen3

    'Export Audio' / metadata / ID tag issue - another cut at reproducing the issue in v 3.4.2, for what it is worth.

    1. Settings - Export Audio: Channels: Stereo; Sample Rate: 44100Hz; Bit Depth: 24bit; Level: 5; Export Range: Multiple 2. Files; Split files based on: Labels; Name Files: Numbering before Label/Track Name.
    2. Edit Metadata: Track Title and Track Number were automatically filled in with '1' and the track 1 label. All other fields are filled in manually; additional ID tag name entered in empty field at the bottom (Album Artist) and data entered.
    3. Clicked on 'Set Default' and 'OK'
    4. Set output Folder to a mapped local network drive / directory.
    5. Clicked on 'Export'
    6. The 'exporting files' dialog box appears multiple times - 8 times in this case, though there 9 labels / tracks in the project and nine files appear in the output directory.
    7. Only the track 1 file has the full complement of ID tags; Tracks 2-9 have only ID Tags 'TITLE' and 'Track' (rather than 'Track Title' and 'Track Number' as appeared in the Tag name field in the Edit Metadata tags dialog box.
    8. During Export, the Edit Metadata Tags dialog box never appeared, as was the case in prior versions of Audacity.
    9. Upon completion of the export, a dialog box appears showing the file names of the 9 files exported. Clicking 'OK' causes this box to disappear, as well as the 'Export Audio' dialog box.
    10. Again clicking 'File' and 'Export Audio' and 'Edit Metadata' brings up the 'Edit Metadata Tags' box, with the same limited content as it had in when opened in item 3 above. Since I clicked 'Set Default' I would expect the data I had entered to be retained as a permanent part of the project.
    11. 'Export other' - labels and MIDI options are grayed-out and not accessible.
    12. The workaround reported in the forum - select 'entire project' before editing the metadata / id tags, and clicking 'set default', then switching to 'multiple files' works (I left track title and track number blank, adding the other fields).
    13. Also, when using the workaround, the 'exporting files' dialog box appeared once for each file, not one less; and the metadata is retained with the project upon saving.
  7. petersampsonaudacity commented on Feb 20, 2024

    @petersampsonaudacity
    Author

    Now that the default metadata bug has been fixed for 3.5.0 - see #5494

    The workaround for the Multiple Export problem is to

    1. Edit > Metadata Editor
    2. Save the required metadata set as Default metadata
    3. File > Export Audio
    4. choose: Multiple Files
    5. Do NOT press the Metadata button in the export dialog
    6. Press the Export button to effect the multiple files export

    I have NOT documented this workaround in the manual.

    @LWinterberg please advise if #5825 is likely to be fixed or not.
    If no, then I will add the workaround in the manual.


    BUT this, I think, is what the desired behavior should be:

    IF: the user does change the metadata at Step 5
    THEN: that metadata should propagate for the export at step 6
    ELSE: default metadata (which may of course be blank) should propagate for the export at step 6

  8. petersampsonaudacity commented on Feb 21, 2024

    @petersampsonaudacity
    Author

    I added a note (an advice div with a workaround) in the manual - as I realized that the Export Multiple page was totally lacking a section on metadata, which I also added today:

    image

  9. added
    P3
    on Jun 10, 2024
  10. marcelloromani commented on Sep 29, 2024

    @marcelloromani

    I just tested bug and workaround

    Audacity Version: 3.6.4
    Audacity Commit Id: b17f97
    OS: MacOS Sequoia 15.0

    Workaround: metadata editor -> enter Artist Name, Albun Title, Year, Genre -> Set Default
    File -> export audio -> mp3 as multiple files, split by track -> DO NOT touch metadata -> all exported MP3 get correct metadata

  11. petersampsonaudacity commented on Feb 3, 2025

    @petersampsonaudacity
    Author

    This is still the case in 3.7.1 and latest 3.7.2 Beta

    Any chance this could be fixed for 3.7.2 please, as we have had several complaints about this on the Forum

  12. Boldairdev commented on Jul 10, 2025

    @Boldairdev

    This Issue is still not solved in 3.7.4

    I just tested the workaround:

    Load a bunch of file, go to Edit->Metadata Editor, Empty all fields and then Set Defaut, go to File->Export Audio, Mp3 as multiple files, split by track, Metadata untouched. All exported files come up with empty metadata.

    Retried a second time, this time without emptying the field and doing a 'Set Default' In the 'Metadata Editor', metadata in the exported files comes up with metadata from the last track added.

    So the bug is still there, the workaround does NOT work (at least for me, 3.7.4 on Win 10), maybe I'm doing something wrong ?)

    I can re-import the metadata from the file names using mp3tag, but that's a little time consuming, especially when working on hundreds of files. (my test was only on 10 files).

    A fix would be very much appreciated :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AU3-bugDesign / UXMetadataP3import-exportregression

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions