ID3 tagging

Bug #1179377 reported by Björn Torkelsson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Audio Recorder
New
Undecided
Unassigned

Bug Description

Hi,

At least when recording to mp3 it would be nice if Audio Recorder also adds ID3-tags to the files, from the information it has available.

Revision history for this message
moma (osmoma) wrote :

Hello,
Here is an easy solution to this question.
We could use the "id3tool". It is a command line program with many options to edit audio tags.
 $ sudo apt-get install id3tool

 $ id3tool --help

 id3tool [<options>] <filename>
  -t, --set-title=WORD Sets the title to WORD
  -a, --set-album=WORD Sets the album to WORD
  -r, --set-artist=WORD Sets the artist to WORD
  -y, --set-year=YEAR Sets the year to YEAR [4 digits]
  -n, --set-note=WORD Sets the note to WORD
  -g, --set-genre=INT Sets the genre code to INT
  -G, --set-genre-word=WORD Sets the genre to WORD
  -c, --set-track=INT Sets the track number to INT
  -l, --genre-list Shows the Genre's and their codes
  -v, --version Displays the version
  -h, --help Displays this message

The src/utility.c module has couple of functions that can spawn (run) the id3tool command with arguments, like
GPid exec_command_async(gchar **argv, GError **error);
and
gboolean run_simple_command(gchar *cmd, gchar *args);

gchar *find_command_path(gchar *command);
This function can be used to find the "id3tool" command itself. Audio-recorder would not reports errors if the "id3tool" isis missing. Thought, there should be a some kind of message of this in the [Settings] dialog.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.