subler: The Unofficial Python-Subler Interface

Release v0.4.2. (Installation)

With the use of this module, it’s now even easier to script the writing of iTunes style metadata to your media files using the SublerCLI.

Atoms

To construct metadata you simply create a collection of Metadata Atoms like so,

>>> artist = Atom('Artist', 'Linkin Park')
>>> album = Atom('Album', 'Hybrid Theory')
>>> metadata = [artist, album]

Tagging

Then, you simply pass that through to a Subler instance and use the Subler tag method, like so,

>>> subler = Subler(path_to_source_file, dest=path_to_dest_file,
                    metadata=metadata)
>>> subler.tag()

Contents:

Indices and tables