Package net.pms.external

Examples of net.pms.external.ExternalListener


  @Override
  public void discoverChildren() {
    for (DLNAResource r : list) {
      // addchild might clear the masterparent
      // so fetch it first and readd
      ExternalListener master = r.getMasterParent();
      addChild(r);
      r.setMasterParent(master);
      if (r.isResume()) {
        // add this non resume after
        DLNAResource clone = r.clone();
View Full Code Here


            }
            str = str.substring(pos + 1);
            pos = str.indexOf(';');
          }
          LOGGER.debug("master is " + master + " str " + str);
          ExternalListener lpp;
          if (master.startsWith("internal:")) {
            res = parseInternal(master.substring(9), str);
          } else {
            lpp = findLastPlayedParent(master);
            if (lpp != null) {
View Full Code Here

      sb.append(now.toString());
      sb.append("\n");
      for (DLNAResource r : list) {
        String data = r.write();
        if (!StringUtils.isEmpty(data)) {
          ExternalListener parent = r.getMasterParent();
          String id;
          if (parent != null) {
            id = parent.getClass().getName();
          } else {
            id = "internal:" + r.getClass().getName();
          }

          sb.append("master:").append(id).append(";");
View Full Code Here

TOP

Related Classes of net.pms.external.ExternalListener

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.