def connected(self):
self.state = 'connected'
self.trigger_event('connected')
self.debug('Connected to server')
self.time = MeteorTime(self.meteor)
Clock.schedule_interval(self.time.update, 0.5)
self.collections = 0
self.collections_ready = 0
for collection in ['settings', 'stages', 'minions',
'media', 'mediaplaylists',
'songs', 'songarrangements', 'songsections',
'presentations', 'presentationslides']:
self.collections += 1
self.meteor.subscribe(collection, callback=self.subscription_ready)
评论列表
文章目录