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.2.tar.gz
(124.0 kB
view hashes)
Built Distribution
Close
Hashes for music_validator_micro-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 676550115f3dd098ebaba672751da9f4be8d7a6e04a6a6821906568fb81d4cef |
|
MD5 | 4bfcbd7852ca2a4c425cb31f90de3d33 |
|
BLAKE2b-256 | 5f0348f46afea6e817ffb84f70d94e04d521919f04902bee31fd98b7def19701 |
Close
Hashes for music_validator_micro-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0ba38b43c66b280d6c501771724197a6a8c408d77e0ba3de0258de293f847c4 |
|
MD5 | cf83430ce3940935c93ec5630bc2e399 |
|
BLAKE2b-256 | 2d7617ff2d1f53977342be91cc1e89947d942e6e95019d6be2eda48cba3fc940 |