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
 
@@ -278,10 +278,10 @@ class GoButton:
 
        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))
 

	
show/dance2008/readme
Show inline comments
 
@@ -113,7 +113,7 @@ next time:
 

	
 
  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
 

	
0 comments (0 inline, 0 general)