Skip to main content

Python interface to the Subler style metadata tagging.

Project description

Simple Python interface to the SublerCLI utility to make scripting metadata tagging with SublerCLI. even easier.

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()

Valid Tag Table

Also probably worth noting is the list of valid Tag attributes and their types:

  • Name

  • Artist

  • Album Artist

  • Album

  • Grouping

  • Composer

  • Comments

  • Genre

  • Release Date

  • Track

  • Disk

  • Tempo

  • TV Show

  • TV Episode

  • TV Network

  • TV Episode ID

  • TV Season

  • Description

  • Long Description

  • Series Description

  • Rating

  • Studio

  • Cast

  • Director

  • Codirector

  • Producers

  • Screenwriters

  • Lyrics

  • Copyright

  • Encoding Tool

  • Encoded By

  • Keywords

  • Category

  • contentID

  • artistID

  • playlistID

  • genreID

  • composerID

  • XID

  • iTunes Account

  • iTunes Account Type

  • iTunes Country

  • Track Sub- Title

  • Song Description

  • Art Director

  • Arranger

  • Lyricist

  • Acknowledgement

  • Conductor

  • Linear Notes

  • Record Company

  • Original Artist

  • Phonogram Rights

  • Producer

  • Performer

  • Publisher

  • Sound Engineer

  • Soloist

  • Credits

  • Thanks

  • Online Extras

  • Executive Producer

  • Sort Name

  • Sort Artist

  • Sort Album Artist

  • Sort Album

  • Sort Composer

  • Sort TV Show

  • Media Kind

  • HD Video

  • Gapless

  • Artwork

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

subler-0.2.0.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file subler-0.2.0.tar.gz.

File metadata

  • Download URL: subler-0.2.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for subler-0.2.0.tar.gz
Algorithm Hash digest
SHA256 21215c559aeef35d198618c5444e00e1989f8c9264e74287e0b175306114129a
MD5 4e4b6650b3b06677bd18623a144cda0b
BLAKE2b-256 48accaa655afd1fe474aced0a29e3b4fee5c95e90670d9d4be0907e02b27eb9e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page