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.12.tar.gz
(126.2 kB
view hashes)
Built Distribution
Close
Hashes for music_validator_micro-0.1.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e7fc132024b60ff13b0f94b129dd23d0877e6722ab227cdc3f3131c36767916 |
|
MD5 | fb003da4d1d978ac7fce955b45ab03d9 |
|
BLAKE2b-256 | fa10f4406c8be7cda285b5f1906aa23ccc039297739e814a4444bba49d845cbe |
Close
Hashes for music_validator_micro-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8e1d482d36b570ff7906d8e88620edc05650db078ed01a4899a6bddadf0a740 |
|
MD5 | b55e044d11a97c9f62af8c065b28c2ce |
|
BLAKE2b-256 | 9ea76ac2a5558b4a98923c14ba5c5b61e6b176a4f63f36d60de61c55fbe4073d |