Skip to content

4.0.0 #126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 75 commits into from
Aug 18, 2022
Merged

4.0.0 #126

merged 75 commits into from
Aug 18, 2022

Conversation

devoxin
Copy link
Owner

@devoxin devoxin commented Aug 18, 2022

Checks and guidelines:

  • Have you checked that there aren't other open Pull Requests for the same update/change?
  • Have you checked that only single quotes are used in the code, apart from the doc-strings?
  • Have you run a lint program on your code prior to submission?
  • Have you checked if python run_tests.py returns no errors?

Tests output: N/A

Type of change

  • Bug fix
  • New feature
  • Improvement
  • Breaking change
  • This change is a documentation update

Describe the changes:

devoxin and others added 30 commits January 17, 2021 20:20
* 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]>
devoxin and others added 29 commits June 8, 2022 23:23
* Fix bugs

Corrects the requester and also fixes start_time and end_time

* oops

* Fixed bugs

Corrected requester and also fixed start_time and end_time
@devoxin devoxin merged commit 68ac818 into master Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants