* when folder is dropped, download subtitles for all movies in the entire hierarchy
This commit is contained in:
parent
981484fa2b
commit
a9361e3f02
|
@ -134,7 +134,7 @@ abstract class SubtitleDropTarget extends JButton {
|
||||||
|
|
||||||
if (containsOnly(files, FOLDERS)) {
|
if (containsOnly(files, FOLDERS)) {
|
||||||
// collect all video files from the dropped folders
|
// collect all video files from the dropped folders
|
||||||
List<File> videoFiles = filter(listFiles(files, 0, false), VIDEO_FILES);
|
List<File> videoFiles = filter(listFiles(files, 10, false), VIDEO_FILES);
|
||||||
|
|
||||||
if (videoFiles.size() > 0) {
|
if (videoFiles.size() > 0) {
|
||||||
return handleDownload(videoFiles);
|
return handleDownload(videoFiles);
|
||||||
|
|
Loading…
Reference in New Issue