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

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

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

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