Skip to content

Commit

Permalink
Implement noReplaceSame option
Browse files Browse the repository at this point in the history
  • Loading branch information
freyacodes committed Dec 29, 2018
1 parent c5fc597 commit fc059de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class WebSocketHandlers(private val contextMap: Map<String, SocketContext>) {
track.position = json.getLong("startTime")
}
}

player.setPause(json.optBoolean("pause", false))
if (json.has("volume")) {
player.setVolume(json.getInt("volume"))
Expand Down

0 comments on commit fc059de

Please sign in to comment.