You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Rename some errors, support Union[int, str] for user_id
* Expose AuthenticationError
* Ambiguous no more
* Update get_tracks returns
* Fix dispatching to empty hook lists
* Bump aiohttp
* Fix slight mistake in example cog.
* Readme QoL change.
* Use a link reference instead
* Start on filter stuff
* Update license stuff
* Fix CI badge
* Fix broken doc ref
* Finishing up filter stuff maybe
* Specify decode_errors when decoding author too
* Exceptions -> Errors, more reliably pull WS close code, handle ConnectionResetError
* Didn't mean to push this loool
* Add utfm decoding capabilities
* Fix equalizer failing to serialize
* forgot an await, oops
* Reorder player_manager funcs
* Fix docs & expand parameter names
* Update Lavalink URL
* Fix Python 3.5 support not displayed in badge (#109)
lol
* Update example to use voice client (#116)
* Update example to use voice client
discord.py 2.0 removed the `on_socket_response` event. This resulted in
Lavalink.py not being able to forward the events. At least in the
current implementation of the example.
We now use the preferred way of using the VoiceProtocol to forward the
voice events to Lavalink.
* Set player.channel_id to None manually
* support new lavalink exception format (#105)
* Bump min aiohttp version
* Update copyright
* who did this
* Update license 2
* Making a note of this issue
* Bump aiohttp upper version
* Slight adjustments to strings
* Expose previously unused variables 'position' and 'encoder_version'
* Clarify some units in Stats.py
* Logging message consistency
* Remove superfluous log call in _node_disconnect
* Logging consistency
* Init node with empty stats object
* scheisse
* Redundant logic check as this will be zero anyway
* int() guild_id in create, add doc link to DefaultPlayer
* Doc consistency in playermanager.py
* Document player.channel_id attr
* More documentation updates
* Finalise guild_id -> int change
* Lavalink.py v4.0.0
* 0.0 is the default gain
* Add timestamp_to_millis helper function.
* Linting
* Register auto docs for new things
* Minor docs changes again
* How much other stuff is missing???
* cmon
* Fixing docs build error
* Add filter limits, allow passing str to Player.X_filter, add filter TODOs
* Fix docs formatting
* Add missing list call
* Avoid handling TrackStartEvent to prevent None being fired
* Rotation filter
* Low Pass filter
* Add channelmix + lint
* Add missing __ to init
* Add filter command to example cog.
* Lavalink appears to have exception handling for this...
* Mark set_gain(s) & reset_equalizer as deprecated, add docs for remove_filter.
* Enlarge deprecation warning
* Move deprecation warning last to ensure func summary still works as intended
* Distortion filter
* Lint
* New year new me xx
* doc stuff
* forgot to cd out of docs/
* update readme badge
* Support volume filter
* Enforce 0 < volume < 5
* Support connected in PlayerUpdateEvent
* Linting
* Small cleanups
* new codacy badge
* Implement DeferredAudioTrack
* Linting
* Imports & docs
* Custom source support
* Implement hash for source
* Implement handling for info attribute access in AudioTrack
* More docstrings, a little more consistency
* Clarify docs.
* Adjust player.add parameters, docs
* Fix an issue with track needing to be declared, improve compatibility
* Oversight
* Implement two more docstrings in Client.
* Custom Source provider example
* If check to avoid returning bogus track on every query.
* Enum documentation
* missing ,
* self._raw in AudioTrack
* slotssssssss
* lets gloss over this ok
* Copy-paste RIP
* Fix typo in custom_source.py
* Add player.destroy shortcut
* Reluctantly support passing AudioTrack to AudioTrack
* Don't overwrite requester
* Remove AudioTrack construction from example cog
* Access attributes directly in example cog
* Filter descriptions.
* an -> a
* Support position + sourceName fields
* Correctly reflect that track is Optional
* Close any existing websockets before connecting
* support volume + pause in play op
* Fix volume not having an immediate effect
* Add @lavalink.listener decorator support
* Clarify listener decorator
* forgot to cd out of docs again lol
* Add player.update_filter, improve docs
* Ensure provided filter is a class not instance
* Instances passed to issubclass will throw, catch that.
* subclass check in other x_filter commands
* Add custom source to README
* Updating readme
* Reducing duplicated code in client
* Fixing a slight oversight
* Sorting out comment lines a little lol
* Remove unused import from example/music.py
* Experimental command-line tools
* Support SSL on nodes
* Use pythonic naming
* Add clear_filters()
* Only apply endTime if > 0
* On second thoughts, move endTime check AFTER sanity check
Co-authored-by: AlexFlipnote <[email protected]>
Co-authored-by: sh0tx420 <[email protected]>
Co-authored-by: Eric Schneider <[email protected]>
Co-authored-by: Rob Wainwright <[email protected]>
Lavalink.py is a wrapper for [Lavalink] which abstracts away most of the code necessary to use Lavalink, allowing for easier integration into your projects, while still promising full API coverage and powerful tools to get the most out of it.
5
11
6
-
Lavalink.py is a wrapper for [Lavalink](https://github.com/Frederikam/Lavalink) which abstracts away most of the code necessary to use Lavalink, allowing for easier integration into your projects, while still promising full API coverage and powerful tools to get the most out of it.
12
+
# What is Lavalink?
13
+
Lavalink is standalone audio sending software capable of transmitting audio to Discord, utilising Lavaplayer for audio transcoding. It can be configured to work independently, or as part of a cluster depending on needs, which allows it to be highly scalable and performant. Head over to the [Lavalink] repository to find out more.
7
14
8
15
# Getting Started
9
16
First you need to run a command to install the library,
10
17
```shell
11
18
pip install lavalink
12
19
```
13
20
14
-
Then you need to setup the Lavalink server, you will need to install Java, and then download the latest [Lavalink.jar](https://github.com/Frederikam/Lavalink/releases/).
15
-
Then place an ``application.yml`` file in the same directory. The file should look like [this](https://github.com/Frederikam/Lavalink/blob/master/LavalinkServer/application.yml.example/). Finally run `java -jar Lavalink.jar` in the directory of the jar.
21
+
Then you need to setup the Lavalink server, you will need to install Java, and then download the latest [Lavalink.jar](https://github.com/freyacodes/Lavalink/releases/).
22
+
Then place an ``application.yml`` file in the same directory. The file should look like [this](https://github.com/freyacodes/Lavalink/blob/master/LavalinkServer/application.yml.example/). Finally run `java -jar Lavalink.jar` in the directory of the jar.
16
23
17
24
Additionally, there is an [example cog](examples). It should be noted that the example cog is oriented towards usage with Discord.py rewrite and Lavalink v3.1+, although backwards
18
25
compatibility may be possible, it's not encouraged nor is support guaranteed.
@@ -21,7 +28,8 @@ compatibility may be possible, it's not encouraged nor is support guaranteed.
21
28
- Regions
22
29
- Multi-Node Support
23
30
- Load Balancing (this includes region-based load balancing)
24
-
- Equalizer
31
+
- Audio Filters
32
+
-[Custom Sources](examples/custom_source.py)
25
33
26
34
## Optional Dependencies
27
35
*These are used by aiohttp.*
@@ -39,7 +47,7 @@ It is highly recommended that you invest in a dedicated server or a [VPS](https:
39
47
The exception to the "unsupported platforms" rule are ARM-based machines, for example; a Raspberry Pi. While official Lavalink builds do not support the ARM architecture, there are [custom builds by Cog-Creators](https://github.com/Cog-Creators/Lavalink-Jars/releases) that offer ARM support. These are the official builds, with additional native libraries for running on otherwise unsupported platforms.
Copy file name to clipboardExpand all lines: docs/index.rst
+3-3
Original file line number
Diff line number
Diff line change
@@ -17,14 +17,14 @@ Welcome to Lavalink.py's documentation!
17
17
18
18
\
19
19
Lavalink.py is a wrapper for which `Lavalink
20
-
<https://github.com/Frederikam/Lavalink/>`_ abstracts away most of the code necessary to use Lavalink to allow for easier integration into your bots, while still promising full API coverage and powerful tools to get the most out of it.
20
+
<https://github.com/freyacodes/Lavalink/>`_ abstracts away most of the code necessary to use Lavalink to allow for easier integration into your bots, while still promising full API coverage and powerful tools to get the most out of it.
21
21
22
22
**Features:**
23
23
24
24
- Regions
25
25
- Multi-Node Support
26
26
- Load Balancing (this includes region-based load balancing)
27
-
- Equalizer
27
+
- Audio Filters
28
28
29
29
**Support:**
30
30
@@ -33,4 +33,4 @@ Welcome to Lavalink.py's documentation!
Copy file name to clipboardExpand all lines: docs/quickstart.rst
+3-3
Original file line number
Diff line number
Diff line change
@@ -3,14 +3,14 @@ Quickstart
3
3
4
4
Setting up Lavalink server
5
5
--------------------------
6
-
Download the latest `Lavalink.jar <https://github.com/Frederikam/Lavalink/releases/>`_
7
-
Place an ``application.yml`` file in the same directory. The file should look like `this <https://github.com/Frederikam/Lavalink/blob/master/LavalinkServer/application.yml.example/>`_.
6
+
Download the latest `Lavalink.jar <https://github.com/freyacodes/Lavalink/releases/>`_
7
+
Place an ``application.yml`` file in the same directory. The file should look like `this <https://github.com/freyacodes/Lavalink/blob/master/LavalinkServer/application.yml.example/>`_.
8
8
9
9
Run ``java -jar Lavalink.jar`` in the directory of the jar.
10
10
11
11
Using Lavalink.py
12
12
-----------------
13
-
This only applies if you are using the library `Discord.py <https://github.com/Rapptz/discord.py/>`_ and with `Lavalink v3.1+ <https://github.com/Frederikam/Lavalink/releases/>`_
13
+
This only applies if you are using the library `Discord.py <https://github.com/Rapptz/discord.py/>`_ and with `Lavalink v3.1+ <https://github.com/freyacodes/Lavalink/releases/>`_
14
14
Although backwards compatibility may be possible, it's not encouraged nor is support guaranteed.
15
15
16
16
Place the `example cog <https://github.com/Devoxin/Lavalink.py/blob/master/examples/music.py>`_ in your cogs folder or anywhere in your bot's file directory.
0 commit comments