Esempio n. 1
0
 /**
  * Reads the DVD structure.
  *
  * @param dvdDir Mount directory of the DVD
  */
 private void read(File dvdDir) throws IOException {
   titles.clear();
   try {
     LOG.info("Reading IFO from mount %s", dvdDir);
     readVmgFile(dvdDir, "VIDEO_TS/VIDEO_TS.IFO");
   } catch (IfoException | EOFException ex) {
     LOG.warn("Failed to read VIDEO_TS.IFO file: %s", ex.getMessage());
     LOG.info("Reading BUP from mount %s", dvdDir);
     readVmgFile(dvdDir, "VIDEO_TS/VIDEO_TS.BUP");
   }
   LOG.debug("Reading VIDEO_TS completed successfully");
 }