コード例 #1
0
 public function onTrack(TrackEvent $event)
 {
     $this->output->writeln(sprintf('  <info>+ Track (%s) %s: %s</info>', $event->getTrack()->getIsrc(), $event->getTrack()->getUuid(), $event->getTrack()->getTitle()));
 }
コード例 #2
0
 public function onTrack(TrackEvent $event)
 {
     $this->packshotTaskEngine->startAudio($event->getTrack());
 }
コード例 #3
0
 public function onTrack(TrackEvent $event)
 {
     $id = $event->getPackshot()->getName() . spl_object_hash($event->getTrack());
     $this->summary->getTrackCounter()->add(self::OK, $id);
 }