Skip to main content

A Lavalink WebSocket & API wrapper for discord.py

Project description

pre-commit.ci status GitHub license Support Server PyPi Documentation Status Crowdin

Documentation

Installation


Requirements


Supported sources

Built-in:

  • youtube
  • soundcloud
  • bandcamp
  • twitch
  • vimeo
  • http
  • local

With LavaSrc

  • spotify
  • applemusic
  • deezer

With DuncteBot-plugin:

  • getyarn.io
  • clypit
  • tts
  • pornhub
  • reddit
  • 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.3.7.tar.gz (682.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

py_lav-1.3.7-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

Details for the file py_lav-1.3.7.tar.gz.

File metadata

  • Download URL: py_lav-1.3.7.tar.gz
  • Upload date:
  • Size: 682.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for py_lav-1.3.7.tar.gz
Algorithm Hash digest
SHA256 233a128b7a768806b157b5eeca5d773f4b3a4ea4d6b17a4e02d3c9a649640f82
MD5 45da525ba62bdb6501bdad5545ebb111
BLAKE2b-256 d9f3c845e55d155a88e4806453742fac5913256aa606e22ed7db50e81c47a71c

See more details on using hashes here.

File details

Details for the file py_lav-1.3.7-py3-none-any.whl.

File metadata

  • Download URL: py_lav-1.3.7-py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.1 Linux/5.15.0-1031-azure

File hashes

Hashes for py_lav-1.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 f78189ee8c4553f2a5e0924fc361d2adff5748df2d54d274c3def06b7f876e92
MD5 444fa1fb4d424cd43acf76aa36b40706
BLAKE2b-256 623e0b3c8af33ec99d3c271365130f70ca856de2442cfd109d094b9bd87a6d59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page