Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Commit

Permalink
Fix #156: Audio not stopping after forceskip
Browse files Browse the repository at this point in the history
  • Loading branch information
matthieugrieger committed Jun 25, 2016
1 parent b24417d commit 48ce224
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
MumbleDJ Changelog
==================

### June 25, 2016 -- `v3.0.6`
* Fixed an issue with `!forceskip` not stopping audio playback.

### June 25, 2016 -- `v3.0.5`
* Fixed admin settings not being respected.

Expand Down
2 changes: 1 addition & 1 deletion commands/forceskip.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (c *ForceSkipCommand) Execute(user *gumble.User, args ...string) (string, b
return "", true, errors.New(viper.GetString("commands.common_messages.no_tracks_error"))
}

DJ.Queue.Skip()
DJ.Queue.StopCurrent()

return fmt.Sprintf(viper.GetString("commands.forceskip.messages.track_skipped"),
user.Name), false, nil
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func init() {
services.DJ = DJ
bot.DJ = DJ

DJ.Version = "v3.0.5"
DJ.Version = "v3.0.6"

logrus.SetLevel(logrus.WarnLevel)
}
Expand Down

0 comments on commit 48ce224

Please sign in to comment.