Skip to main content

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

Author

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

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)

Table of built distributions (wheels) for genre-expand 0.0.4
File Interpreter ABI Platform
genre_expand-0.0.4-py2-none-any.whl Python 2 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page