public List<Recording> alignWithDB(List<Recording> recordings){
		Recording returnrec = null;
		
		for(Iterator<Recording> it = recordings.iterator(); it.hasNext(); ){
			Recording recording = it.next();
			returnrec = this.find(recording.getId(), recording.getType());
			if(!returnrec.isComplete()){
				if(returnrec.getId() == null){
					try {
						recording.setFirstTried(new Date());
				        this.insert(recording);
				        LOG.debug("The recorindg with ID: " + recording.getId() + " is new adding it to the database");
					} catch (SQLException e) {
						LOG.error("Error when trying to insert the new recording with id " + recording.getId() + " into the db. The error was " + e.getMessage());
					}
				} else {
					recording.setFirstTried(returnrec.getFirstTried());
				}
				
			} else {
				it.remove();
			}
		}
		return recordings;
	}