* 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() { public static EpisodeListProvider[] getEpisodeListProviders() {
return new EpisodeListProvider[] { TVRage, AniDB, TheTVDB, Serienjunkies }; return new EpisodeListProvider[] { TheTVDB, AniDB, TVRage, Serienjunkies };
} }
public static MovieIdentificationService[] getMovieIdentificationServices() { 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 # blacklisted terms that will be ignored
url.query-blacklist: http://filebot.net/data/query-blacklist.txt 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 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 url.series-mappings: http://filebot.net/data/series-mappings.txt
# list of all movies (id, name, year) # list of all movies (id, name, year)

View File

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

View File

@ -86,14 +86,14 @@ if (args.empty) {
input = input.flatten() input = input.flatten()
// extract archives (zip, rar, etc) that contain at least one video file // 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 input += tempFiles
// sanitize input // sanitize input
input = input.findAll{ it?.exists() }.collect{ it.canonicalFile }.unique() input = input.findAll{ it?.exists() }.collect{ it.canonicalFile }.unique()
// process only media files // 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 // ignore clutter files
input = input.findAll{ !(it.path =~ /\b(?i:sample|trailer|extras|deleted.scenes|music.video|scrapbook|behind.the.scenes)\b/) } input = input.findAll{ !(it.path =~ /\b(?i:sample|trailer|extras|deleted.scenes|music.video|scrapbook|behind.the.scenes)\b/) }