Esempio n. 1
0
 def _hPaused(self):
     """
     Current Song paused
     """
     dkp = dkplayer.dkPlayer(PLUGIN_NAME)
     try:     dkp.announce_pause()
     except:  pass
Esempio n. 2
0
 def _hResumed(self):
     """
     Current Song resumed
     """
     dkp = dkplayer.dkPlayer(PLUGIN_NAME)
     try:     dkp.announce_resume()
     except:  pass
Esempio n. 3
0
 def _hNewPlaying(self):
     """
     New Song started playing
     """
     self.details=EntryHelper.track_details(self.shell, self.current_entry)
     print self.details
     
     dkp = dkplayer.dkPlayer(PLUGIN_NAME)
     
     try:    dkp.announce_start(**self.details)
     except: print "Last.fm Desktop Client unreachable"