From: Nicolas Berthier Date: Tue, 19 Jul 2011 08:36:31 +0000 (+0200) Subject: Minor change to output debug information optionally. X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=13aa065e4ca102ab7a03bf9b61e5c788a0a06893;p=awesompd.git Minor change to output debug information optionally. --- diff --git a/awesompd.lua b/awesompd.lua index 855a7e8..e2e4c27 100644 --- a/awesompd.lua +++ b/awesompd.lua @@ -353,7 +353,7 @@ function awesompd:get_list_menu() local start_num = (self.current_number - 15 > 0) and self.current_number - 15 or 1 local end_num = (self.current_number + 15 < total_count ) and self.current_number + 15 or total_count for i = start_num, end_num do - print(self.list_array[i]) + dbg (self.list_array[i]) if (string.find(self.list_array[i],"jamendo.com")) then table.insert(new_menu, { self.jamendo_list[awesompd.get_id_from_link(self.list_array[i])], self:command_play_specific(i),