OGG

Read and write Ogg bitstreams and pages.

This module reads and writes a subset of the Ogg bitstream format version 0. It does not read or write Ogg Vorbis files! For that, you should use mutagen.oggvorbis.

This implementation is based on the RFC 3533 standard found at http://www.xiph.org/ogg/doc/rfc3533.txt.

class mutagen.ogg.OggFileType(*args, **kwargs)

Bases: mutagen.FileType

OggFileType(filething)

An generic Ogg file.

Parameters:(filething) (filething) –
load(filething)

Load file information from a filename.

Parameters:(filething) (filething) –
Raises :mutagen.MutagenError
delete(filething=None)

Remove tags from a file.

If no filename is given, the one most recently loaded is used.

Parameters:(filething) (filething) –
Raises :mutagen.MutagenError
save(filething=None, padding=None)

Save a tag to a file.

If no filename is given, the one most recently loaded is used.

Parameters:
  • (filething) (filething) –
  • (PaddingFunction) (padding) –
Raises :

mutagen.MutagenError

Previous topic

Musepack

Next topic

Ogg FLAC

This Page