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.music_validator 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.5.tar.gz
(124.5 kB
view hashes)
Built Distribution
Close
Hashes for music_validator_micro-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a6a87aa9b07441b4f75d9a45235bef002e5b5b7b77546f22c02d5c661feb6e2 |
|
MD5 | 2533e85e51c1159b5f6c7ecb39352c84 |
|
BLAKE2b-256 | 75e9916e030bd485ae98f23afea2fbe0c0be31c4c31d7af88fd2a0ff3f852815 |
Close
Hashes for music_validator_micro-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e455e37f5240ba46b4c92784f0506c4010eb09d3073ed486061e57a2ea559e6 |
|
MD5 | 757c588b28dfb8556f8aa13efc2dca3b |
|
BLAKE2b-256 | 42811f1ea7c156b05db568359beae2a3bf021c73ae76c938f85362817bc458c6 |