Adicionando meta informações em arquivos mp3

Uma ferramenta muito bacana é o eyeD3 que permite adicionar informações como autor, gênero, imagens e etc. em arquivos mp3.

$ sudo apt-get install eyed3

Exemplo:

$ eyeD3 –artist=”Adele” –album=”21″ –title=”Rolling in the Deep” –genre=”Soul, Pop” –year=”2010″ Adele-Rolling-In-The-Deep.mp3

Algumas opções:

Tag Data

——–
-a STRING, –artist=STRING
Set artist
-A STRING, –album=STRING
Set album
-t STRING, –title=STRING
Set title
-n NUM, –track=NUM
Set track number
-N NUM, –track-total=NUM
Set total number of tracks
-G GENRE, –genre=GENRE
Set genre. The argument is a valid genre string or
number. See –list-genres
-d NUM, –disc=NUM Set disc number
-D NUM, –disc-total=NUM
Set total number of discs
-Y STRING, –year=STRING
Set a four digit year.

-c [LANGUAGE]:[DESCRIPTION]:COMMENT, –comment=[LANGUAGE]:[DESCRIPTION]:COMMENT
Set comment
-L [LANGUAGE]:[DESCRIPTION]:LYRICS, –lyrics=[LANGUAGE]:[DESCRIPTION]:LYRICS
Set lyrics
-p STRING, –publisher=STRING
Set the publisher/label text
–remove-comments Remove all comment frames.
–remove-lyrics Remove all lyrics frames.
–add-image=IMG_PATH:TYPE[:DESCRIPTION]
Add an image to the tag. The description and type
optional, but when used, both ‘:’ delimiters must be
present. The type MUST be an string that corresponds
to one given with –list-image-types. If the IMG_PATH
value is empty the APIC frame with TYPE is removed.
–remove-images Remove all image (APIC) frames.
–add-object=OBJ_PATH[:DESCRIPTION[:MIME-TYPE[:FILENAME]]
Add an encapsulated object to the tag. The description
and filename are optional, but when used, the ‘:’
delimiters must be present. If the OBJ_PATH value is
empty the GEOB frame with DESCRIPTION is removed.
-i DIR, –write-images=DIR
Causes all attached images (APIC frames) to be written
to the specified directory.
-o DIR, –write-objects=DIR
Causes all attached objects (GEOB frames) to be written
to the specified directory.
–set-text-frame=FID:TEXT
Set the value of a text frame. To remove the frame,
specify an empty value. e.g., –set-text-frame=”TDRC:”
–set-user-text-frame=DESC:TEXT
Set the value of a user text frame (i.e., TXXX). To
remove the frame, specify an empty value. e.g., –set-
user-text-frame=”SomeDesc:”
–set-url-frame=FID:URL
Set the value of a URL frame. To remove the frame,
specify an empty value. e.g., –set-url-frame=”WCOM:”
–set-user-url-frame=DESC:URL
Set the value of a user URL frame (i.e., WXXX). To
remove the frame, specify an empty value. e.g., –set-
user-url-frame=”SomeDesc:”
–play-count=[+]N If this argument value begins with ‘+’ the tag’s play
count (PCNT) is incremented by N, otherwise the value
is set to exactly N.
–bpm=N Set the beats per minute value.
–unique-file-id=OWNER_ID:ID
Add a UFID frame. If the ID arg is empty the UFID
frame with OWNER_ID is removed. An OWNER_ID MUST be
specified.
–set-encoding=latin1|utf8|utf16-BE|utf16-LE
Set the encoding that is used for _all_ text frames.
This only takes affect when the tag is updated as the
result of a frame value being set with another option
(e.g., –artist=) or –force-update is present.
–remove-v1 Remove ID3 v1.x tag.
–remove-v2 Remove ID3 v2.x tag.
–remove-all Remove both ID3 v1.x and v2.x tags.

Anúncios
Esse post foi publicado em Linux, MP3 e marcado . Guardar link permanente.

Deixe um comentário

Preencha os seus dados abaixo ou clique em um ícone para log in:

Logotipo do WordPress.com

Você está comentando utilizando sua conta WordPress.com. Sair / Alterar )

Imagem do Twitter

Você está comentando utilizando sua conta Twitter. Sair / Alterar )

Foto do Facebook

Você está comentando utilizando sua conta Facebook. Sair / Alterar )

Foto do Google+

Você está comentando utilizando sua conta Google+. Sair / Alterar )

Conectando a %s