Changeset - 87b14afaa00e
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 18 years ago 2007-06-16 16:02:11
drewp@bigasterisk.com
ascoltami: RDF-ify the Go button
Go, RDF, go!
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/ascoltami
Show inline comments
 
@@ -256,13 +256,13 @@ class GoButton:
 

	
 
        self.player.current_time.trace("w", self.updateStatus)
 

	
 
    def _nextAction(self):
 
        state = self.player.state.get() 
 
        if state == 'stop':
 
            currentPath = self.player.filename_var.get()
 
            currentPath = self.player.song_uri
 
            try:
 
                i = self.songPaths.index(currentPath) + 1
 
            except ValueError:
 
                i = 0
 
            nextPath = self.songPaths[i]
 
            return ("next song %s" % shortSongPath(nextPath,
0 comments (0 inline, 0 general)