pip3 install -r /path/to/requirements.txt
- Request new token at https://www.discogs.com/settings/developers
- Set token as environment variable
$ export DISCOGSTOKEN=$DISCOGS_API_TOKEN
- Note: replace $DISCOGS_API_TOKEN with token obtained in previous step
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
This is a beta and only adds Genre which is noted as style on Discogs
$ $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