]> gitweb.fluxo.info Git - awesompd.git/commitdiff
don't report bug if mpd is updating its database
authorBrandon Bowlby <cdsboy@cdsboy.com>
Fri, 2 Mar 2012 01:34:18 +0000 (19:34 -0600)
committerBrandon Bowlby <cdsboy@cdsboy.com>
Fri, 2 Mar 2012 01:34:18 +0000 (19:34 -0600)
awesompd.lua

index 9a17d97b398278a66c471fbc5fbc623bcfd6f638..a9e38a6936d3958c0e4b96f807fab53b4de4b4df 100644 (file)
@@ -909,7 +909,7 @@ function awesompd:update_track(file)
         self.recreate_menu = true
          self:update_widget_text()
       end
-      if string.find(track_line,"volume:") then
+      if string.find(track_line,"volume:") or string.find(track_line,"Updating DB") then
         if self.status ~= awesompd.STOPPED then
             self.status = awesompd.STOPPED
            self.current_number = 0