And the function below for modifying filename and call play
def onCheck_loop(self, path): #Loads file and calls play function
self.path = path.strip()
if not self.player.Load(path):
wx.MessageBox("Unable to Play this file, it is in the wrong format")
self.SetTitle("Now Playing %s" %(self.path,))
def onFinished_playing(self, evt):
print "Finished, starting next track"
self.onSetPath_loop() #detects finished song and calls another function to Load file
def onPlay(self, evt):
Isn't it about time forums rewarded their contributors?
Contribute to this discussion and earn rewards points that can be cashed out for dollars.