* misc fixes

This commit is contained in:
Reinhard Pointner 2014-04-10 05:55:01 +00:00
parent 50156874a4
commit 91bf489c0c
5 changed files with 13 additions and 5 deletions

View File

@ -142,7 +142,7 @@ public class CmdlineOperations implements CmdlineInterface {
CLILogger.config(format("Rename episodes using [%s]", db.getName())); CLILogger.config(format("Rename episodes using [%s]", db.getName()));
// ignore sample files // ignore sample files
List<File> fileset = sortByUniquePath((filter(files, not(getClutterFileFilter())))); List<File> fileset = sortByUniquePath(filter(files, not(getClutterFileFilter())));
List<File> mediaFiles = filter(fileset, VIDEO_FILES, SUBTITLE_FILES); List<File> mediaFiles = filter(fileset, VIDEO_FILES, SUBTITLE_FILES);
if (mediaFiles.isEmpty()) { if (mediaFiles.isEmpty()) {
@ -649,8 +649,8 @@ public class CmdlineOperations implements CmdlineInterface {
// ignore anything that is not a video // ignore anything that is not a video
files = filter(files, VIDEO_FILES); files = filter(files, VIDEO_FILES);
// ignore clutter files from processing // ignore sample files
files = filter(files, not(getClutterFileFilter())); files = sortByUniquePath(filter(files, not(getClutterFileFilter())));
// try to find subtitles for each video file // try to find subtitles for each video file
List<File> remainingVideos = new ArrayList<File>(files); List<File> remainingVideos = new ArrayList<File>(files);

View File

@ -1537,6 +1537,7 @@ MiGHTY
Mikoto Mikoto
MiLLENiUM MiLLENiUM
MiND MiND
MiNDTHEGAP
MiNT MiNT
MiRAGETV MiRAGETV
MiRAMAX MiRAMAX
@ -1600,6 +1601,7 @@ N!K
N-F N-F
N-Subs N-Subs
N0L N0L
N0TSC3N3
n3xT n3xT
NAFSG NAFSG
Naisu Naisu
@ -1712,6 +1714,7 @@ O.K-Subs
O2 O2
O4L O4L
OAS OAS
OBjECT
OBLiGATED OBLiGATED
Occor Occor
OCTi OCTi

View File

@ -103,5 +103,10 @@
"user": "shareiscare", "user": "shareiscare",
"date": "2014-03-07", "date": "2014-03-07",
"text": "I am a heavy XBMC user and I have tested many renaming programs and I have to admit your one just rocks. I virtually have 100% success rate in scraping." "text": "I am a heavy XBMC user and I have tested many renaming programs and I have to admit your one just rocks. I virtually have 100% success rate in scraping."
},
{
"user": "chuckl",
"date": "2014-04-08",
"text": "It will rip through movies and tv series files like a knife through butter."
} }
] ]

View File

@ -288,7 +288,7 @@
<h4>Extras</h4> <h4>Extras</h4>
<div> <div>
<a href="https://sourceforge.net/p/filebot/code/HEAD/tree/trunk/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy?force=True" target="_blank">ScriptShell.lib.groovy</a> also defines lots extra useful functions <a href="https://sourceforge.net/p/filebot/code/HEAD/tree/trunk/source/net/sourceforge/filebot/cli/ScriptShell.lib.groovy?force=True" target="_blank">ScriptShell.lib.groovy</a> also defines lots extra useful functions
and there is example code in the <a href="http://www.filebot.net/scripts/">script repository</a>. and there is example code in the <a href="https://github.com/filebot/scripts">script repository</a>.
</div> </div>
</div> </div>
</div> </div>