Page 1 of 1

Metadata

Posted: Thu Apr 18, 2013 7:34 pm
by rj7500
Can the Metadata window be turned off in Audacity 3.0?

Bob H

Re: Metadata

Posted: Fri Apr 19, 2013 2:10 am
by steve
There isn't an Audacity 3. I presume that you mean Audacity 2.0.3.
The automatic pop-up of the Metadata Editor on export can be turned off in preferences.
You will find the setting in: "Edit menu > Preferences > Import / Export"

Re: Metadata

Posted: Fri Apr 19, 2013 4:05 pm
by Edgar
rj7500 wrote:Can the Metadata window be turned off
This seems to be a discoverability issue - I was just offered money to create a build of Audacity which had the Metadata window turned off. When I pointed out that the ability already existed in Preferences the company's reply was something like "Oh, we had never seen that. That will do the job."

We already have a number of dialogues which have a "Don't show me again" checkbox - may be the Metadata dialog should have one as well.

Re: Metadata

Posted: Fri Apr 19, 2013 4:09 pm
by steve
Edgar wrote:We already have a number of dialogues which have a "Don't show me again" checkbox - may be the Metadata dialog should have one as well.
Personally I'd be against that unless we also have an option to not write metadata.
Currently, if there is metadata in the project, then it is written to the exported file, whether or not the Metadata Editor is shown.

I'd be in favour of "Don't show again" if there was also an option to not write metadata.

Re: Metadata

Posted: Sat Apr 20, 2013 4:20 pm
by Edgar
steve wrote:
Edgar wrote: "Don't show me again" checkbox - may be the Metadata dialog should have one as well.
I'd be in favour of "Don't show again" if there was also an option to not write metadata.
+1 been bitten by this numerous times - trivial code write

Re: Metadata

Posted: Sat Apr 20, 2013 5:53 pm
by Edgar
This would need some beta testing to ensure that it works for all the formats which may write Metadata…
metadata.png
metadata.png (94.55 KiB) Viewed 2988 times
add this code to srcprefsImportExportPrefs.cpp about line number 80:

Code: Select all

         S.TieRadioButton(_("&Use custom mix (for example to export a 5.1 multichannel file)"),
                          false);
      }
      S.EndRadioButtonGroup();
      
      S.AddSpace(20);//new code
      S.TieCheckBox(_("S&how Metadata Editor prior to export step"),
                    wxT("/AudioFiles/ShowId3Dialog"),
                    true);
      S.TieCheckBox(_("If Metadata Editor is not shown do not write any metadata"),
                    wxT("/AudioFiles/NoWriteMetadata"),
                    false);//new code
      S.AddSpace(20);//new code

      S.AddFixedText(_("Note: Export quality options can be chosen by clicking the Optionsnbutton in the Export dialog."));
(As usual, I have included a little bit of preceding and trailing code for context).

Change this code in srcexportExport.cpp about line number 167:

Code: Select all

void ExportPlugin::SetCanMetaData(bool canmetadata, int index)
{
   if (gPrefs->Read(wxT("/AudioFiles/ShowId3Dialog"), true))//new code
      mFormatInfos[index].mCanMetaData = canmetadata;
   else//new code
      canmetadata = false;//new code
}

Re: Metadata

Posted: Thu Apr 25, 2013 9:06 am
by Gale Andrews
There is a P3 bug open to sort all this mess out including passing metadata through to each track without showing a metadata window for each track (and without having to find the Editor in File Menu to enter the data before export and then find the Preference to stop the editor displaying on export); also to remove the Preference and choose to show the editor/write metadata or not in the Export and Export Multiple dialogues.


Gale