Skip to content

jacobcbeaudin/music-metadata

Repository files navigation

Music Metadata Enhancer

Python 3.11 pre-commit Code style: black security: bandit

Requirements

pip3 install -r /path/to/requirements.txt

API Access

 $ export DISCOGSTOKEN=$DISCOGS_API_TOKEN
  • Note: replace $DISCOGS_API_TOKEN with token obtained in previous step

Write file paths of song files *.flac to a *.txt file

Example of text file:

$ cat /foo/songs.txt
/foo/song1.flac
/foo/song2.flac
/bar/song3.flac

Specifying /foo/songs.txt will evaluate the 3 flac files specified in the text file

Adding Genre to metadata

This is a beta and only adds Genre which is noted as style on Discogs

Running command line tool

$ $PATH_TO_PROJECT/music-metadata/music_metadata_enrichment.py -f $PATH_TO_LIST_OF_SONG_FILE_PATHS_TXT_FILE

The -f flag specifies the list of songs file path

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages