aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yakushev <yakushev.alex@gmail.com>2010-11-01 20:54:00 +0200
committerAlexander Yakushev <yakushev.alex@gmail.com>2010-11-01 20:54:00 +0200
commit2396661d1024abb824a7ea376791b6016ef688d8 (patch)
treee7ea215812fd3fe0436eacad2772678e773f4c7f
parent8991acbf2cc12eb59ec649a9f8073af2cbe2af4f (diff)
parentc56c02cb48defa43aae6d3a1d9ac727ba0fb586c (diff)
downloadawesompd-2396661d1024abb824a7ea376791b6016ef688d8.tar.gz
awesompd-2396661d1024abb824a7ea376791b6016ef688d8.tar.bz2
Merge branch 'master' into develop
-rw-r--r--awesompd.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/awesompd.lua b/awesompd.lua
index 549d61b..1f7a6ad 100644
--- a/awesompd.lua
+++ b/awesompd.lua
@@ -499,6 +499,7 @@ function awesompd:update_track()
if self.status ~= "Stopped" then
self.status = "Stopped"
self.current_number = 0
+ self.recreate_menu = true
self.recreate_playback = true
self.recreate_list = true
end
@@ -507,6 +508,7 @@ function awesompd:update_track()
if new_track ~= self.text then
self.text = new_track
self.to_notify = true
+ self.recreate_menu = true
self.recreate_playback = true
self.recreate_list = true
self.current_number = tonumber(self.find_pattern(info_ar[2],"%d+"))