A Lavalink WebSocket & API wrapper for discord.py
Project description
Documentation
Installation
Requirements
- PostgresSQL 14 server
- MacOS: PostgresSQL
- Windows: PostgresSQL
- Linux: PostgresSQL
- Python 3.11
- Discord.py 2.1.0+ bot
- Lavalink v4.0.0+ server
Supported sources
Built-in:
- youtube
- soundcloud
- bandcamp
- twitch
- vimeo
- http
- local
With LavaSrc
- spotify
- applemusic
- deezer
With DuncteBot-plugin:
- getyarn.io
- clypit
- tts
- pornhub
- ocremix
- tiktok
- mixcloud
- soundgasm
With Google Cloud TTS:
- gcloud-tts
With Sponsorblock-Plugin:
- sponsorblock
Supported Lavalink features
- Supports all features of Lavalink
- Filters
- IP Rotation
- Plug-ins
Features
- Multiple node support
- Node region assignment based on IP
- Track cache for the last 30 days to reduce the number of duplicated queries
- Managed local node with auto-restart and auto update
- Many helper methods and functions
- Support for multiple cogs to access the library at once
- Playlists and EQ saved at a library level to be shared with cogs
- Player state persistence
- Upon library state being shutdown all player states are saved and restored on library startup
- History of played tracks available for players
- RadioBrowser.org API to retrieve radio stations available for players
- Lyrics API to retrieve lyrics for tracks provided by Flowery
- M3U, PLS and PYLAV text file parser to convert contents into a playlist (p.s. Lavalink must support the format/coded of files still)
Credits
- Topi for all the work done to Lavalink and implementing direct requests to make PyLav even better.
- Devoxin - Lavalink.py for the original ideas for implementation.
- Ryan for the amazing Lyrics API used for lyrics.
- globocom/m3u8 for the M3U8 parser which I made asynchronous found in m3u8_parser.
- andreztz/pyradios for the radio parser which I made asynchronous found in radio.
- Lifeismana for the custom Red-DiscordBot docker image which added Python3.11 support until Phasecore's image is updated.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
py_lav-1.0.13.tar.gz
(666.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_lav-1.0.13.tar.gz.
File metadata
- Download URL: py_lav-1.0.13.tar.gz
- Upload date:
- Size: 666.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1024-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39f39cd0ff440326274fb33bdb6ea1c5e085c543784babb8c32f66f94c859dae
|
|
| MD5 |
26d6db91f1d58e1ee3d76bb055c49e86
|
|
| BLAKE2b-256 |
39262ef4b33ae1a920807f5e6c1212358b21c0beb741d0318986691860b84add
|
File details
Details for the file py_lav-1.0.13-py3-none-any.whl.
File metadata
- Download URL: py_lav-1.0.13-py3-none-any.whl
- Upload date:
- Size: 1.8 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.1 CPython/3.11.1 Linux/5.15.0-1024-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d814237f98d2b08afd4680bfef2fbf5533b6d8d814323851e377baf1e41ca09
|
|
| MD5 |
2e0838d9d0b10ecd05dce80c061a358d
|
|
| BLAKE2b-256 |
e1c5712aefd38a76d76b090fd0a4d9d78edf0d8015693d1ef62af2c8cabb2caf
|