1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-11 20:05:04 -05:00
Commit Graph

332 Commits

Author SHA1 Message Date
Reinhard Pointner
b82fab09f7 TerminalEmulatorAutoCloseTrigger.CloseOnEscape 2016-11-27 02:18:48 +08:00
Reinhard Pointner
feeb811153 Enable CLI interactive mode 2016-11-26 05:58:57 +08:00
Reinhard Pointner
be134d7513 Optimize default -mediainfo format 2016-11-26 05:02:04 +08:00
Reinhard Pointner
e11bab1ebf Fix error prone code 2016-11-25 23:59:26 +08:00
Reinhard Pointner
742e3aea2d Fix error prone code 2016-11-25 20:47:08 +08:00
Reinhard Pointner
fd54c59c71 Refactor RenameAction 2016-11-25 19:37:20 +08:00
Reinhard Pointner
5b693caf22 no selection, do nothing and return successfully 2016-11-25 19:06:05 +08:00
Reinhard Pointner
d03794600b default behavior if rename map is empty 2016-11-25 08:03:59 +08:00
Reinhard Pointner
0a14298e8d okButton 2016-11-25 07:45:00 +08:00
Reinhard Pointner
934976c0a2 --mode interactive -> basic selection and confirmation dialogs for the CLI 2016-11-25 07:09:35 +08:00
Reinhard Pointner
28fa511fbe IOException if text file is insanely huge (>1GB)
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=4364
2016-11-21 02:25:46 +08:00
Reinhard Pointner
131a5a29aa Less verbose debug logging 2016-11-15 04:50:52 +08:00
Reinhard Pointner
67af50b49e Avoid unnecessary Guava dependencies 2016-11-13 02:00:26 +08:00
Reinhard Pointner
8ba500aaa8 Fix GroovyPad issues 2016-11-12 05:59:47 +08:00
Reinhard Pointner
05f2a0be85 Catch potential IOExceptions 2016-11-12 04:46:14 +08:00
Reinhard Pointner
5dd26ba347 Make sure that {model} works even for simple -list calls (useful for testing --filter expressions) 2016-11-11 03:27:38 +08:00
Reinhard Pointner
823feacae0 Fix listFiles and formatSize issues 2016-11-02 19:29:05 +08:00
Reinhard Pointner
a584ad83d5 Refactor 2016-11-01 21:20:08 +08:00
Reinhard Pointner
42ae55f9da Refactor net.filebot.Archive.extractor 2016-10-31 16:47:01 +08:00
Reinhard Pointner
1854bc9f51 {textLanguages} binding 2016-10-29 01:16:50 +08:00
Reinhard Pointner
98466424e7 Fix getMediaInfo() issues 2016-10-28 23:25:17 +08:00
Reinhard Pointner
a42ee00b57 Fix getMediaInfo() issues 2016-10-28 21:51:45 +08:00
Reinhard Pointner
fb17c4feae Fix getMediaInfo() issues 2016-10-28 21:50:09 +08:00
Reinhard Pointner
23a4eba41a Use *.jar.xz script bundle 2016-10-28 04:03:42 +08:00
Reinhard Pointner
d82f454d94 Refactor ScriptShellBaseClass 2016-10-21 02:22:49 +08:00
Reinhard Pointner
565555e0b3 Avoid opening 0 byte test files as real archives 2016-10-21 02:22:35 +08:00
Reinhard Pointner
43572de117 Remove unused options from manual 2016-10-20 01:01:47 +08:00
Reinhard Pointner
3c3d06543a Run sysinfo script on startup whenever GroovyPad is displayed 2016-10-19 19:48:00 +08:00
Reinhard Pointner
6390eb2f3b Refactor argument handling a bit 2016-10-19 03:16:31 +08:00
Reinhard Pointner
4f5b1cefcc Refactor argument handling a bit 2016-10-19 01:02:51 +08:00
Reinhard Pointner
447fcc8419 File.getMetadata() should always work regardless of whether or not -no-xattr is set
@see https://www.filebot.net/forums/viewtopic.php?f=4&t=3986&p=23896#p23896
2016-10-18 04:50:29 +08:00
Reinhard Pointner
e119d00b52 Pass Closure as FileFilter 2016-10-16 01:11:53 +08:00
Reinhard Pointner
42459b5c45 Added File.div(File) to support plex[0]/az/plex[1..-1] style formats 2016-10-10 05:39:25 +08:00
Reinhard Pointner
35c6c33941 Remove unused methods 2016-10-09 19:10:21 +08:00
Reinhard Pointner
202c9d2dd5 SKIP_NULL_FIELDS / MetaAttributes.toJson() / MetaAttributes.toObject() 2016-10-09 03:55:45 +08:00
Reinhard Pointner
14e87227bc Update filebot -help 2016-10-06 12:45:04 +08:00
Reinhard Pointner
2d0a16688e Support "Generic File" renaming via the command-line tools by using --db xattr -non-strict so that only xattr-tagged files are processed in strict mode, but any generic file can be processed in non-strict mode (File object is used in absence of Episode/Movie object) 2016-10-05 15:00:03 +08:00
Reinhard Pointner
bbc1bef181 Ignore hidden files by default (fix regression issue) 2016-10-05 14:56:33 +08:00
Reinhard Pointner
850818373d Use HUMAN_NAME_ORDER for args file listing 2016-10-04 23:47:51 +08:00
Reinhard Pointner
89a48c26a1 ignore empty arguments 2016-10-04 23:47:10 +08:00
Reinhard Pointner
9209349f0c Refactor FAIL 2016-10-01 01:17:11 +08:00
Reinhard Pointner
5b290cf0ae Refactor 2016-09-29 13:45:15 +08:00
Reinhard Pointner
e3fe2fd094 CASE_INSENSITIVE_PATH_ORDER
HUMAN_NAME_ORDER
2016-09-29 12:17:34 +08:00
Reinhard Pointner
56316af826 Use human sort order for all paths loaded into the UI 2016-09-29 02:12:29 +08:00
Reinhard Pointner
846e4166ed Use human sort order for all paths loaded into the UI 2016-09-28 23:09:38 +08:00
Reinhard Pointner
13e6360c4d Java 8 Refactoring 2016-08-17 05:37:59 +08:00
Reinhard Pointner
cd01fe26bf Better error message when bad --q parameter is passed 2016-08-11 19:27:05 +08:00
Reinhard Pointner
1f6f184e8d Make sure that movie object localization doesn't break anything 2016-08-08 17:05:23 +08:00
Reinhard Pointner
6eeb63c9fb Implement advanced multi-part movie detection (via group by mediainfo) 2016-08-08 05:22:05 +08:00
Reinhard Pointner
73e7443593 Implement advanced multi-part movie detection (via group by mediainfo) 2016-08-08 04:45:38 +08:00
Reinhard Pointner
8c00c21008 Support 'folder' / 'name' kind of expressions 2016-08-06 23:49:03 +08:00
Reinhard Pointner
fe097b5a43 Add --action reflink to CLI help 2016-08-05 05:33:41 +08:00
Reinhard Pointner
71548a4f41 Refactor ApplicationFolder 2016-08-04 15:05:54 +08:00
Reinhard Pointner
d3df8cd4e4 Fix regression issue.
https://www.filebot.net/forums/viewtopic.php?f=6&t=4023
2016-08-03 01:51:53 +08:00
Reinhard Pointner
4f4f90ecdc Support reader.readLine() 2016-08-02 21:23:47 +08:00
Reinhard Pointner
993319c4cc Fix --db option issues when using -get-subtitles 2016-07-28 23:24:55 +08:00
Reinhard Pointner
440a3bf923 Fix --db option issues when using -get-subtitles 2016-07-28 23:22:57 +08:00
Reinhard Pointner
231ffcf096 Make String.stripReleaseInfo() available in scripting context
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=3976#p22318
2016-07-25 17:40:26 +08:00
Reinhard Pointner
09b41170fd Look into custom script names (for exception stacktraces) but keep as it is for now to avoid unnecessary complexity/magic
e.g.
public Class parseClass(String text, String fileName) throws CompilationFailedException {
	return super.parseClass(text, "amc");
}
2016-06-19 23:59:27 +08:00
Reinhard Pointner
24fda5f8d8 Do not use debug logging for script exceptions 2016-06-12 18:33:48 +08:00
Reinhard Pointner
369574a9aa Print lines as we go along (instead of all at the end) when calling -mediainfo on many files 2016-05-29 04:24:30 +08:00
Reinhard Pointner
a2be7bdd09 Do not auto-trim --def name=value parameters 2016-05-22 06:24:23 +08:00
Reinhard Pointner
d277315f39 absolute paths on Windows appear to be valid URIs so we need explicitly exclude them (e.g. C:\path\to\script.groovy) 2016-05-16 01:03:05 +08:00
Reinhard Pointner
51979c9f6a Better error messages 2016-05-13 00:33:42 +08:00
Reinhard Pointner
4827f212c7 Better error messages 2016-05-13 00:09:46 +08:00
Reinhard Pointner
0b385943a1 Don't print stacktrace for not-unexpected warnings 2016-05-10 05:45:53 +08:00
Reinhard Pointner
e9e9d0fadd Better logging 2016-05-03 19:38:07 +08:00
Reinhard Pointner
b9099abbb1 Improved console output for -get-subtitles commands 2016-04-30 22:59:51 +08:00
Reinhard Pointner
82f9a4b0f5 NOTE: GitHub only supports If-None-Match (If-Modified-Since is ignored) 2016-04-25 14:31:39 +08:00
Reinhard Pointner
724e55485d Fix logging 2016-04-25 01:42:07 +08:00
Reinhard Pointner
0c94aed7e7 Refactor VideoQuality comparator
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3647&p=20384#p20384
2016-04-17 08:44:03 +00:00
Reinhard Pointner
e0cc5eb771 Refactor 2016-04-13 11:22:03 +00:00
Reinhard Pointner
580657aed0 Extra \n for Failure (°_°) error runs as well 2016-04-12 06:21:28 +00:00
Reinhard Pointner
9b60d6f206 Improved error logging 2016-04-12 06:19:45 +00:00
Reinhard Pointner
f6f3e411e3 Easy way to retrieve manifest for script bundle 2016-04-10 09:14:36 +00:00
Reinhard Pointner
f7ac0a79d7 Lazy-load script bundle 2016-04-09 23:20:13 +00:00
Reinhard Pointner
e8652a5593 Various bug fixes and cleanup 2016-04-09 19:16:30 +00:00
Reinhard Pointner
b7f264928b Use AutoDetection for simple -rename calls 2016-04-07 14:30:05 +00:00
Reinhard Pointner
7bcfd7aa19 Refactor 2016-04-05 18:06:23 +00:00
Reinhard Pointner
cfd862c057 Refactor FastFile API 2016-04-04 08:57:38 +00:00
Reinhard Pointner
36237cd906 Map fn:name scripts to stable script bundle from app.filebot.net and dev:name scripts directly to github resources 2016-04-03 19:49:20 +00:00
Reinhard Pointner
93181df73e Lazy-load script bundle 2016-04-03 19:49:18 +00:00
Reinhard Pointner
d25b30e8af Make sure to ignore unexpected BOMs
@see https://www.filebot.net/forums/viewtopic.php?f=8&t=3582
2016-04-03 18:14:27 +00:00
Reinhard Pointner
0ac71b9c7d Refactor 2016-04-02 09:07:10 +00:00
Reinhard Pointner
b817d146a4 // normalize weird paths 2016-04-01 13:04:13 +00:00
Reinhard Pointner
20c94f02d2 Add File.getAt(int) and File.getAt(Range) methods to improve {plex} binding usage 2016-04-01 08:48:52 +00:00
Reinhard Pointner
c93264c836 Fix default script 2016-03-30 16:43:42 +00:00
Reinhard Pointner
61780da8a9 Refactor 2016-03-30 08:47:09 +00:00
Reinhard Pointner
429641a6fc Update script base to m2 2016-03-30 08:08:20 +00:00
Reinhard Pointner
3cb05129f9 Refactor 2016-03-30 03:12:25 +00:00
Reinhard Pointner
6819fdc978 Deploy and update script repository via signed jar bundles 2016-03-30 03:09:46 +00:00
Reinhard Pointner
c552bdb8ae Refactor 2016-03-29 06:29:23 +00:00
Reinhard Pointner
d74347591b Support --db ID3 (same as "ID3 Tags") 2016-03-28 20:45:43 +00:00
Reinhard Pointner
5ff4be457e Fix 2016-03-28 15:14:34 +00:00
Reinhard Pointner
cd592834fe Refactor MediaDetection isEpisode/isMovie and update Filter/Types tool 2016-03-28 14:46:33 +00:00
Reinhard Pointner
963fb62172 Remove @Depricated "Movie Search By Hash" interface. OpenSubtitles is not used as a Movie datasource anymore, and TMDb doesn't do hashes anymore. 2016-03-27 22:35:19 +00:00
Reinhard Pointner
ca155e2e9b Print full stacktrace (just in case) 2016-03-27 20:42:06 +00:00
Reinhard Pointner
dc22249794 Cache xattr values so that metadata works as expected at least for the current session even if xattr is not supported by the filesystem and thus metadata can't be persisted 2016-03-27 16:56:54 +00:00
Reinhard Pointner
b9fdfcbe10 Refactor 2016-03-27 13:52:59 +00:00
Reinhard Pointner
16d2459365 Full support for "TheMovieDB::TV" and "TheMovieDB" datasources 2016-03-26 19:44:44 +00:00
Reinhard Pointner
439ebe322b Refactor 2016-03-24 15:21:36 +00:00
Reinhard Pointner
8a533f8d47 New binding: {sub} for subtitle language/category extension (e.g. ".eng.forced") 2016-03-24 11:13:47 +00:00
Reinhard Pointner
ef71e2fff8 Rewrite ListPanel for parallel editing and testing of format expressions 2016-03-20 18:33:31 +00:00
Reinhard Pointner
bed6732d35 Unify application folder logic 2016-03-11 11:14:50 +00:00
Reinhard Pointner
1251fbd657 Allow original folder as input folder selector 2016-03-11 04:11:40 +00:00
Reinhard Pointner
8f258542ea filebot -revert /path command 2016-03-10 19:23:12 +00:00
Reinhard Pointner
94517baa98 filebot -revert /path command 2016-03-10 18:32:11 +00:00
Reinhard Pointner
d76f625328 Fix various compiler warnings 2016-03-10 06:28:22 +00:00
Reinhard Pointner
537144187a Refactor 2016-03-10 04:42:39 +00:00
Reinhard Pointner
78c3b6917d Unify gui/console logging 2016-03-09 20:36:28 +00:00
Reinhard Pointner
bf2571f04f Refactor 2016-03-09 10:32:49 +00:00
Reinhard Pointner
4fae01236a Use java.nio.charset.StandardCharsets.* instead of Charset.forName 2016-03-08 17:02:53 +00:00
Reinhard Pointner
022c2c40a3 Fix NSIS installer issues 2016-03-08 16:40:44 +00:00
Reinhard Pointner
e95078668e Experiment with new CachedResource framework 2016-03-08 12:59:24 +00:00
Reinhard Pointner
1ae3f5d2b8 Refactor 2016-03-08 09:43:59 +00:00
Reinhard Pointner
7d3b099c07 Experiment with new CachedResource framework 2016-03-07 15:36:13 +00:00
Reinhard Pointner
93937680a7 Refactor 2016-03-05 15:14:49 +00:00
Reinhard Pointner
e9ddee19d6 Refactor console logging 2016-03-02 15:03:11 +00:00
Reinhard Pointner
567b50da21 Refactor console logging 2016-03-02 15:02:44 +00:00
Reinhard Pointner
1c320a461b Remove -get-missing-subtitles option 2016-03-02 05:38:34 +00:00
Reinhard Pointner
506de41711 Remove -get-missing-subtitles option 2016-03-02 05:19:52 +00:00
Reinhard Pointner
87238fe330 Unify CLI/GUI lookupSubtitleByHash 2016-02-27 05:22:46 +00:00
Reinhard Pointner
f27325a458 Print extra new lines only if logging is turned on 2016-02-27 03:27:34 +00:00
Reinhard Pointner
55491a137d Presume that OpenSubtitles hash matches are being polluted by BSPlayer and never just trust hash matches
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3452#p19190
2016-02-26 13:14:17 +00:00
Reinhard Pointner
346189a459 Clean up 2016-02-24 05:49:54 +00:00
Reinhard Pointner
e08e461369 Improved default behaviour 2016-02-24 02:47:42 +00:00
Reinhard Pointner
3768f656ef Best to make it fail completely if one episode list of possible matches fails to download 2016-02-23 05:46:54 +00:00
Reinhard Pointner
ce64a653f0 Refactor 2016-02-22 08:21:03 +00:00
Reinhard Pointner
9c8da51277 Cache SeriesNameMatcher objects 2016-02-10 18:32:39 +00:00
Reinhard Pointner
bf69d750e8 Cache SeriesNameMatcher objects 2016-02-10 18:32:30 +00:00
Reinhard Pointner
856972e4da Refactor 2016-02-09 17:16:14 +00:00
Reinhard Pointner
aba1effc83 -Dnet.filebot.logger.cli.anonymize 2016-02-09 16:44:49 +00:00
Reinhard Pointner
1ebece8d19 Fix regression issues caused by selectSearchResult now taking into account alias titles (which is not desirable when query was entered manually) 2016-02-08 22:29:50 +00:00
Reinhard Pointner
62a9dfb386 + support --conflict index option 2016-02-03 18:14:44 +00:00
Reinhard Pointner
83e57c5f48 + support --conflict index option 2016-02-03 18:14:14 +00:00
Reinhard Pointner
db4b6b9487 in internal getMediaInfo(File) calls, explicitly ignore the --filter option if any and don't inherit it's value from the commandline options 2016-02-02 17:22:27 +00:00
Reinhard Pointner
6d124bb690 Cache heavily used Pattern/FileFilter objects 2016-01-28 16:18:01 +00:00
Reinhard Pointner
40a98b08ae * unify GUI/CLI probable match selection 2016-01-23 22:25:05 +00:00
Reinhard Pointner
3db65e359d * just pick the first hash match if we can't auto-guess the best possible match (and make CLI behave like the GUI) 2015-12-17 21:14:06 +00:00
Reinhard Pointner
95ac5a4f9a * just pick the first hash match if we can't auto-guess the best possible match (and make CLI behave like the GUI) 2015-12-17 10:32:55 +00:00
Reinhard Pointner
b87e662466 add File.resolveAsChild 2015-12-11 22:28:34 +00:00
Reinhard Pointner
7ea5b88011 update usage 2015-12-11 22:12:42 +00:00
Reinhard Pointner
b84eaa3947 * show original IO exception message 2015-12-06 20:51:06 +00:00
Reinhard Pointner
0ac9d7c616 + Support --def name=@/path/to/text/file parameter passing syntax that allows parameters to be read from a text file (i.e. for complex formats that would otherwise require escaping) 2015-12-06 19:33:12 +00:00
Reinhard Pointner
d4c2d77479 * prettier filebot -help output 2015-12-04 16:08:41 +00:00
Reinhard Pointner
679aa3e37d * allow renaming of music videos *IF* music mode has been forced via --db option 2015-09-29 16:31:28 +00:00
Reinhard Pointner
4827b8ead7 * TVRage is dead. Remove support. 2015-09-24 06:45:10 +00:00
Reinhard Pointner
4efc22e4eb + EXPERIMENTAL support for language-specific subtitle providers (hash-lookup only) 2015-08-27 17:55:24 +00:00
Reinhard Pointner
353c2da745 * update CLI error messages 2015-08-18 23:42:47 +00:00
Reinhard Pointner
8d19863283 + Support --filter (file filter expression) in filebot -mediainfo calls 2015-07-30 13:08:03 +00:00