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.3.tar.gz
(124.0 kB
view hashes)
Built Distribution
Close
Hashes for music_validator_micro-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57ce9cc78bd2f7c70e9c7b047cc64c1596f1573ef468b59c9641420e16b6bd8 |
|
MD5 | 4ae0166a214aa9b14da48b0af1c7a447 |
|
BLAKE2b-256 | 791cb85a77cc576da9509dcc32712a9510cc34fe2bde895b23b9e610bd656a2b |
Close
Hashes for music_validator_micro-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95d5dd2600bd759379d5b6108a527a2eee39666db26db06bebba59f5cdfccadb |
|
MD5 | 94529ddd760f8df868c5fd5f74422cef |
|
BLAKE2b-256 | c644bf877db94ddb5295e68fce9b7dbc93416bce7c59552007d6b68c346c9c41 |