Advertisement
Guest User

Untitled

a guest
Jul 1st, 2014
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.45 KB | None | 0 0
  1. '''
  2. Created on 15 Jun 2014
  3.  
  4. @author: Ian
  5. '''
  6.  
  7. import xbmc
  8. import sys;
  9.  
  10. class SuperPlayer(xbmc.Player):
  11.    
  12.     def __init__( self, *args ):
  13.         pass
  14.  
  15.     def onPlayBackStarted(self):
  16.         sys.stdout.write("playback started \n");
  17.  
  18.     def onPlayBackEnded(self):
  19.         sys.stdout.write("playback ended \n");
  20.                    
  21.     def onPlayBackStopped(self):
  22.         sys.stdout.write("playback stopped \n");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement