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.2.tar.gz (683.4 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.2-py3-none-any.whl (1.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: py_lav-1.3.2.tar.gz
  • Upload date:
  • Size: 683.4 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.2.tar.gz
Algorithm Hash digest
SHA256 76f87f2d54f90290b9b45d7f0c9cea670e2b89f6308a037ac0db147d2e91ae5f
MD5 f2f52439ec177a67bd6c06a46d6ca692
BLAKE2b-256 8f58cdead7b991c00cff2b9017172ea85f5b4e4a648afe548a6985beb646337c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: py_lav-1.3.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b48d11aef4d8ab9a578f3a678bb0ac14bc622d21a6a0c5bf12820f40ab9fc756
MD5 eae1c46ec066e48a05df38a370a10f7b
BLAKE2b-256 82ad628c61c7e8895b77f04e214defb9177d942771489251675e2fda4d4a3b90

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