Changeset - b0954240778d
[Not reviewed]
default
0 2 0
drewp@bigasterisk.com - 17 years ago 2008-06-16 00:37:30
drewp@bigasterisk.com
fix bogus asco error after last song. Untested.
2 files changed with 5 insertions and 5 deletions:
0 comments (0 inline, 0 general)
bin/ascoltami
Show inline comments
 
@@ -275,16 +275,16 @@ class GoButton:
 

	
 
    def _nextAction(self):
 
        state = self.player.state.get() 
 
        if state == 'stop':
 
            currentPath = self.player.song_uri
 
            try:
 
                i = self.songURIs.index(currentPath) + 1
 
            except ValueError:
 
                i = 0
 
            nextPath = self.songURIs[i]
 
                nextPath = self.songURIs[self.songURIs.index(currentPath) + 1]
 
            except (ValueError, IndexError):
 
                nextPath = self.songURIs[0]
 
                
 
            return ("next song %s" % shortSongPath(nextPath, self.songURIs),
 
                    lambda: self.player.play(nextPath))
 

	
 
        if state == 'pause':
 
            return "play", self.player.play
 

	
show/dance2008/readme
Show inline comments
 
@@ -110,13 +110,13 @@ next time:
 
  lights.
 

	
 
  bring 500W bulbs, wire strippers
 

	
 
  record-everything mode that makes curves out of whatever happens on stage
 

	
 
  asco makes lots of errors after you play through the last song
 
OK  asco makes lots of errors after you play through the last song
 

	
 
  five second post
 

	
 
  KC should have a separate window that repeats the names of the subs
 
  in the current row, numbered as hardware sliders. This would be put
 
  on the screen where it's always visible, when KC is hidden
0 comments (0 inline, 0 general)