MetaAudio is a Python program that recognises songs using Shazam's service, fetches song metadata, and applies this metadata to the song file.
-
Install FFmpeg:
- Windows:
winget install "FFmpeg (Essentials Build)"
- macOS: Use Homebrew:
brew install ffmpeg
- Linux: Use your distribution's package manager, for example:
sudo apt install ffmpeg
-
Clone this repo
-
Install Python dependencies:
pip install -r requirements.txt
- To recognise songs and update metadata:
python3 metaaudio.py /path/to/your/music/directory
- To remove metadata from all music files in a given directory:
python3 removemetadata.py /path/to/your/music/directory
Misrecognition by Shazam: Sometimes, Shazam's servers may misrecognise a song, resulting in incorrect metadata such as the song's name or artwork being different from what the song actually is. This is a known issue with the Shazam service and not with the MetaAudio tool itself. This is why I created removemetadata.py
.