genre-expand
Expand ID3 genre metadata using Wikipedia
Update or replace ID3 genre metadata of MP3 files using data extracted from Wikipedia. Can recursively expand metadata of music directories with or without the need for user confirmation. Allows for topic disambiguation by the user to improve precision, as well as the option to only fill in missing genres.
Installation
pip install genre-expand
or
pip install git+https://github.com/huntrar/genre-expand.git#egg=genre-expand
or
git clone https://github.com/huntrar/genre-expand cd genre-expand python setup.py install
Usage
usage: genre-expand.py [-h] -d SEARCH_DIR [-r] [-l LEVEL] [-f] [-s] [-m] [-q]
[-v]
expand ID3 genre metadata
optional arguments:
-h, --help show this help message and exit
-d SEARCH_DIR, --search-dir SEARCH_DIR
directory to search
-r, --recursive recursively search directories
-l LEVEL, --level LEVEL
depth of directories to recurse
-f, --force do not prompt user ever
-s, --force-save save files without prompt
-m, --missing-only only expand missing genres
-q, --quiet suppress status and error messages
-v, --version display current version
Notes
Choosing the ‘force’ option will remove the need for prompts, but will also avoid making changes where a choice is ambiguous. If you want to disambiguate topics but skip other confirmations, use the ‘force save’ option.
The ‘missing only’ option is available for only expanding tags with missing genre metadata, preventing overwrites of existing genres.
News
0.0.4
Added six to requirements.txt as well
Added missing future imports
0.0.3
Renamed main file to genre_expand.py
0.0.2
Fixed location of script entry point
Added six module to dependency requirements
0.0.1
Initial commit
Metadata
Release files for genre-expand 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| genre_expand-0.0.4-py2-none-any.whl | Python 2 | none | any | Details for genre_expand-0.0.4-py2-none-any.whl |
Release files / genre_expand-0.0.4-py2-none-any.whl
| Download URL | genre_expand-0.0.4-py2-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
ae30ac7cbaf69ec3e6a4232c36c0a5b143ee633baa8b5d5eba0f3ed9efeabb5f
|
|
BLAKE2b-256 checksum How to use checksums |
8dd1aa90d22321f6914de6a655000de6e93c8bc90392055087e343be85e64464
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for genre-expand 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.