https://github.com/dangeredwolf/whats-that-song
A Discord bot used to match music in videos and audio files
https://github.com/dangeredwolf/whats-that-song
Last synced: 12 months ago
JSON representation
A Discord bot used to match music in videos and audio files
- Host: GitHub
- URL: https://github.com/dangeredwolf/whats-that-song
- Owner: dangeredwolf
- License: mit
- Created: 2022-09-01T10:03:15.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T19:52:25.000Z (almost 4 years ago)
- Last Synced: 2025-04-04T10:11:12.327Z (over 1 year ago)
- Language: Rust
- Homepage:
- Size: 66.4 KB
- Stars: 17
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
What's That Song?
==
A Discord bot that finds the song given a video or audio file, using Shazam.
Bot written in Rust with Serenity. Interfaces with an internal API written in Python that connects to ShazamIO and yt-dlp.
## Quick start
1. Install Python 3.8 or later (3.10 recommended) and FFmpeg, and Rust toolchain
2. Install the Python API requirements with `pip install -r requirements.txt`
3. Put bot token in `.env`
4. Run `api.py`
5. `cargo build --release && target/release/whats-that-song`
6. Profit
## Limitations
We extract only the first minute of audio out of an audio clip. If music occurs later on in a video or audio clip, it will not be recognized.
Active live streams, and videos longer than 30 minutes, will not be processed using yt-dlp extractor. This is to help keep response times low.