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.9.tar.gz
(125.6 kB
view hashes)
Built Distribution
Close
Hashes for music_validator_micro-0.1.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 246eb0e11612ad4dbb864a7c61486c554a6acf4f5ef4e0a36c5441f4944930ec |
|
MD5 | e475b32ac38bbec9da83f8bf9f303c3b |
|
BLAKE2b-256 | 5dbc1d32eb4412b8c43c48b20f0aa3a31a705f9ccbc867d0d8dc02ff3b4dfc7c |
Close
Hashes for music_validator_micro-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52345a00e925586188d5638df85f05010e145ab2b3ad3b8edc52a1d3a692de19 |
|
MD5 | e030b4fd7aea7cd404a81518c6567ba2 |
|
BLAKE2b-256 | 1b52294f1d015509dc9c00f60c5a0e5dff913855fc4c4199cb0c8883c9fb4719 |