Beispiel #1
0
 def on_space(self, *args): # space : play from the current position
   if player.is_playing(): player.stop()
   else: self.on_play_from_here()
Beispiel #2
0
 def on_stop_playing  (self, *args): player.stop()
 
 def on_space(self, *args): # space : play from the current position