Example #1
0
 def VolumeChanged(c):
     event.post().OnVolumeChanged(muted=c.muted, volume=c.volume)
Example #2
0
 def OnPlay(c,songid=None,**item):
     item[ "type" ]="song"
     if songid!=None: item["id"]=songid
     event.post().Player.OnPlay( 
         items= item,
         player= { "playerid": c.playerid, "speed":c.speed } )