music¶
A teabot plugin that plays YouTube, SoundCloud and Spotify tracks in a voice channel
- Version: 0.1.0
- Author: Justas Leščinskas
- Contacts: - `youtube.com`, `music.youtube.com`, `youtu.be` and `*.googlevideo.com`: finding and streaming YouTube tracks. - `soundcloud.com` and its media hosts (`*.sndcdn.com`): SoundCloud tracks. - `open.spotify.com`: the public page of a Spotify track, for its title and artist, through `ctx.http`, which is the host in `Plugin(..., hosts=[...])`. No Spotify account or key. yt-dlp and PyAV reach YouTube and SoundCloud themselves, since a stream's host, such as `rr1---sn-4p8xjp.googlevideo.com`, changes with each track and cannot be declared by name. Links to any other site are refused, so members cannot point the bot at an arbitrary address.
- Installs:
av>=14,yt-dlp>=2026.10.26,yt-dlp-ejs>=0.8,requests>=2.32,certifi>=2024.2,deno>=2.4 - Licence: MIT License
Every version was reviewed at the commit shown. Teabot installs the newest one its own version runs.
| Version | Commit | Runs on |
|---|---|---|
| 0.1.0 | 9a874faabf30 |
teabot>=1.9,<2 |
| 0.1.0 | 1beda585e711 |
teabot>=1.9,<2 |
Use it¶
On the official Teabot¶
The official Teabot does not offer it yet. Its operator chooses which plugins it runs.
On your own teabot¶
In your instance's folder:
Without uv on the machine:
docker compose run --rm uv add "teabot-music @ git+https://github.com/L3sius/teabot-music.git@9a874faabf30343efd10ed7b3806d2a4375725d9"
Then rebuild with docker compose up -d --build, and switch it on in your teabot's site or with
/plugins enable. See Adding plugins.
Back to: the plugin hub