From a2505707458e7a8af53d9a2e55e1dfac61f6b401 Mon Sep 17 00:00:00 2001 From: Alexander Yakushev Date: Sat, 30 Jul 2011 14:44:15 +0300 Subject: Minor bugfixes --- awesompd.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'awesompd.lua') diff --git a/awesompd.lua b/awesompd.lua index 3b11ad7..4e76258 100644 --- a/awesompd.lua +++ b/awesompd.lua @@ -367,7 +367,7 @@ function awesompd:get_playback_menu() self:command_toggle(), self.ICONS.PLAY_PAUSE }) if self.connected and self.status ~= "Stopped" then - if self.current_number ~= 1 then + if self.list_array[self.current_number-1] then table.insert(new_menu, { "Prev: " .. awesompd.protect_string(jamendo.replace_link( -- cgit v1.2.3