@Deprecated public static EpisodeMatchingResult detectEpisodeFromFilename(File file){
  LOGGER.debug("Detect episodes/seasons from file " + file.getName());
  EpisodeMatchingResult result=new EpisodeMatchingResult();
  String fileName=file.getName();
  result=parseString(fileName);
  Collections.sort(result.episodes);
  Matcher matcher=stackingMarkerPattern.matcher(result.name);
  result.stackingMarkerFound=matcher.matches();
  LOGGER.debug("returning result " + result);
  return result;
}

@ Deprecated public static EpisodeMatchingResult detectEpisodeFromFilename ( File file ) { LOGGER . debug ( "Detect episodes/seasons from file " + file . getName ( ) ) ; EpisodeMatchingResult result = new EpisodeMatchingResult ( ) ; String fileName = file . getName ( ) ; result = parseString ( fileName ) ; Collections . sort ( result . episodes ) ; Matcher matcher = stackingMarkerPattern . matcher ( result . name ) ; result . stackingMarkerFound = matcher . matches ( ) ; LOGGER . debug ( "returning result " + result ) ; return result ; }
detect episode from filename .
