about summary refs log tree commit homepage
path: root/lib/dtas/player/client_handler.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-09 08:29:15 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-09 08:29:15 +0000
commit5484099e7cc3077ed2bb5631d0f2f33f6df1e483 (patch)
tree895e644de923d0db06aa0e72a02951a33f067334 /lib/dtas/player/client_handler.rb
parent40411aa35b2889ba0ebc919a29d7c895e416ec5e (diff)
downloaddtas-5484099e7cc3077ed2bb5631d0f2f33f6df1e483.tar.gz
Because sometimes a song is just stuck in our head.
Or MPRIS 2.0 wants us to implement it this way...
Diffstat (limited to 'lib/dtas/player/client_handler.rb')
-rw-r--r--lib/dtas/player/client_handler.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dtas/player/client_handler.rb b/lib/dtas/player/client_handler.rb
index c7dd31d..9697f39 100644
--- a/lib/dtas/player/client_handler.rb
+++ b/lib/dtas/player/client_handler.rb
@@ -547,6 +547,7 @@ module DTAS::Player::ClientHandler # :nodoc:
       case msg.shift
       when "true" then @tl.repeat = true
       when "false" then @tl.repeat = false
+      when "1" then @tl.repeat = 1
       when nil
         return io.emit("repeat #{@tl.repeat.to_s}")
       end