Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BenOckmore/mutagen
/ functions
Functions
1,742 in github.com/BenOckmore/mutagen
⨍
Functions
1,742
◇
Types & classes
474
↓ 107 callers
Method
append
(self, x)
mutagen/asf.py:59
↓ 107 callers
Method
save
Save changes to a file. If no filename is given, the one most recently loaded is used. Keyword arguments: v1 -- if 0, ID3v1
mutagen/id3.py:455
↓ 103 callers
Method
write
Return a string encoding of the page header and data. A ValueError is raised if the data is too big to fit in a single page.
mutagen/ogg.py:131
↓ 76 callers
Method
close
(self)
tests/__init__.py:155
↓ 76 callers
Method
read
Read the chunks data
mutagen/aiff.py:97
↓ 67 callers
Method
decode
(value)
mutagen/_id3util.py:52
↓ 51 callers
Method
add
Add a frame to the tag.
mutagen/id3.py:232
↓ 50 callers
Method
render
Render raw atom data.
mutagen/mp4.py:146
↓ 49 callers
Method
encode
(value)
mutagen/_id3util.py:67
↓ 46 callers
Method
read
(self, fobj)
tests/test__util.py:96
↓ 42 callers
Function
File
Guess the type of the file and try to open it. The file type is decided by several things, such as the first 128 bytes (which usually contain
mutagen/__init__.py:213
↓ 39 callers
Function
ASFValue
(value, kind, **kwargs)
mutagen/asf.py:410
↓ 32 callers
Method
pprint
Return tags in a human-readable format. "Human-readable" is used loosely here. The format is intended to mirror that used for Vorbis
mutagen/id3.py:207
↓ 30 callers
Method
read
(self, size=-1)
mutagen/flac.py:65
↓ 29 callers
Method
getall
Return all frames with a given name (the list may be empty). This is best explained by examples:: id3.getall('TIT2') == [id3['TI
mutagen/id3.py:171
↓ 27 callers
Method
set_key
(self, key, value, result=None, faad=True)
tests/test_mp4.py:357
↓ 26 callers
Method
call
(self, *args)
tests/test_tools.py:30
↓ 25 callers
Method
delete
Remove tags from a file. If no filename is given, the one most recently loaded is used. Keyword arguments: * delete_v1 -- d
mutagen/id3.py:542
↓ 22 callers
Method
scan_file
(self)
tests/test_ogg.py:370
↓ 22 callers
Method
to_packets
Construct a list of packet data from a list of Ogg pages. If strict is true, the first page must start a new packet, and the last pag
mutagen/ogg.py:241
↓ 21 callers
Method
file
(self, contents)
tests/test__util.py:88
↓ 19 callers
Method
_g
(self, s)
tests/test__id3frames.py:174
↓ 18 callers
Function
ParseID3v1
Parse an ID3v1 tag, returning a list of ID3v2.4 frames.
mutagen/id3.py:779
↓ 18 callers
Method
fromData
Construct this ID3 frame from raw string data.
mutagen/_id3frames.py:143
↓ 17 callers
Function
MakeID3v1
Return an ID3v1.1 tag string from a dict of ID3v2.4 frames.
mutagen/id3.py:833
↓ 17 callers
Function
insert_bytes
Insert size bytes of empty space starting at offset. fobj must be an open file object, open rb+ or equivalent. Mutagen tries to use mmap to r
mutagen/_util.py:148
↓ 17 callers
Method
set_key
(self, key, value, result=None, expected=True)
tests/test_asf.py:67
↓ 16 callers
Method
append
Append a string.
mutagen/_id3frames.py:306
↓ 16 callers
Method
to_str
(value, bits=7, bigendian=True, width=4, minwidth=4)
mutagen/_id3util.py:82
↓ 16 callers
Method
write
(self)
mutagen/flac.py:548
↓ 15 callers
Method
has_valid_padding
Whether the padding bits are all zero
mutagen/_id3util.py:110
↓ 15 callers
Function
to_int_be
Convert an arbitrarily-long string to a long using big-endian byte order.
mutagen/flac.py:49
↓ 14 callers
Method
clear
Clear all keys from the comment.
mutagen/_vorbis.py:197
↓ 14 callers
Method
from_packets
Construct a list of Ogg pages from a list of packet data. The algorithm will generate pages of approximately default_size in size (ro
mutagen/ogg.py:277
↓ 13 callers
Function
endswith
(text, end)
mutagen/_compat.py:31
↓ 13 callers
Method
save
Save metadata blocks to a file. If no filename is given, the one most recently loaded is used.
mutagen/flac.py:743
↓ 12 callers
Function
delete_bytes
Delete size bytes of empty space starting at offset. fobj must be an open file object, open rb+ or equivalent. Mutagen tries to use mmap to r
mutagen/_util.py:210
↓ 12 callers
Method
extend
(self, values)
mutagen/_vorbis.py:397
↓ 12 callers
Method
update_to_v24
Convert older tags into an ID3v2.4 tag. This updates old ID3v2 frames to ID3v2.4 ones (e.g. TYER to TDRC). If you intend to save tags
mutagen/id3.py:611
↓ 10 callers
Method
find_last
Find the last page of the stream 'serial'. If the file is not multiplexed this function is fast. If it is, it must read the whole the
mutagen/ogg.py:394
↓ 10 callers
Method
parse
(self, asf, data, fileobj, size)
mutagen/asf.py:441
↓ 10 callers
Function
reraise
(tp, value, tb)
mutagen/_compat.py:83
↓ 9 callers
Method
RegisterKey
Register a new key mapping. A key mapping is four functions, a getter, setter, deleter, and lister. The key may be either a string or
mutagen/easyid3.py:85
↓ 9 callers
Method
wrap_ilst
(self, data)
tests/test_mp4.py:139
↓ 8 callers
Method
delall
Delete all tags of a given kind; see getall.
mutagen/id3.py:191
↓ 8 callers
Method
remove
(self, value)
mutagen/_vorbis.py:400
↓ 8 callers
Method
replace
Replace old_pages with new_pages within fileobj. old_pages must have come from reading fileobj originally. new_pages are assumed to h
mutagen/ogg.py:338
↓ 8 callers
Method
save
(self)
mutagen/asf.py:674
↓ 8 callers
Method
update_to_v23
Convert older (and newer) tags into an ID3v2.3 tag. This updates incompatible ID3v2 frames to ID3v2.3 ones. If you intend to save tag
mutagen/id3.py:676
↓ 8 callers
Method
validate
Validate keys and values. Check to make sure every key used is a valid Vorbis key, and that every value used is a valid Unicode or UT
mutagen/_vorbis.py:156
↓ 7 callers
Method
_load_header
(self)
mutagen/id3.py:236
↓ 7 callers
Method
encode
(self, *args)
mutagen/_id3specs.py:328
↓ 7 callers
Method
findall
Recursively find all child atoms by specified name.
mutagen/mp4.py:155
↓ 7 callers
Method
ogg_reference
(self, filename)
tests/test_ogg.py:473
↓ 7 callers
Method
save
Save changes to a file. If no filename is given, the one most recently loaded is used. Tags are always written at the end of the fil
mutagen/apev2.py:386
↓ 6 callers
Method
__render_data
(self, key, flags, value)
mutagen/mp4.py:511
↓ 6 callers
Method
_render
(self, dword=True)
mutagen/asf.py:255
↓ 6 callers
Method
_writeData
(self)
mutagen/_id3frames.py:129
↓ 6 callers
Function
dict_match
(d, key, default=None)
mutagen/_util.py:264
↓ 6 callers
Method
index
(self, value)
mutagen/_vorbis.py:382
↓ 6 callers
Function
is_valid_frame_id
(frame_id)
mutagen/_id3frames.py:26
↓ 6 callers
Method
renumber
Renumber pages belonging to a specified logical stream. fileobj must be opened with mode r+b or w+b. Starting at page number 'start'
mutagen/ogg.py:202
↓ 6 callers
Method
resize
Update the size of the chunk
mutagen/aiff.py:108
↓ 6 callers
Function
utf8
Convert a basestring to a valid UTF-8 str.
mutagen/_util.py:253
↓ 6 callers
Method
write
(self, frame, value)
mutagen/_id3specs.py:429
↓ 6 callers
Method
writeblocks
Render metadata block as a byte string.
mutagen/flac.py:109
↓ 5 callers
Function
APEValue
APEv2 tag value factory. Use this if you need to specify the value's type manually. Binary and text data are automatically detected by APEv2
mutagen/apev2.py:460
↓ 5 callers
Function
decode_terminated
Returns the decoded data until the first NULL terminator and all data after it. In case the data can't be decoded raises UnicodeError. In
mutagen/_util.py:274
↓ 5 callers
Function
is_valid_apev2_key
(key)
mutagen/apev2.py:43
↓ 5 callers
Function
is_valid_chunk_id
(id)
mutagen/aiff.py:39
↓ 5 callers
Function
is_valid_key
Return true if a string is a valid Vorbis comment key. Valid Vorbis comment keys are printable ASCII between 0x20 (space) and 0x7D ('}'), exc
mutagen/_vorbis.py:28
↓ 4 callers
Method
RegisterKey
Register a new key mapping. A key mapping is four functions, a getter, setter, deleter, and lister. The key may be either a string or
mutagen/easymp4.py:51
↓ 4 callers
Method
__fullread
Read a certain number of bytes from the source file.
mutagen/id3.py:78
↓ 4 callers
Method
_test_text_frame
(self, short, longer, frame)
tests/test_tools_mid3v2.py:55
↓ 4 callers
Method
add_tags
(self)
mutagen/mp4.py:822
↓ 4 callers
Method
as_str
(self, width=4, minwidth=4)
mutagen/_id3util.py:78
↓ 4 callers
Function
delete
Completely removes the ID3 chunk from the AIFF file
mutagen/aiff.py:312
↓ 4 callers
Method
faad
(self)
tests/test_mp4.py:283
↓ 4 callers
Method
insert
(self, index, value)
mutagen/_vorbis.py:104
↓ 4 callers
Method
read
(self, frame, data)
mutagen/_id3specs.py:37
↓ 4 callers
Method
run
(self, test)
tests/__init__.py:92
↓ 4 callers
Method
write
(self, frame, value)
mutagen/_id3specs.py:40
↓ 4 callers
Method
write
(s, frame, value)
mutagen/_id3specs.py:102
↓ 4 callers
Method
write
(self, frame, value)
mutagen/_id3specs.py:359
↓ 3 callers
Method
__init__
(self, data=None)
mutagen/flac.py:513
↓ 3 callers
Method
__pad_ilst
(self, data, length=None)
mutagen/mp4.py:388
↓ 3 callers
Method
__parse_data
(self, atom, data)
mutagen/mp4.py:501
↓ 3 callers
Method
__set_flag
(self, bit, val)
mutagen/ogg.py:179
↓ 3 callers
Function
_parse_sv8_int
Reads (max limit) bytes from fileobj until the MSB is zero. All 7 LSB will be merged to a big endian uint. Raises ValueError in case not MSB
mutagen/musepack.py:37
↓ 3 callers
Method
_validate23
Return a possibly modified value which, if written, results in valid id3v2.3 data.
mutagen/_id3specs.py:28
↓ 3 callers
Method
append
(self,value)
mutagen/_vorbis.py:391
↓ 3 callers
Method
as_dict
Return a copy of the comment data in a real dict.
mutagen/asf.py:122
↓ 3 callers
Method
assertReallyEqual
(self, a, b)
tests/__init__.py:36
↓ 3 callers
Function
delete
Remove tags from a file. Keyword arguments: * delete_v1 -- delete any ID3v1 tag * delete_v2 -- delete any ID3v2 tag
mutagen/id3.py:739
↓ 3 callers
Method
delete
Remove tags from a file.
mutagen/apev2.py:434
↓ 3 callers
Method
failIfV1
(self)
tests/test_id3.py:406
↓ 3 callers
Method
failUnlessV1
(self)
tests/test_id3.py:411
↓ 3 callers
Method
path
Look up and return the complete path of an atom. For example, atoms.path('moov', 'udta', 'meta') will return a list of three atoms, c
mutagen/mp4.py:210
↓ 3 callers
Function
print_frames
(frames, sort_mro=False)
docs/id3_frames_gen.py:33
↓ 3 callers
Function
print_header
(header, type_="-")
docs/id3_frames_gen.py:27
next →
1–100 of 1,742, ranked by callers