aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Berthier <nicolas.berthier@imag.fr>2011-07-19 10:36:31 +0200
committerNicolas Berthier <nicolas.berthier@imag.fr>2011-07-19 10:36:31 +0200
commit13aa065e4ca102ab7a03bf9b61e5c788a0a06893 (patch)
tree6d788c76252129866ca864311bc7d712d32d3057
parentc823fb9f52e51829d2c2767e4d660d22f0089a23 (diff)
downloadawesompd-13aa065e4ca102ab7a03bf9b61e5c788a0a06893.tar.gz
awesompd-13aa065e4ca102ab7a03bf9b61e5c788a0a06893.tar.bz2
Minor change to output debug information optionally.
-rw-r--r--awesompd.lua2
1 files changed, 1 insertions, 1 deletions
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),