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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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