Mime-types that are recognized at MP3
Mime-types that have been seen to contain mp3 data.
Valid file extensions.
Does a mime-type check on file_name and returns True it the file is mp3, and False otherwise.
Bases: eyed3.core.AudioInfo
If not None, the Lame header. See eyed3.mp3.headers.LameHeader
2-tuple, (vrb?:boolean, bitrate:int)
Bases: eyed3.core.AudioFile
Audio file container for mp3 files.
Determine if header (an integer, 4 bytes compared) is a valid mp3 frame header.
Locate the first mp3 header in file stream fp starting a offset start_pos (defaults to 0). Returned is a 3-tuple containing the offset where the header was found, the header as an integer, and the header as 4 bytes. If no header is found header_int will equal 0.
Computes the number of seconds per mp3 frame. It can be used to compute overall playtime and bitrate. The mp3 layer and sample rate from mp3_header are used to compute the number of seconds (fractional float point value) per mp3 frame. Be sure to set vbr True when dealing with VBR, otherwise playtimes may be incorrect.
Bases: dict
Read the LAME info tag. frame should be the first frame of an mp3.