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.4.tar.gz
(124.1 kB
view hashes)
Built Distribution
Close
Hashes for music_validator_micro-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d869998be11a4d8da2b5e0ee04d2ca64680d85c604b871faca5afcf62fd13f89 |
|
MD5 | beffc01718b9be192e99c1345977092a |
|
BLAKE2b-256 | 40b208775eccec446478425fcc36d3c697d2d0a6e613e1e8dddaa5d74ef07a8b |
Close
Hashes for music_validator_micro-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45aa4ae560c072332a08f47c0ba7713c75a8f3d36aca1faa915dd73ba0a82896 |
|
MD5 | 88d32949ae0efb4dc718d2b74cb413d0 |
|
BLAKE2b-256 | 26e26e2be06658a7ca02c343aff9b5450e7cc3f16c62b1cda8ada1ead4afd4fb |