Skip to main content

A media file tag checker tool, intended to work alone or fit into a larger toolchain

Project description

MusicValidator

Application that provides a series of functions to inspect tag information from media files and validate their presence and correctness.

Features

  • Define libraries by familiar name
  • Pulls all tags from supported media files
  • Stored in a SQLite DB for fast retrieval

Requirements

  • Python 3+
  • MusicManagerMicro
  • MusicCheckerMicro

Usage

from music_validator_micro import MusicValidator as MV
library_name = "MY_MEDIA"
mv = MV(library_name)
report = mv.execute()
# Provides an object of tag properties and the file path that is
# missing them
'''
{
    'TALB':[
        '/media/music/pop/hit_me_baby.mp3'
    ]
    'TIT2':[
        '/media/music/pop/final_countdown.mp3'
    ]
}
'''

Caching

You can safely remove the cache databases in $HOME/$XDG_CACHE/MusicValidatorMicro/<library_name>

Testing

Run pytest in root directory passing in tests directory. Sample audio files are also contained within tests path

Build

python -m build
python -m twine upload dist/*

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

music_validator_micro-0.1.14.tar.gz (126.7 kB view details)

Uploaded Source

Built Distribution

music_validator_micro-0.1.14-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file music_validator_micro-0.1.14.tar.gz.

File metadata

File hashes

Hashes for music_validator_micro-0.1.14.tar.gz
Algorithm Hash digest
SHA256 a19ae43b15e9c0793acf92331fe27a77854d91e694a63406934660e62108dc4a
MD5 1433b70ef4bbbd8742047bfe61d01db8
BLAKE2b-256 e1b3da2b4933bcf9ec102a1c82add47b196725d378b97165ed980ed7289426cb

See more details on using hashes here.

File details

Details for the file music_validator_micro-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for music_validator_micro-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 6894b81f11b84f375bfcc76f11728c519d17ea49612323d76f8b38f6627b4ec5
MD5 a1d275bf7fb51e4ce70efbe5cf1a924f
BLAKE2b-256 42c2e1c115d9b54084c48de6027f72d69c0d1395474aca921e17764fe805499c

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