Ejemplo n.º 1
0
 public static List<Path> getFullSeasonEpisodes(String show, Range range) throws IOException {
   List<Path> list = new ArrayList<>(NUM_EPISODES * (range.getEnd() - range.getStart() + 1));
   for (Integer season : range) {
     list.addAll(TV_PATH.listPaths(show, season));
   }
   return list;
 }
Ejemplo n.º 2
0
 public static Path getEpisodePath(String show, int season, int episode) {
   return TV_PATH.getEpisodesPath(show, season).resolve(genFileName(show, season, episode));
 }