Exemple #1
0
  private synchronized void fireCurrentPlaylistRepeatEvent() {
    PlayerEvent event = new PlayerEvent(this);
    Iterator<SqueezePlayerEventListener> itr = squeezeServer.getPlayerEventListeners().iterator();

    while (itr.hasNext()) {
      itr.next().currentPlaylistRepeatEvent(event);
    }
  }
Exemple #2
0
  private synchronized void fireIrCodeChangeEvent() {
    PlayerEvent event = new PlayerEvent(this);
    Iterator<SqueezePlayerEventListener> itr = squeezeServer.getPlayerEventListeners().iterator();

    while (itr.hasNext()) {
      itr.next().irCodeChangeEvent(event);
    }
  }
Exemple #3
0
  private synchronized void fireNumberPlaylistTracksEvent() {
    PlayerEvent event = new PlayerEvent(this);
    Iterator<SqueezePlayerEventListener> itr = squeezeServer.getPlayerEventListeners().iterator();

    while (itr.hasNext()) {
      itr.next().numberPlaylistTracksEvent(event);
    }
  }