aboutsummaryrefslogtreecommitdiff
path: root/awesompd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awesompd.lua')
-rw-r--r--awesompd.lua2
1 files changed, 1 insertions, 1 deletions
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(