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
Release history Release notifications | RSS feed
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.7.tar.gz
(125.3 kB
view hashes)
Built Distribution
Close
Hashes for music_validator_micro-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2283c4b659163711802405314c8eb809564cc72f03e87fe038002e167f673ccd |
|
MD5 | de9a181e1f7c18b92e7855164ad30627 |
|
BLAKE2b-256 | e77de7db758e3fa50b0da84ed16ad12212ebe06c41c634be161527ae50456ca9 |
Close
Hashes for music_validator_micro-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ed98984a55d09c641cb8d0e843c4df487fcae41ad2d937be847164bbba03da2 |
|
MD5 | 8bf4ffecb35491082a151077d95a76ad |
|
BLAKE2b-256 | c7a7420263103364a01b84584f12174dda03a81a7027a5786043346a8403a647 |