Package de.sosd.mediaserver.domain.db

Examples of de.sosd.mediaserver.domain.db.SystemDomain.increaseUpdateId()


      final String previews, final String mplayer, final String mencoder) {
    final SystemDomain sys = this.systemDao.getSystem(cfg.getUSN());
   
    if (!name.equals(sys.getName())) {
      sys.setName(name);
      sys.increaseUpdateId();
    }
   
    sys.setPreviewCache(previews);
    sys.setMplayerPath(mplayer);
    sys.setMencoderPath(mencoder);
View Full Code Here


        final File dir = new File(sfd.getPath());
        if (! dir.exists() || ! dir.isDirectory()) {
          // this could happen with external storage ..
          sfd.setScanState(ScanFolderState.NOT_FOUND);
          didlDao.setOnline(sfd.getId(), false);
          system.increaseUpdateId();
        } else {
          if (ScanFolderState.NOT_FOUND.equals(sfd.getScanState())) {
            didlDao.setOnline(sfd.getId(), true);
            system.increaseUpdateId();
          }
View Full Code Here

          didlDao.setOnline(sfd.getId(), false);
          system.increaseUpdateId();
        } else {
          if (ScanFolderState.NOT_FOUND.equals(sfd.getScanState())) {
            didlDao.setOnline(sfd.getId(), true);
            system.increaseUpdateId();
          }
         
          sfd.setScanState(ScanFolderState.SCANNING);
          scanContexts.add(new ScanContext(sfd.getId(), dir));
        }
View Full Code Here

    }
   
    // something changed increase updateId
    if (systemChanged) {
      logger.info("scanner [collect new stats]");
      system.increaseUpdateId();
      system.setLastDataChange(new Date());
     
      if (this.didl.foundUnsupportedFiles()) {
        logger.info("scanner [dlna-unsupported] " + this.didl.getMissingClassTypeExtensions()+ ", " + this.didl.getMissingProtocolInfoExtensions());
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.