From 0a2c2084eaca34fb869ee338315e91cbf809212f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 9 Sep 2013 07:45:22 +0000 Subject: tracklist: next_track -> advance_track This is a more accurate depiction of what happens, and we'll implement "next" and "previous" commands in the future. --- lib/dtas/tracklist.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/dtas/tracklist.rb') diff --git a/lib/dtas/tracklist.rb b/lib/dtas/tracklist.rb index a51db32..e0b00cb 100644 --- a/lib/dtas/tracklist.rb +++ b/lib/dtas/tracklist.rb @@ -65,7 +65,7 @@ class DTAS::Tracklist @list.map { |t| t.object_id } end - def next_track(repeat_ok = true) + def advance_track(repeat_ok = true) return if @list.empty? next_pos = @goto_pos || @pos + 1 @goto_pos = nil -- cgit v1.2.3-24-ge0c7