Skip to content

v3.4.0 Metadata set default not working on audio export #5494

Closed

Description

@aschiefe

Bug description

In the previous versions you could set the metadata to default on exports and it would persist across projects, the current version this is not working

Steps to reproduce

  1. Export an audio and update the metadata
  2. Set the metadata as the default
  3. Export the audio from a different project and there will be no metadata

Expected behavior

The metadata should be default across all projects

Actual behavior

The metadata remains blank after setting it as the default

Audacity Version

latest stable version (from audacityteam.org/download)

Operating system

Windows

Additional context

I had upgraded from the previous version, do I require a full reinstall?

Activity

  1. added
    AU3-bug
    on Nov 4, 2023
  2. changed the title [-]v3,4,0 Meta data set default not working on audio export[/-] [+]v3.4.0 Meta data set default not working on audio export[/+] on Nov 4, 2023
  3. added
    P3
    Design / UX
    on Nov 5, 2023
  4. LWinterberg commented on Nov 5, 2023

    @LWinterberg
  5. removed
    Design / UX
    on Nov 13, 2023
  6. ddubovoy commented on Dec 22, 2023

    @ddubovoy

    The latest Audacity doesn't save extra metadata tags as default for new projects

    Reproduce

    1. Open Edit Metadata Tags
    2. Add a new empty tag
    3. Click on Set Default
    4. Click Ok
    5. Save project
    6. Open new project
    7. Open Edit Metadata Tags
    8. The new added tag is not there

    Tags are also not saved between projects if tag is imported from the template and then set as default. Then open new project and new tag will not be there.

  7. 2 remaining items

  8. petersampsonaudacity commented on Dec 28, 2023

    @petersampsonaudacity

    Testing shows that this is a regression on 3.3.3 and earlier

  9. krutarth-vaishnav commented on Jan 1, 2024

    @krutarth-vaishnav

    Can anyone please update when this issue will solve as I use this feature mainly across all of my projects. Otherwise, I'll need to downgrade audacity which I actually don't want.

  10. moved this to Ready for Review in [AU3] Main boardon Feb 17, 2024
  11. Mrodent commented on Feb 18, 2024

    @Mrodent

    There is a solution to this. It's hideously irritating that Audacity's designers mess around so much. This is a mature project, things should be much more stable.
    This (closed) thread gives some clues what you have to do now... but unfortunately the people there didn't have the rudimentary intelligence to explain the WHOLE procedure.

      1. on entering the Export Audio dialog, set the Export Range to "Entire Project" (even though later we'll be doing multiple...)
      1. click "Edit Metadata" and set items which must apply to all the tracks
      1. click OK to return to the Export Audio dialog
      1. at this point only, set the radio button to "Multiple Files"
      1. click "Edit Metadata" again: you should (hopefully) find that the common fields have all been set up and only the ones which vary from track to track are different.
  12. petersampsonaudacity commented on Feb 18, 2024

    @petersampsonaudacity

    There is a solution to this. It's hideously irritating that Audacity's designers mess around so much. This is a mature project, things should be much more stable.

    @Mrodent: you are not compelled to update to later versions of Audacity. I,myself (and I know Steve Daulton does too) find 2.4.2 to be a particularly good and stable version (provided one is aware of the of "pile-of-files" project structure. I like 2.4.2 for recording as it gives me good control over the levels with the old Nicer toolbar separate from the meters.

    This (closed) thread gives some clues what you have to do now... but unfortunately the people there didn't have the rudimentary intelligence to explain the WHOLE procedure.

    If I get some time this week I will try to test your workaround here. And if it works OK I'll update the 3,5.0 alpha Manual with it.

    Update:

    Though it looks like this may get fixed by this pull request from a user @dg-no-9
    #5976 Load default metadata if stored in the config

    It claims to fix this bug.

    You may care to test it with this branch build (you will need to use the scroll bar to scroll down to the build artifacts):
    https://github.com/audacity/audacity/actions/runs/7939116633

    Please report back if you do.


    Audacity is notoriously poor at its handling of metadata.

    When I was digitizing my LPs, singles and tapes I never bothered with metadata in Audacity - I just exported audio files, loaded them into iTunes and used iTunes to manage the metadata.

    See: #1464 Improved metadata handling in Audacity
    which includes a link to this thread.

    Peter.

  13. petersampsonaudacity commented on Feb 19, 2024

    @petersampsonaudacity

    @LWinterberg @dozzzzer @crsib @vsverchinsky

    Testing On W10 with @dg-no-9 's branch build for this audacity-win-3.5.0-alpha-20240217+b31a7b5-x64

    The default setting for Metadata tags is with this test branch properly stored, remembered and recalled.

    A) Basic test:

    1. launch the branch build
    2. Edit > Metadata Editor
    3. populate the fields
    4. Press the Set Default button
    5. Press OK button to confirm and exit the dialog
    6. Exit Audacity
    7. launch the branch build
    8. Edit > Metadata Editor
    9. Observe: all metadata tags are as set at steps 3-5

    image


    B) Export test

    1. After running the basic test
    2. Generate 30 second chirp
    3. File > Export Audio
    4. choose Entire Project
    5. do NOT use the Metadata button
    6. Click the Export button
    7. Observe: The metadata is passed through to the exported audio file

    image


    C) Multiple export test (using the default metadata settings)

    This mostly works but there are some wrinkles

    1. After running the simple whole project export test
    2. create three labels in the Chirp A, B & C
    3. File > Export Audio
    4. Choose Multiple Files
    5. do NOT use the Metadata button
    6. Click the Export button
    7. Observe: most metadata is carried through from the default metadata BUT the Year is missing

    image


    1. For the Export multiple missing "Year" I will not log this or explore it further until the default metadata fix makes it to master for 3.5.0

    2. I cannot comment on whether or not the "Comments" field gets carried through to either the simple whole project export or the multiple export as Windows Explorer fails to show such a field.

    3. although the metadata shows Widows Explorer - when I import the audio files from these tests into iTunes the metadata does NOT show up in the imported iTunes files. I do not think this is an Audacity problem - but I guess it may be

  14. petersampsonaudacity commented on Feb 19, 2024

    @petersampsonaudacity

    @LWinterberg @dozzzzer @crsib @vsverchinsky

    Further testing with Export Multiple shows another issue - one which may be reported/logged elsewhere.
    Basically if in multiple export you use the metadata button and edit the metadata then that metadata set only passes through to the first file exported - the succeeding files all get their metadata from th default metadata set

    D) Further multiple export test

    1. After running all three previous tests
    2. File > Export Audio
    3. Choose Multiple Files
    4. use the Metadata button
    5. change the metadata
    6. Click the Export button
    7. Observe: metadata from step 5 carries through to the first file - the A.wav
    8. Observe: metadata for B.wav and C.wav comes from the default metadata set as created in test a) step 3

    image

    image


    I'm not sure if we already effectively have this or a close cousin of this logged - I seem to recall that only the first file exported in a set of multiple files got metadata and for the subsequent files there was blank metadata (but of course before this branch build the default metadata was NOT being set, hence blank metadata in the subsequent files)

    So:
    4) as above in previous post I will not explore this further until this fix for default metadata makes it to master for 3.5.0

    BUT note carefully that this export multiple metadata is effectively a regression that was introduced with the new Export dialog introduced for 3.4 - as in previous versions with the File > Export > Export Multiple the metadata was managed properly for all files in the multiple export.

    Update

    Yes of course it's this one:

    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

  15. moved this from Ready for Review to Ready for QA in [AU3] Main boardon Feb 19, 2024
  16. moved this from Ready for QA to In QA in [AU3] Main boardon Feb 20, 2024
  17. dozzzzer commented on Feb 20, 2024

    @dozzzzer
    Contributor

    Tested

  18. moved this from In QA to Ready for merge in [AU3] Main boardon Feb 20, 2024
  19. moved this from Ready for merge to Done in [AU3] Main boardon Feb 20, 2024
  20. petersampsonaudacity commented on Feb 20, 2024

    @petersampsonaudacity

    Tested that this now works in the latest master for 3.5.0

    Which means that the workaround (if bug #5825 remains unfixed) 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 added the workaround to the #5825 bug thread.

    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.

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-bugMetadataP3import-exportregression

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions