Enhanced lyric retrieval plugins for ESLyric with Gemini AI-powered title normalization for more accurate lyric fetching.
This project includes lyric retrieval plugins for the following music services:
- kugou.js - KuGou Music
- musixmatch.js - Musixmatch
- netease.js - NetEase Cloud Music
- qqmusic.js - QQ Music
- 🎵 Fetch lyrics from multiple music services
- 🧠 Gemini AI-powered song title normalization
- 🔍 Automatic removal of cover versions, remixes, and annotations
- 📝 Synchronized lyrics support (LRC, QRC)
- ⚙️ Configurable API keys and options
To use these plugins with ESLyric:
- Copy the
.jsfiles to your ESLyric plugins directory - Enable the plugins in ESLyric
For enhanced lyric search accuracy, configure Gemini AI:
- Get an API key from Google AI Studio
- Configure in ESLyric:
gemini_enabled= "1"gemini_api_key= "YOUR_API_KEY_HERE"
You can also edit the default values directly in each file:
const DEFAULT_GEMINI_ENABLED = true; // true/false
const DEFAULT_GEMINI_API_KEY = "YOUR_API_KEY_HERE";- Play a song in ESLyric
- Trigger lyric retrieval
- The plugins will automatically:
- Normalize the song title
- Search multiple services for lyrics
- Return the best matching lyrics
少女レイ / みきとP cover 9Lana→少女レイのだ covered by Mirea Sheltzs ・陽月るるふ・よしか⁂【歌ってみた】→のだKING feat. Kanaria (Official MV)→KING
- Artist names, composers, arrangers, producers
- feat./ft./featuring
- ver./version/MV/PV/live/remix/short/full
- Cover versions, covered by, 歌ってみた, 翻唱
- Hashtags, emojis, annotations 【】()[]
- Information after delimiters (/, /, |, |, -, ・, ·, ~, 〜)
- LRC - Standard lyric format
- QRC - QQ Music extended format
- KRC - KuGou Music proprietary format
- Gemini AI:
generativelanguage.googleapis.com - KuGou Music:
lyrics.kugou.com - Musixmatch:
apic-desktop.musixmatch.com - NetEase Cloud Music:
music.163.com - QQ Music:
c.y.qq.com,u.y.qq.com
-
No lyrics found
- The song title may contain extra information
- Try enabling Gemini AI functionality
-
Gemini AI not working
- Verify API key is correctly configured
- Check if API quota is available
-
Error messages
- Check ESLyric logs
- Verify network connectivity
This project is open source. Please use in accordance with each music service's terms of service.
- NetEase Cloud Music API: NeteaseCloudMusicApi
- QQ Music API: QQMusicApi, QRCD
- Encryption: crypto-es
Pull requests and issue reports are welcome.