Skip to content

Conversation

@NachtRaben
Copy link

Volume will get overridden if we call LavalinkPlayer.playTrack() if we set the volume via filters as the Deprecation specifies. This should resolve the issue and not send the volume if the filters are initialized.

@NachtRaben NachtRaben changed the title Don't sent volume in play op if we are using filters Don't send volume in play op if we are using filters Apr 19, 2021
@GigaFyde
Copy link

Can we get this merged? @freyacodes

@freyacodes
Copy link
Owner

I don't like this. This can cause some unexpected behavior.

  1. If the volume is changed it can't later be changed again while a filter is set
  2. You are checking if any filter is present, even if those filters don't change the volume

The volume setting is also no longer deprecated. The disadvantage of filters is that they take a bit of time to come into effect, which is uncomfortable.

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