AllMusic music sources
QQMusic and Kugou provide music source APIs for AllMusic. AllMusic handles player commands, the playback queue, and client communication. Sources handle search, song information, playback URLs, covers, and lyrics.
| Source | API ID | Source code | Download |
|---|---|---|---|
| QQ Music | qqmusic | AllMusic_QQMusic | Releases |
| Kugou | kugou | AllMusic_Kugou | Releases |
Installation
- Install AllMusic server software for your platform and the matching client mod for players who want to listen.
- Start once to generate AllMusic's data directory.
- Stop the server or proxy and put the source JAR in
api/inside the AllMusic data directory. A common upstream path isallmusic/api/; use the actual generated directory and platform logs. These sources are not standalone Bukkit plugins. - Start again and confirm that AllMusic recognizes
qqmusicorkugou. - Search with an explicit API ID, for example
/music search qqmusic 晴天or/music search kugou 晴天.
Both sources can load together. defaultApi chooses which source is used when its ID is omitted. Change this entry in AllMusic's config.json while preserving the other settings:
{
"defaultApi": "qqmusic"
}Use "kugou" for Kugou. Restart normally after adding or replacing a source JAR. For configuration-only changes, use the reload procedure supported by your AllMusic version.
Version compatibility
These extensions depend on AllMusic's IMusicApi interface and core objects and target Java 8 bytecode. Actual runtime requirements also depend on AllMusic, the server, and the proxy. For NoSuchMethodError or ClassNotFoundException, match the AllMusic core version used by the extension or rebuild against your core.
The QQMusic and Kugou guides cover song identifiers, cookies, and builds. For livestream chat requests, also install BiliMusicBridge on the same platform.