davidAlgis / mp3ShazamAutoTag

Use shazam to rename and filled the tag of a list of mp3 files
MIT License
14 stars 3 forks source link
mp3 mp3-tags python shazam shazam-api

MP3 File Recognizer and Renamer

This Python script automatically recognizes MP3 files using Shazam, renames them according to the recognized song title and artist, and updates their MP3 tags and cover art.

Installation

Before running the script, you need to install the required Python libraries. You can install them using the provided requirements.txt file.

pip install -r requirements.txt

Usage

Ensure you have Python 3.6 or newer installed on your system, there might be some problem with 3.11 and 3.12 (cf. issue https://github.com/davidAlgis/mp3ShazamAutoTag/issues/1). Also MacOS seems to have some problems to install shazamio, maybe it's necessary to install it manually (cf. issue https://github.com/davidAlgis/mp3ShazamAutoTag/issues/5). Clone this repository or download the script and requirements.txt file. Install the required libraries as mentioned above. To use the script, run it from the command line with the desired options:

python main.py  [options]

Options