1. Travis Shirk
  2. eyeD3

Source

eyeD3 /

Filename Size Date modified Message
bin
docs
etc
examples
src
149 B
added test data dir
1.0 KB
Added tag v0.7.9 for changeset c22b00531324
827 B
Documentation start
17.6 KB
Import
77.8 KB
prep for release
269 B
examples and rsts included in sdist. fixes issue #8
2.9 KB
drone.io badge.
69 B
paver upgrade
38 B
paver upgrade
1.8 KB
Deployed
1012 B
Removed cd-top, cdproject now provides that in recent virtualenvwrappers
15.5 KB
release prep
48.3 KB
Merged devel
63 B
Python 2.6 fixes and testing with tox
21 B
Removed python-magic, seemingly catches no more matches then standard Python
0 B
Removed python-magic, seemingly catches no more matches then standard Python
225 B
Added so a checkout does not require paver, particularly when doing 'pip install hg+'
210 B
Python 2.6 fixes and testing with tox

Status

https://drone.io/bitbucket.org/nicfit/eyed3/status.png

About

eyeD3 is a Python tool for working with audio files, specifically mp3 files containing ID3 metadata (i.e. song info).

It provides a command-line tool (eyeD3) and a Python library (import eyed3) that can be used to write your own applications or plugins that are callable from the command-line tool.

For example, to set some song information in an mp3 file called song.mp3:

$ eyeD3 -a Nobunny -A "Love Visions" -t "I Am a Girlfriend" -n 4 song.mp3

With this command we've set the artist (-a/--artist), album (-A/--album), title (-t/--title), and track number (-n/--track-num) properties in the ID3 tag of the file. This is the standard interface that eyeD3 has always had in the past, therefore it is also the default plugin when no other is specified.

The results of this command can be seen by running the eyeD3 with no options.

$ eyeD3 song.mp3
song.mp3      [ 3.06 MB ]
-------------------------------------------------------------------------
ID3 v2.4:
title: I Am a Girlfriend
artist: Nobunny
album: Love Visions
album artist: Various Artists
track: 4
-------------------------------------------------------------------------

The same can be accomplished using Python.

import eyed3

audiofile = eyed3.load("song.mp3")
audiofile.tag.artist = u"Nobunny"
audiofile.tag.album = u"Love Visions"
audiofile.tag.album_artist = u"Various Artists"
audiofile.tag.title = u"I Am a Girlfriend"
audiofile.tag.track_num = 4

audiofile.tag.save()

eyeD3 is written and maintained by Travis Shirk and is licensed under version 2 of the GPL.

Features

  • Python package for writing application and/or plugins.
  • Command-line tool driver script that supports plugins. viewer/editor interface.
  • Easy editing/viewing of audio metadata from the command-line, using the 'classic' plugin.
  • Support for ID3 versions 1.x, 2.2 (read-only), 2.3, and 2.4.
  • Support for the MP3 audio format exposing details such as play time, bit rate, sampling frequency, etc.
  • Abstract design allowing future support for different audio formats and metadata containers.

Get Started

Python 2.6 or 2.7 (recommended) is required.

For installation instructions or more complete documentation see http://eyeD3.nicfit.net/

Please post feedback and/or defects on the issue tracker, or mailing list.