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. Full documentation can be found on Read The Docs.
Install
Installing is as easy as
$ pip install subler
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()
Release History
0.3.1 (2014-09-14)
Bug fix to keep RTD happy
0.3.0 (2014-09-14)
Addition of subler.utils module for utility functions
More intuitive SublerCLI executable path discovery
Added better shell escaping for SublerCLI arguments
Fixed SublerCLI version property
Fixed tracks property for outputting the track listings of the source file
Subler existing_metadata property is now returned as a list of Atoms
0.2.0 (2014-06-21)
Initial release
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
File details
Details for the file subler-0.3.1.tar.gz
.
File metadata
- Download URL: subler-0.3.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb62bd8f929dfbf230b30fbdbaf7542226cc7987a14ee0655da2ebea36740165 |
|
MD5 | 1169b2640dad282a9f34d9f90df146d1 |
|
BLAKE2b-256 | 49b54578d322c70700d13b0c990ae9d4fd1ac772bc9a6a57996b7e76fefd016c |