The local encoding, used when parsing command line options, console output, etc. The default is always latin1 if it cannot be determined, it is NOT the value shown.
The local file system encoding, the default is latin1 if it cannot be determined.
Base exception type for all eyed3 errors.
Check for a specific version of eyeD3. Returns None when the loaded version of eyed3 is <= version_spec and raises a eyed3.Error otherwise. version_spec may be a string or int tuple. In either case at least 2 version values must be specified. For example, “0.7”, (0,7,1), etc.
API compatibility is currently based on major and minor version values, therefore neither version 0.6 or 0.8 is compatible for version 0.7.
Basic core types and utilities.
Audio type selecter for no audio.
Audio type selecter for mpeg (mp3) audio.
A key that can be used in a TXXX frame to specify the type of collection (or album) a file belongs. See eyed3.core.ALBUM_TYPE_IDS.
A key that can be used in a TXXX frame to specify the origin of an artist/band. i.e. where they are from. The format is: city<tab>state<tab>country
Loads the file identified by path and returns a concrete type of eyed3.core.AudioFile. If path is not a file an IOError is raised. None is returned when the file type (i.e. mime-type) is not recognized. The following AudioFile types are supported:
If tag_version is not None (the default) only a specific version of metadata is loaded. This value must be a version constant specific to the eventual format of the metadata.
A base container for common audio details.
The number of seconds of audio data (i.e., the playtime)
The number of bytes of audio data.
An abstract interface for audio tag (meta) data (e.g. artist, title, etc.)
Track number property. Must return a 2-tuple of (track-number, total-number-of-tracks). Either tuple value may be None.
Abstract base class for audio file types (AudioInfo + Tag)
Construct with a path and invoke _read. All other members are set to None.
Rename the file to name. The encoding used for the file name is eyed3.LOCAL_FS_ENCODING unless overridden by fsencoding. Note, if the target file already exists, or the full path contains non-existent directories the operation will fail with IOError. File times are not modified when preserve_file_time is True, False is the default.
The absolute path of this file.
A class for representing a date and time (optional). This class differs from datetime.datetime in that the default values for month, day, hour, minute, and second is None and not ‘January 1, 00:00:00’. This allows for an object that is simply 1987, and not January 1 12AM, for example. But when more resolution is required those vales can be set as well.
Valid time stamp formats per ISO 8601 and used by c strptime.
Parses date strings that conform to ISO-8601.
A function that is invoked when non-fatal parse, format, etc. errors occur. In most cases the invalid values will be ignored or possibly fixed. This function simply logs the error.
This is the main function for profiling http://code.google.com/appengine/kb/commontasks.html#profiling