Beispiel #1
0
 def flash(self, msg):
     self.marketing_message = msg
     self.save()
     jug.publish('msfm:marketing:%s' % self.id, msg)
Beispiel #2
0
 def update_subscribers(self):
     jug.publish('msfm:playlist:%s' % self.id, self.playlist().to_json())