Forrest logo
back to the mp3info tool

mp3info:tldr:c6dce

mp3info: Set the music genre for a specific MP3 file.
$ mp3info -g ${genre_number} ${filename-mp3}
try on your machine

The command mp3info -g ${genre_number} ${filename-mp3} is used to update or retrieve the genre metadata of an MP3 file.

Here's a breakdown of each component of the command:

  • mp3info is the name of the command-line tool or program being executed.
  • -g is an option flag used to specify that the genre metadata should be updated or queried.
  • ${genre_number} is a placeholder for the desired genre number or ID. The specific number corresponds to a genre category defined in the ID3 tag standard, such as 1 for "Blues" or 10 for "Alternative".
  • ${filename-mp3} is another placeholder representing the name of the MP3 file you want to operate on. Replace it with the actual filename or path of the specific MP3 file you want to interact with.

In summary, this command allows you to set or retrieve the genre information of an MP3 file using the mp3info tool.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mp3info tool