Skip to content

Commit

Permalink
Merge pull request Just-Some-Bots#1901 from TheerapakG/bug_rv_volumen…
Browse files Browse the repository at this point in the history
…otupdate

[review] Fix volume not update until song finishes
  • Loading branch information
Jayden Bailey authored May 12, 2019
2 parents 633cfb3 + f6b482d commit 2801622
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions musicbot/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ def volume(self):
@volume.setter
def volume(self, value):
self._volume = value
if self._current_player:
self._current_player.source.volume = value
if self._source:
self._source._source.volume = value

def on_entry_added(self, playlist, entry):
if self.is_stopped:
Expand Down

0 comments on commit 2801622

Please sign in to comment.