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.8.tar.gz
(125.4 kB
view hashes)
Built Distribution
Close
Hashes for music_validator_micro-0.1.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6f49e19c695732f9bbc697636278fdac6a0fab2438b0ab544fabba5c775f392 |
|
MD5 | 197faeea205cc6c8d815223100486f9e |
|
BLAKE2b-256 | b8c52fe323d223dddec58ba710b0e7f966d9ddcdb4b4a9f3d1e4dcc40540e556 |
Close
Hashes for music_validator_micro-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a05e271f738d68c597da1aac22d125179c042b31c64f95e0e5178f180b80c89 |
|
MD5 | 86dcd803d17485931e262b98241a0366 |
|
BLAKE2b-256 | 3a2c0f6ca1900d41cde9ad1d69c74d440f149bcf51258797965462cb67c7b42c |