Skip to main content

A simple utility to print the ID3/tag info of various files supported by the mutagen package.

Project description

Copyright: (c) 2012 Seth Davis

Synopsis

pytagdump is a simple utility to print the ID3/tag info of various files supported by the “mutagen” package.

Installation

To install, simply:

pip install pytagdump
  • You’ll need to have Python 2.5+ and pip installed.

  • You might have to be root (or use sudo) for pip to install the script into a globally executable directory in your $PATH.

  • For JSON output support, make sure you have at least Python v2.6 (or install the simplejson package for Python v2.5).

  • For YAML output support, make sure you install the PyYAML package.

  • Optonally, you can use pip’s setuptools extras syntax to have either (or both) of these packages automatically installed for you. e.g. pip install pytagdump[JSON,YAML]

  • pip should automatically install mutagen for you, but the advanced user can find it here: http://code.google.com/p/mutagen/

Usage

pytagdump [OPTIONS] file(s)

Examples

pytagdump [OPTIONS] ~/Music/*.mp3

or:

pytagdump [OPTIONS] "~/Music/Rick Astley - Never Gonna Give You Up.mp3"

Options

-j/--json       Dump tag info in the JSON format.
-y/--yaml       Dump tag info in the YAML format.
-i/--info       Include additional meta info (bitrate, length, etc) in tag
                dump.
-s/--size       Include file size (in bytes) in tag dump.
-v/--verbose    Print additional informational messages.

Disclaimers and Warnings

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Latest Changes

v0.3.1 – 02/08/2012

  • Moved JSON/YAML package references to setuptools extras.

  • Added more informative errors to JSON/YAML import failures.

  • Fixed issue where additional meta info wasn’t shown if it was the only tag info available.

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

pytagdump-0.3.1.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file pytagdump-0.3.1.tar.gz.

File metadata

  • Download URL: pytagdump-0.3.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytagdump-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3e5dc3b329c787bdc6c0ee13a395935cd95aa541a31734070bf0131057c4c04b
MD5 5df6eb1a8e42d8d907b166214f8f709c
BLAKE2b-256 e12e08e511e5ccd313dc9a0205b93f859b659bbd22d22f6bbaf8629fe7f3c241

See more details on using hashes here.

Supported by

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