Skip to main content

expand ID3 genre metadata

Project description


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.


pip install genre-expand


pip install git+


git clone
cd genre-expand
python install


usage: [-h] -d SEARCH_DIR [-r] [-l LEVEL] [-f] [-s] [-m] [-q]

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



  • 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.



  • Added six to requirements.txt as well
  • Added missing future imports


  • Renamed main file to


  • Fixed location of script entry point
  • Added six module to dependency requirements


  • Initial commit

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for genre-expand, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size genre_expand-0.0.4-py2-none-any.whl (8.0 kB) File type Wheel Python version py2 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page