Module Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias alias alias alias alias alias ClassDef bases body Expr Str Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareNotIn Call NameLoad NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Str NameLoad TryExcept body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad handlers ExceptHandler type NameLoad name TupleStore NameStore NameStore body If CompareEq NameLoad Num body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad NameLoad attr body Return Num orelse If CompareIn Call NameLoad AttributeLoad NameLoad attr TupleLoad Str Str Str body If SubscriptLoad AttributeLoad NameLoad attr Index Str body Return BinOpAdd BinOpAdd NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Return BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num Str body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad keyword NameLoad keyword NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad keyword NameLoad keyword NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Return Call NameLoad keyword NameLoad keyword NameLoad orelse Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num While Num body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num Str body AugAssignAdd NameStore Num orelse Break Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict If CompareIn Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call NameLoad NameLoad orelse Raise Call NameLoad Str Call NameLoad NameLoad If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num orelse If CompareEq AttributeLoad NameLoad attr Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareNotEq Call NameLoad NameLoad NameLoad body Raise Call NameLoad Str Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr ListLoad Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareNotEq NameLoad Str body Raise Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad NameLoad Assign NameStore BinOpMod Str BinOpRShift NameLoad Num If CompareNotIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpBitAnd BinOpRShift NameLoad NameLoad Num orelse If CompareEq AttributeLoad NameLoad attr Str body For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpBitAnd BinOpRShift NameLoad NameLoad Num If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Expr Call AttributeLoad NameLoad attr Expr Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Num If CompareEq NameLoad Num body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpRShift BinOpBitAnd NameLoad Num Num If BinOpRShift BinOpBitAnd NameLoad Num Num body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Num AugAssignAdd NameStore Num If BinOpRShift BinOpBitAnd NameLoad Num Num body Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr Num Index Num AugAssignAdd NameStore Num If CompareLt NameLoad BinOpSub BinOpSub NameLoad NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub BinOpSub BinOpSub NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub NameLoad NameLoad Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Num While CompareLt NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad If NameLoad body TryExcept body AugAssignAdd NameStore Call NameLoad NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword NameLoad AugAssignAdd NameStore Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Pass orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Break If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Str BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num If CompareEq NameLoad Str body Return Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore Call SubscriptLoad NameLoad Index AttributeLoad NameLoad attr NameLoad If CompareGt NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body Return Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return BinOpAdd NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn AttributeLoad NameLoad attr TupleLoad Str Str body Assign NameStore NameLoad orelse If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore NameLoad Assign NameStore Str Assign NameStore Num For TupleStore NameStore NameStore NameLoad body Assign NameStore BinOpBitOr NameLoad BinOpLShift BinOpBitAnd SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num NameLoad AugAssignAdd NameStore Call AttributeLoad NameLoad attr Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num AugAssignAdd NameStore Call AttributeLoad NameLoad attr Str NameLoad AugAssignAdd NameStore Call NameLoad NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num Return Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad Str attr Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpMult Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If AttributeLoad NameLoad attr body Return NameLoad Assign NameStore Call AttributeLoad Str attr Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd Call AttributeLoad AttributeLoad NameLoad attr attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num While NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num While NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str If UnaryOpNot NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd Call NameLoad NameLoad Call NameLoad NameLoad Expr Call NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMult Str BinOpSub SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A  ID3v2 Tag Representation  N/A __author__ Alastair Tse <alastair@tse.id.au> N/A __license__ BSD N/A __copyright__ Copyright (c) 2004, Alastair Tse N/A __revision__ $Id: id3v2.py,v 1.4 2004/12/21 12:02:06 acnt2 Exp $ tagger.exceptions * tagger.constants * tagger.id3v2frame * tagger.utility * tagger.debug * N/A os struct sys types tempfile math ID3v2 N/A N/A N/A 
    ID3v2 Tag Parser/Writer for MP3 files

    @cvar supported: list of version that this parser supports
    @ivar tag: dictionary of parameters that the tag has
    @type tag: dictionary

    @note: tag has the following options

    size = size of the whole header, excluding header and footer
    ext = has extension header (2.3, 2.4 only)
    exp = is experimental (2.4, 2.3 only)
    footer = has footer (2.3, 2.4 only)
    compression = has compression enabled (2.2 only)
    unsync = uses unsynchronise method of encoding data

    @ivar frames: list of frames that is in the tag
    @type frames: dictionary of ID3v2*Frame(s)

    @ivar version: version this tag supports
    @type version: float (2.2, 2.3, 2.4)

    @todo: parse/write footers
    @todo: parse/write appended tags
    @todo: parse/write ext header

     N/A f None N/A supported N/A 2.2 2.3 2.4 __init__ N/A N/A self filename version N/A ID3V2_DEFAULT_VERSION N/A N/A 
        @param filename: the file to open or write to.
        @type filename: string

        @param version: if header doesn't exists, we need this to tell us what version                         header to use
        @type version: float

        @raise ID3Exception: if file does not have an ID3v2 but is specified
        to be in read or modify mode.
         N/A N/A N/A str version N/A self supported N/A N/A N/A ID3ParameterException N/A version %s not valid N/A str version N/A N/A N/A N/A N/A os path exists filename N/A N/A N/A ID3ParameterException N/A filename %s not valid filename N/A N/A N/A N/A self f N/A open filename rb+ N/A N/A self read_only False N/A N/A N/A IOError N/A N/A errno strerror N/A N/A N/A errno 13 N/A N/A N/A self f N/A open filename rb N/A N/A self read_only True N/A N/A self filename filename N/A N/A N/A self tag_exists N/A N/A N/A N/A self parse_header N/A N/A N/A self parse_frames N/A N/A N/A N/A self new_header N/A str version N/A __del__ N/A N/A self N/A N/A N/A N/A self f N/A N/A N/A N/A N/A self f close N/A mp3_data_offset N/A N/A self N/A N/A N/A  How many bytes into the file does MP3 data start?  N/A N/A N/A N/A self tag_exists N/A N/A 0 N/A N/A N/A N/A str N/A self version N/A 2.2 2.3 2.4 N/A N/A N/A N/A self tag N/A footer N/A N/A N/A N/A ID3V2_FILE_HEADER_LENGTH ID3V2_FILE_FOOTER_LENGTH N/A N/A self tag N/A size N/A N/A ID3V2_FILE_HEADER_LENGTH N/A N/A self tag N/A size N/A tag_exists N/A N/A self N/A N/A N/A N/A N/A N/A self f seek 0 N/A N/A N/A N/A N/A self f read 3 ID3 N/A N/A True N/A False N/A dump_header N/A N/A self N/A N/A N/A 
        Debugging purposes, dump the whole header of the file.

        @todo: dump footer and extension header as well
         N/A old_pos N/A N/A N/A self f tell N/A output N/A N/A N/A self tag N/A size N/A N/A N/A N/A N/A self f seek 0 N/A output N/A N/A N/A self f read N/A ID3V2_FILE_HEADER_LENGTH N/A N/A self tag N/A size N/A N/A N/A N/A self f seek old_pos N/A output N/A new_frame N/A N/A self fid frame N/A None None N/A N/A 
        Return a new frame of the correct type for this tag

        @param fid: frame id
        @param frame: bytes in the frame
         N/A N/A N/A self version 2.2 N/A N/A N/A ID3v2_2_Frame frame frame fid fid N/A N/A N/A N/A self version 2.3 N/A N/A N/A ID3v2_3_Frame frame frame fid fid N/A N/A N/A N/A self version 2.4 N/A N/A N/A ID3v2_4_Frame frame frame fid fid N/A N/A N/A ID3NotImplemented N/A version %s not supported. N/A self version N/A set_version N/A N/A self version N/A N/A N/A N/A self version N/A str version N/A _read_null_bytes N/A N/A self N/A N/A N/A 
        Count the number of null bytes at the specified file pointer
         N/A nullbuffer 0 N/A 1 N/A N/A N/A N/A N/A N/A self f read 1 N/A N/A nullbuffer 1 N/A N/A N/A nullbuffer N/A new_header N/A N/A self version N/A ID3V2_DEFAULT_VERSION N/A N/A 
        Create a new default ID3v2 tag data structure

        @param version: version of the tag to use. default is 2.4.
        @type version: float
         N/A N/A version N/A self supported N/A N/A N/A ID3ParameterException N/A version %s not supported N/A str version N/A N/A self tag N/A N/A N/A N/A str version N/A self supported N/A N/A N/A self version N/A str version N/A N/A N/A ID3NotImplementedException Version %s not supported N/A str version N/A N/A N/A self version N/A 2.4 2.3 N/A N/A N/A N/A self tag N/A ext 0 N/A N/A N/A self tag N/A exp 0 N/A N/A N/A self tag N/A footer 0 N/A N/A N/A N/A self version 2.2 N/A N/A N/A N/A self tag N/A compression 0 N/A N/A N/A self tag N/A unsync 0 N/A N/A N/A self tag N/A size 0 N/A N/A self frames N/A N/A parse_header N/A N/A self N/A N/A N/A 
        Parse Header of the file

         N/A N/A N/A N/A self f seek 0 N/A data N/A N/A N/A self f read ID3V2_FILE_HEADER_LENGTH N/A N/A N/A len data ID3V2_FILE_HEADER_LENGTH N/A N/A N/A ID3HeaderInvalidException ID3 tag header is incomplete N/A N/A self tag N/A N/A N/A self frames N/A N/A N/A id3 ver flags rawsize N/A N/A struct unpack !3sHB4s data N/A N/A id3 ID3 N/A N/A N/A ID3HeaderInvalidException ID3v2 header not found N/A N/A N/A self tag N/A size N/A unsyncsafe rawsize N/A version N/A 2.%d N/A ver 8 N/A N/A version N/A self supported N/A N/A N/A ID3NotImplementedException N/A version %s not supported version N/A N/A N/A self version version N/A N/A N/A self version N/A 2.4 2.3 N/A N/A N/A flagname bit ID3V2_3_TAG_HEADER_FLAGS N/A N/A N/A N/A self tag N/A flagname N/A N/A flags bit 1 N/A N/A N/A N/A self version 2.2 N/A N/A N/A flagname bit ID3V2_2_TAG_HEADER_FLAGS N/A N/A N/A N/A self tag N/A flagname N/A N/A flags bit 1 N/A N/A N/A N/A N/A self tag has_key ext N/A N/A self tag N/A ext N/A N/A N/A N/A self parse_ext_header N/A N/A debug N/A self tag N/A parse_ext_header N/A N/A self N/A N/A N/A  Parse Extension Header  N/A N/A N/A N/A self f seek ID3V2_FILE_HEADER_LENGTH N/A data N/A N/A N/A self f read ID3V2_FILE_EXTHEADER_LENGTH N/A N/A extsize flagbytes N/A N/A struct unpack !4sB data N/A extsize N/A unsyncsafe extsize N/A readdata 0 N/A N/A flagbytes 1 N/A N/A flags N/A N/A N/A struct unpack !B N/A N/A N/A self f read flagbytes N/A 0 N/A N/A N/A self tag N/A update N/A N/A flags 64 6 N/A N/A N/A flags 32 5 N/A N/A N/A N/A self tag N/A crc N/A unsyncsafe N/A N/A N/A self f read 5 N/A readdata 5 N/A N/A N/A flags 16 4 N/A N/A N/A N/A self tag N/A restrictions N/A N/A N/A struct unpack !B N/A N/A N/A self f read 1 N/A 0 N/A readdata 1 N/A N/A readdata N/A N/A extsize ID3V2_FILE_EXTHEADER_LENGTH flagbytes N/A N/A N/A N/A N/A self f read N/A N/A N/A extsize ID3V2_FILE_EXTHEADER_LENGTH flagbytes readdata N/A N/A N/A N/A N/A self f read N/A extsize ID3V2_FILE_EXTHEADER_LENGTH N/A 1 N/A parse_footer N/A N/A self N/A N/A N/A Parse Footer

        @todo: implement me
         N/A 0 N/A parse_frames N/A N/A self N/A N/A N/A  Recursively Parse Frames  N/A read 0 N/A readframes 0 N/A N/A read N/A N/A self tag N/A size N/A N/A framedata N/A N/A self get_next_frame N/A N/A N/A self tag N/A size read N/A framedata N/A N/A N/A N/A read N/A len framedata N/A N/A N/A self version 2.2 N/A N/A frame N/A ID3v2_2_Frame frame framedata N/A N/A N/A N/A self version 2.3 N/A N/A frame N/A ID3v2_3_Frame frame framedata N/A N/A N/A N/A self version 2.4 N/A N/A frame N/A ID3v2_4_Frame frame framedata N/A readframes 1 N/A N/A N/A N/A self frames append frame N/A N/A N/A ID3Exception N/A N/A N/A N/A N/A N/A self tag N/A padding N/A N/A self _read_null_bytes N/A N/A debug N/A NULL Padding: %d N/A N/A self tag N/A padding N/A N/A N/A N/A N/A N/A self tag has_key padding N/A N/A N/A N/A self tag N/A padding 0 N/A N/A N/A N/A self tag N/A size N/A read N/A N/A self tag N/A padding N/A N/A N/A N/A self tag N/A size N/A read N/A N/A self tag N/A padding N/A N/A len N/A self frames N/A get_next_frame N/A N/A self search_length N/A N/A N/A c N/A N/A N/A self f read 1 N/A N/A N/A N/A self f seek -1 1 N/A N/A c N/A N/A N/A hdr N/A N/A N/A self f read N/A ID3V2_HEADER_LEN N/A N/A self version N/A size N/A N/A ID3V2_DATA_LEN N/A N/A self version hdr N/A N/A size N/A N/A self tag N/A size N/A N/A N/A data N/A N/A N/A self f read size N/A N/A hdr data N/A construct_header N/A N/A self size N/A N/A N/A 
        Construct Header Bytestring to for tag

        @param size: size to encode into the bytestring. Note the size is the whole                       size of the tag minus the header and footer
        @type size: int
         N/A N/A N/A self version N/A 2.3 2.4 N/A N/A flags ID3V2_3_TAG_HEADER_FLAGS N/A N/A N/A N/A self version 2.2 N/A N/A flags ID3V2_2_TAG_HEADER_FLAGS N/A bytestring ID3 N/A flagbyte 0 N/A N/A flagname bit flags N/A N/A flagbyte N/A flagbyte N/A N/A N/A N/A self tag N/A flagname 1 bit N/A bytestring N/A N/A struct pack <H N/A int N/A N/A self version N/A -1 N/A bytestring N/A N/A struct pack !B flagbyte N/A bytestring N/A syncsafe size 4 N/A bytestring N/A construct_ext_header N/A N/A self N/A N/A N/A 
        Construct an Extension Header (FIXME)
         N/A N/A N/A self tag N/A ext 0 N/A N/A construct_footer N/A N/A self N/A N/A N/A 
        Construct a Footer (FIXME)
         N/A N/A commit_to_file N/A N/A self filename N/A N/A N/A newf N/A open filename wb+ N/A framesstring N/A N/A join N/A map N/A N/A N/A x N/A N/A N/A x output N/A self frames N/A footerstring N/A extstring N/A N/A N/A N/A self f seek N/A N/A self mp3_data_offset N/A t N/A N/A tempfile TemporaryFile N/A buf N/A N/A N/A self f read 1024 N/A buf N/A N/A N/A N/A t write buf N/A buf N/A N/A N/A self f read 1024 N/A tag_content_size N/A N/A len extstring N/A len framesstring N/A headerstring N/A N/A self construct_header N/A tag_content_size ID3V2_FILE_DEFAULT_PADDING N/A N/A N/A newf write headerstring N/A N/A N/A newf write extstring N/A N/A N/A newf write framesstring N/A N/A N/A newf write N/A ID3V2_FILE_DEFAULT_PADDING N/A N/A N/A newf write footerstring N/A N/A N/A t seek 0 N/A buf N/A N/A t read 1024 N/A buf N/A N/A N/A N/A newf write buf N/A buf N/A N/A t read 1024 N/A N/A N/A t close N/A N/A N/A newf close N/A commit N/A N/A self pretend N/A False N/A N/A  Commit Changes to MP3. This means writing to file.
        Will fail if file is not writable
        
        @param pretend: boolean
        @type pretend: Do not actually write to file, but pretend to.
         N/A N/A self read_only N/A N/A False N/A framesstring N/A N/A join N/A map N/A N/A N/A x N/A N/A N/A x output N/A self frames N/A footerstring N/A extstring N/A N/A N/A N/A N/A self tag has_key ext N/A N/A self tag N/A ext N/A N/A extstring N/A N/A self construct_ext_header N/A N/A N/A N/A N/A self tag has_key footer N/A N/A self tag N/A footer N/A N/A footerstring N/A N/A self construct_footer N/A tag_content_size N/A N/A len extstring N/A len framesstring N/A N/A N/A N/A self tag N/A size tag_content_size N/A N/A headerstring N/A N/A self construct_header N/A tag_content_size ID3V2_FILE_DEFAULT_PADDING N/A N/A N/A N/A self f seek N/A N/A self mp3_data_offset N/A t N/A N/A tempfile TemporaryFile N/A buf N/A N/A N/A self f read 1024 N/A buf N/A N/A N/A N/A t write buf N/A buf N/A N/A N/A self f read 1024 N/A N/A pretend N/A N/A N/A N/A N/A self f close N/A N/A self f N/A open N/A self filename wb+ N/A N/A N/A N/A self f write headerstring N/A N/A N/A N/A self f write extstring N/A N/A N/A N/A self f write framesstring N/A N/A N/A N/A self f write N/A ID3V2_FILE_DEFAULT_PADDING N/A N/A N/A N/A self f write footerstring N/A N/A N/A t seek 0 N/A buf N/A N/A t read 1024 N/A buf N/A N/A N/A N/A N/A self f write buf N/A buf N/A N/A t read 1024 N/A N/A N/A t close N/A N/A N/A N/A self f close N/A N/A self f N/A open N/A self filename rb+ N/A N/A N/A self tag N/A size N/A N/A N/A len headerstring N/A len extstring ID3V2_FILE_DEFAULT_PADDING N/A N/A headerstring N/A N/A self construct_header N/A N/A self tag N/A size N/A N/A pretend N/A N/A N/A N/A N/A self f seek 0 N/A N/A N/A N/A self f write headerstring N/A N/A N/A N/A self f write extstring N/A N/A N/A N/A self f write framesstring N/A written N/A N/A len extstring N/A len framesstring N/A N/A warn N/A Written Bytes: %d written N/A N/A N/A N/A self f write N/A N/A N/A N/A self tag N/A size written N/A N/A N/A N/A self f write footerstring N/A N/A N/A N/A self f flush N/A N/A