Metadata

This read-only archive contains discussions from the Adding Feature forum.
New feature request may be posted to the Adding Feature forum.
Technical support is available via the Help forum.
Locked
rj7500
Posts: 259
Joined: Tue Jun 02, 2009 6:42 pm
Operating System: Windows 10

Metadata

Post by rj7500 » Thu Apr 18, 2013 7:34 pm

Can the Metadata window be turned off in Audacity 3.0?

Bob H

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Metadata

Post by steve » Fri Apr 19, 2013 2:10 am

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"
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Metadata

Post by Edgar » Fri Apr 19, 2013 4:05 pm

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.

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Metadata

Post by steve » Fri Apr 19, 2013 4:09 pm

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.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Metadata

Post by Edgar » Sat Apr 20, 2013 4:20 pm

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

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Metadata

Post by Edgar » Sat Apr 20, 2013 5:53 pm

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 2987 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
}

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Metadata

Post by Gale Andrews » Thu Apr 25, 2013 9:06 am

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
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Locked