* various little adjustments

This commit is contained in:
Reinhard Pointner 2013-03-19 11:17:36 +00:00
parent f64496a989
commit d6c9c3ca7c
4 changed files with 7 additions and 7 deletions

View File

@ -70,12 +70,12 @@ public final class WebServices {
public static EpisodeListProvider[] getEpisodeListProviders() {
return new EpisodeListProvider[] { TVRage, AniDB, TheTVDB, Serienjunkies };
return new EpisodeListProvider[] { TheTVDB, AniDB, TVRage, Serienjunkies };
}
public static MovieIdentificationService[] getMovieIdentificationServices() {
return new MovieIdentificationService[] { OpenSubtitles, IMDb, TMDb };
return new MovieIdentificationService[] { TMDb, IMDb, OpenSubtitles };
}

View File

@ -10,10 +10,10 @@ url.release-groups: http://filebot.net/data/release-groups.txt
# blacklisted terms that will be ignored
url.query-blacklist: http://filebot.net/data/query-blacklist.txt
# clutter files that will be ignored
# clutter files that will be ignored
url.exclude-blacklist: http://filebot.net/data/exclude-blacklist.txt
# list of patterns directly matching files to series names
# list of patterns directly matching files to series names
url.series-mappings: http://filebot.net/data/series-mappings.txt
# list of all movies (id, name, year)

View File

@ -200,7 +200,7 @@
$('#review .user').text(review.user)
$('#review .date').text(review.date)
$('#review .text').text(review.text)
$('#review').show();
if (review.text.length() > 0) { $('#review').show() }
}
});
</script>

View File

@ -86,14 +86,14 @@ if (args.empty) {
input = input.flatten()
// extract archives (zip, rar, etc) that contain at least one video file
def tempFiles = extract(file: input.findAll{ it.isArchive() || it.extension == '001' }, output: null, conflict: 'override', filter: { it.isVideo() || (music && it.isAudio()) }, forceExtractAll: true) ?: []
def tempFiles = extract(file: input.findAll{ it.isArchive() || it.hasExtension('iso', '001') }, output: null, conflict: 'override', filter: { it.isVideo() || (music && it.isAudio()) }, forceExtractAll: true) ?: []
input += tempFiles
// sanitize input
input = input.findAll{ it?.exists() }.collect{ it.canonicalFile }.unique()
// process only media files
input = input.findAll{ it.isVideo() || it.isSubtitle() || it.isDisk() || (music && it.isAudio()) }
input = input.findAll{ (it.isVideo() && !it.hasExtension('iso')) || it.isSubtitle() || it.isDisk() || (music && it.isAudio()) }
// ignore clutter files
input = input.findAll{ !(it.path =~ /\b(?i:sample|trailer|extras|deleted.scenes|music.video|scrapbook|behind.the.scenes)\b/) }