From a25a4b15617cc488565a5baf095af49b5f0a182a Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 10 Sep 2013 03:34:18 +0000 Subject: player: do not reset tracklist if paused We should only reset the tracklist if the user has completely iterated through the list of tracks to be played. --- lib/dtas/player.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.3-24-ge0c7