We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37a678d commit c55e7cdCopy full SHA for c55e7cd
1 file changed
plugins/control.rb
@@ -106,14 +106,15 @@ def state_handling_if_alone()
106
end
107
108
109
- # mute myself and save that I've done it myself
+ # Mute myself and save that I've done it myself
110
selfmute true
111
else
112
- # only unmute me if I've muted myself before
+ # Only unmute me if I've muted myself before
113
selfmute false
114
- # start playing only I've stopped myself
+ # Start playing only I've stopped myself; in case of a stream played unpause does not apply.
115
if @playing == false
116
@@bot[:mpd].pause = false
117
+ @@bot[:mpd].play #This line is a quick and ugly fix to start a stream that was stopped instead of paused.
118
@playing = true
119
120
0 commit comments