Checkpoint
This commit is contained in:
223 files changed
+14770
-18352
No files matched your search
+4
-3
@@ -6,8 +6,9 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/BeatGlow/beatglow/player"
|
||||
"github.com/sirupsen/logrus"
|
||||
|
||||
"github.com/BeatGlow/beatglow/player"
|
||||
)
|
||||
|
||||
// Version number.
|
||||
@@ -63,8 +64,8 @@ func parseStatus(p player.Player, status, track map[string]string) *player.Statu
|
||||
s.Playing = true
|
||||
s.Paused = false
|
||||
case "pause":
|
||||
s.Playing = true
|
||||
s.Paused = false
|
||||
s.Playing = false
|
||||
s.Paused = true
|
||||
}
|
||||
s.Repeat = status["repeat"] == "1"
|
||||
s.Shuffle = status["shuffle"] == "1"
|
||||
|
||||
Reference in new issue
Block a user