about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2013-09-10 03:34:18 +0000
committerEric Wong <normalperson@yhbt.net>2013-09-10 03:34:18 +0000
commita25a4b15617cc488565a5baf095af49b5f0a182a (patch)
treeb1ac568caeae2e408c4edc581108503f40fec88c /lib
parent3ac60604819dab0820ed621275bbe574eb48a6af (diff)
downloaddtas-a25a4b15617cc488565a5baf095af49b5f0a182a.tar.gz
We should only reset the tracklist if the user has completely
iterated through the list of tracks to be played.
Diffstat (limited to 'lib')
-rw-r--r--lib/dtas/player.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/player.rb b/lib/dtas/player.rb
index 6236be6..62dde03 100644
--- a/lib/dtas/player.rb
+++ b/lib/dtas/player.rb
@@ -393,7 +393,7 @@ class DTAS::Player # :nodoc:
   end
 
   def player_idle
-    @tl.reset
+    @tl.reset unless @paused
     wall("idle")
   end