List<VideoFileVO> movieList = new ArrayList<VideoFileVO>();
if (!hasMovieFile(download))
return null;
// if we use the language name on subtitle file name
ConfigManager config = new ConfigManager(pluginInterface);
SubTitleLanguage subTitleLanguage = null;
if (config.getUseLanguageOnSubtitle())
subTitleLanguage = config.getLanguageOnSubtitle();
for (DiskManagerFileInfo fileTorrent : download.getDiskManagerFileInfo()) {
if ((!fileTorrent.isSkipped()) && (!fileTorrent.isDeleted()) && (FileUtils.isMovieFile(fileTorrent.getFile().getName()))) {
VideoFileVO movieVO = VoUtils.fileToMovieVO(fileTorrent.getFile(), subTitleLanguage);
movieList.add(movieVO);