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.9.1.tar.gz
(759.4 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.9.1.tar.gz.
File metadata
- Download URL: py_lav-1.9.1.tar.gz
- Upload date:
- Size: 759.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.2 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1a3f3f0cb8726ff016774e890eb883b3be291afe920ee1c925f78df8660c783
|
|
| MD5 |
f6d140c927ce60d0b208af088d8d2333
|
|
| BLAKE2b-256 |
65967b1f7affb973d7ebaa76b7dc9887f38e2967631eb75a6676334cb300c3c5
|
File details
Details for the file py_lav-1.9.1-py3-none-any.whl.
File metadata
- Download URL: py_lav-1.9.1-py3-none-any.whl
- Upload date:
- Size: 2.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.11.2 Linux/5.15.90.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1004f0f861454ea7c25cd91ee6d94169fbd31478ab848294067300629489a633
|
|
| MD5 |
bc56ce6486428787a5bb006468437131
|
|
| BLAKE2b-256 |
b5f89007111623e1b359cd2eb3adc12a3d9feccad878ac084504c973d28c9105
|