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

3395 Commits

Author SHA1 Message Date
Reinhard Pointner
c701a20bbf Run powershell -Command instead of cmd /c 2017-02-06 01:09:19 +08:00
Reinhard Pointner
ddf40be144 Improved behavior for -rename --q commands 2017-02-06 00:26:24 +08:00
Reinhard Pointner
2efc3c17fa Run powershell -Command instead of cmd /c 2017-02-05 16:12:31 +08:00
Reinhard Pointner
407a7074e6 Run --def exec commands via powershell -Command instead of cmd /c (in order to support '...' and simple curl calls and gain a small amount of cross-platform compatibility) 2017-02-05 16:04:10 +08:00
Reinhard Pointner
55e211b3bd Improved behavior for -rename --q commands 2017-02-05 02:07:35 +08:00
Reinhard Pointner
97bdf1c910 Improved error messages 2017-02-04 23:21:55 +08:00
Reinhard Pointner
97174d18bd Fix NPE issues 2017-02-04 22:41:01 +08:00
Reinhard Pointner
b0a8a0bc48 {kbps} binding 2017-02-04 02:56:58 +08:00
Reinhard Pointner
ac67a9b1af plex.derive{...} most not allow / injection into the file path 2017-02-04 02:56:00 +08:00
Reinhard Pointner
cc97f05a9e ~22% chance 2017-02-04 01:55:36 +08:00
Reinhard Pointner
1c66200aa3 // don't ask again for this version regardless of user choice 2017-02-04 01:41:13 +08:00
Reinhard Pointner
d6567cf119 // sometimes lucky if many files have been processed over time 2017-02-04 01:37:30 +08:00
Reinhard Pointner
f414f2519c Refactor warning messages 2017-02-01 16:17:33 +08:00
Reinhard Pointner
343f6de4db Refactor warning messages 2017-02-01 16:10:01 +08:00
Reinhard Pointner
ae8f7e0846 Refactor InvalidResponseException 2017-01-31 19:29:00 +08:00
Reinhard Pointner
df1c2ca7fd Better error message when internal function calls fail 2017-01-31 00:23:17 +08:00
Reinhard Pointner
b44df59d55 Use internal logging for --log-file instead of copying stdio/stderr to file (which doesn't work for native code or sub-process console output anyway) 2017-01-28 19:07:12 +08:00
Reinhard Pointner
3fee8bed74 Improve error logging when renaming fails due to permission issues 2017-01-28 04:27:21 +08:00
Reinhard Pointner
ee96df22f5 Use internal logging for --log-file instead of copying stdio/stderr to file (which doesn't work for native code or sub-process console output anyway) 2017-01-28 01:22:46 +08:00
Reinhard Pointner
892e0d70fb Added File.getTail()
e.g. {plex.tail}
2017-01-27 17:45:17 +08:00
Reinhard Pointner
ec0b0038e6 Improved errror messages for when TheTVDB is down and sends back invalid xml.
e.g.
```
<?xml version="1.0" encoding="UTF-8" ?>
Could not connect: Too many connections
```
2017-01-25 21:09:51 +08:00
Reinhard Pointner
86ce5e7e8c More general grepTheTvdbId() 2017-01-25 20:14:54 +08:00
Reinhard Pointner
a9cf202540 More general grepTheTvdbId() 2017-01-25 05:22:07 +08:00
Reinhard Pointner
a7791c653d Include {absolute} episode number in special Episode objects
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=4666
2017-01-23 23:02:09 +08:00
Reinhard Pointner
52bb296ee4 Improved console output when --action test --conflict override is used (i.e. files can't be deleted in test mode which disables override behavior) 2017-01-23 04:39:48 +08:00
Reinhard Pointner
282f48158e Allow String/File/Path/etc objects to be used as file path parameter 2017-01-21 21:08:05 +08:00
Reinhard Pointner
e41540341c Fix Grammar
@see https://www.filebot.net/forums/viewtopic.php?f=6&p=25866#p25866
2017-01-17 22:46:03 +08:00
Reinhard Pointner
899a4f836e JNA 4.3.0 2017-01-17 18:24:30 +08:00
Reinhard Pointner
2ba160c00d Make sure that returned Closure objects are invoked in the AccessController context 2017-01-16 15:11:34 +08:00
Reinhard Pointner
7955d1bf6e Don't follow symlinks when passing in symlink files as file arguments.
https://github.com/filebot/filebot/issues/11
2017-01-16 04:20:02 +08:00
Reinhard Pointner
64de406c3b Fix rename(map: ...) function
@see https://www.filebot.net/forums/viewtopic.php?f=11&t=4628&p=25807#p25807
2017-01-15 15:44:52 +08:00
Reinhard Pointner
738089a6fc Refactor Language 2017-01-14 05:04:44 +08:00
Reinhard Pointner
b5a031c7c4 Refactor Language 2017-01-14 04:32:42 +08:00
Reinhard Pointner
aec56019e8 Refactor MediaTypes 2017-01-12 22:18:10 +08:00
Reinhard Pointner
70c076eb3a Don't ask to unlock filesystem root / 2017-01-12 00:58:59 +08:00
Reinhard Pointner
b4e9e67f6c Allow only one binding preview evaluator thread to make sure we don't hit online resources more than once (i.e. 2 threads requesting the same data at the same time) 2017-01-10 00:45:12 +08:00
Reinhard Pointner
029f3d9039 Update {localize} binding usage: localize.zho.n 2017-01-10 00:14:16 +08:00
Reinhard Pointner
72da7935bf Update {tags} pattern
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=4592
2017-01-09 04:26:00 +08:00
Reinhard Pointner
2bcc531c12 Using createBindingObject() doesn't make sense for MovieInfo objects 2017-01-08 06:11:07 +08:00
Reinhard Pointner
a98f93311b Improved built-in binding examples: media.collection, media.season, media.part, media.partID, media.genre, media.contentType, media.description, media.lyrics 2017-01-08 01:44:27 +08:00
Reinhard Pointner
44d76aba9f Fix Extension: Override preview issues 2017-01-08 01:10:35 +08:00
Reinhard Pointner
512051bf27 Improved built-in File format examples 2017-01-08 00:55:10 +08:00
Reinhard Pointner
8606ef44ca Make sure that method signature for Integer getModelIndex() is exactly the same, otherwise the class file may include two method signature for exactly the same method, and differences with annotations in the output class files in the Eclipse and Oracle javac can lead to unexpected bugs and changes in behavior from development to deployment. Scary! 2017-01-08 00:11:58 +08:00
Reinhard Pointner
5c1c3f9f5c Make executeScript() easier to use 2017-01-07 01:11:32 +08:00
Reinhard Pointner
3f56e58b8b Refactor FormatDialog 2017-01-07 00:09:04 +08:00
Reinhard Pointner
4217dc0dd1 Experiment with reading iTunes metadata (TV Show type) 2017-01-05 21:50:09 +08:00
Reinhard Pointner
ba772e03c8 Catch exceptions and log as warning before the interrupt the program flow (i.e. when using -mediainfo and -list with custom --format options that yield empty strings) 2017-01-05 17:04:40 +08:00
Reinhard Pointner
c122e1f275 Change log level for getMediaInfo calls 2017-01-05 15:11:19 +08:00
Reinhard Pointner
bafd635eff MAS requires 0.0.0 version numbers 2017-01-04 02:49:06 +08:00
Reinhard Pointner
2a3ef2bd9a Bump 4.7.6.1 (hotfix release) 2017-01-04 02:09:45 +08:00
Reinhard Pointner
ab0e56cb82 Docs 2017-01-02 13:49:30 +08:00
Reinhard Pointner
2baeb4f3cb Fix for single-number multi-episode patterns
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=4559&p=25428#p25428
2016-12-31 12:35:40 +08:00
Reinhard Pointner
b9bfaadddf Bump 4.7.6 2016-12-30 14:56:08 +08:00
Reinhard Pointner
dd3a87e985 avoid time zone issues by interpreting all dates and times as UTC 2016-12-27 14:23:24 +08:00
Reinhard Pointner
07ea116518 avoid time zone issues by interpreting all dates and times as UTC 2016-12-27 14:04:01 +08:00
Reinhard Pointner
3e66ceee86 Fix -Dnet.filebot.Archive.extractor=SevenZipExecutable listFiles() issues 2016-12-23 13:19:15 +08:00
Reinhard Pointner
815cda5f2d Add List.bounds() 2016-12-22 20:37:52 +08:00
Reinhard Pointner
6090fab9eb Add List.bounds() 2016-12-22 20:32:44 +08:00
Reinhard Pointner
22da08544c Add AmazonHD pattern 2016-12-21 23:46:24 +08:00
Reinhard Pointner
035e799aa9 Add BR.Rip and NetflixUHD patterns 2016-12-21 10:48:01 +08:00
Reinhard Pointner
4852ca4292 Make sure that the Loading indicator is visible if a Preset is being executed 2016-12-20 00:57:02 +08:00
Reinhard Pointner
51d748d4bb Make sure that the Loading indicator is visible if a Preset is being executed 2016-12-20 00:22:13 +08:00
Reinhard Pointner
cce075dc15 directory || root drive || network share 2016-12-16 14:21:03 +08:00
Reinhard Pointner
ff659a3439 Add tooltip to auto-repeat button in selection dialog 2016-12-15 17:30:46 +08:00
Reinhard Pointner
a56f4d25ad Fix preview/formatting issues with String objects that are paths and not just filenames
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=4500
2016-12-15 00:18:38 +08:00
Reinhard Pointner
e7a4140426 Fix upperInitial/lowerTrail behavior when there are apostrophes (e.g. He'll)
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=4500
2016-12-14 23:58:54 +08:00
Reinhard Pointner
6342efc743 Avoid potential "initialCapacity must not be negative" exceptions (JarEntry seems to behave strangely on some platforms)
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=4509&p=25071#p25071
2016-12-14 13:11:04 +08:00
Reinhard Pointner
77512d0e4f SxE sequences must increase in linear order (e.g. multi episode 04-05 is allowed but Episode 05-04 will not be interpreted as multi episode)
@see https://www.filebot.net/forums/viewtopic.php?f=8&t=4507&p=25067#p25067
2016-12-14 11:01:04 +08:00
Reinhard Pointner
bd8b67422e FAIL *facepalm* 2016-12-06 01:26:05 +09:00
Reinhard Pointner
9ab1f33ed1 FAIL *facepalm* 2016-12-06 00:46:47 +09:00
Reinhard Pointner
d4624fb47a Fix GUI conflict behaviour
@see https://www.filebot.net/forums/viewtopic.php?f=8&t=4428&p=24740#p24740
2016-12-06 00:30:51 +09:00
Reinhard Pointner
a106151ca4 Added {dc} duplicate count binding and improved support for testing expressions and bindings with real data 2016-12-06 00:17:32 +09:00
Reinhard Pointner
55aa87ffa1 Fix {plex} for Music
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=4465
2016-12-06 00:12:52 +09:00
Reinhard Pointner
c11d8bed17 Added {dc} duplicate count binding and improved support for testing expressions and bindings with real data 2016-12-05 01:44:51 +09:00
Reinhard Pointner
d0a3b76c84 Dynamically resize the code editor depending on how many lines the current format expression has 2016-11-28 20:47:45 +08:00
Reinhard Pointner
7a91e60858 Refactor CmdlineInterface with proper types for all parameters 2016-11-28 20:17:17 +08:00
Reinhard Pointner
7a0a36b528 Refactor CmdlineInterface with proper types for all parameters 2016-11-28 06:10:42 +08:00
Reinhard Pointner
a1d024b097 Auto-Select [%s] from %s 2016-11-27 04:59:24 +08:00
Reinhard Pointner
5f49f53ec3 showInputDialog 2016-11-27 04:58:19 +08:00
Reinhard Pointner
84d728a45b Auto-Select %s from %s 2016-11-27 04:57:48 +08:00
Reinhard Pointner
ec8e228e80 Refactor CmdlineOperationsTextUI 2016-11-27 04:47:12 +08:00
Reinhard Pointner
b82fab09f7 TerminalEmulatorAutoCloseTrigger.CloseOnEscape 2016-11-27 02:18:48 +08:00
Reinhard Pointner
4e606bd1d7 Catch JNA native lib errors 2016-11-26 17:53:45 +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
94f5e5ade4 Compatibility fix 2016-11-26 01:37:09 +08:00
Reinhard Pointner
9af9706e4a Fix error prone code 2016-11-26 01:23:56 +08:00
Reinhard Pointner
396815015f Fix error prone code 2016-11-26 01:19:17 +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
22cbe48a8c Don't show warning notifications to the user for internal warnings 2016-11-25 07:09:35 +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
f7be44f642 Update snap 2016-11-24 22:27:22 +08:00
Reinhard Pointner
de75c2671b Work around Snappy sandbox issues 2016-11-24 16:51:15 +08:00
Reinhard Pointner
ec2124f189 new RuntimePermission("canProcessApplicationEvents") 2016-11-24 16:48:50 +08:00
Reinhard Pointner
743ae529b6 new RuntimePermission("canProcessApplicationEvents") 2016-11-24 16:37:51 +08:00
Reinhard Pointner
3887213e1c new AWTPermission("*") 2016-11-24 16:28:40 +08:00
Reinhard Pointner
839d2cc7b8 new AWTPermission("setWindowAlwaysOnTop") 2016-11-24 16:24:31 +08:00
Reinhard Pointner
3b96bf5b61 Refactor 2016-11-24 05:36:46 +08:00
Reinhard Pointner
8dfb69aa47 Refactor 2016-11-24 04:51:40 +08:00
Reinhard Pointner
08f02d4dab Fix default width for Windows 10 2016-11-23 20:06:37 +08:00
Reinhard Pointner
e362f22972 new AWTPermission("toolkitModality") 2016-11-23 15:02:31 +08:00
Reinhard Pointner
9667d3d55c Refactor common reload-episode-data tasks 2016-11-23 04:34:56 +08:00
Reinhard Pointner
5334fb38ef Support dynamic SortOrder binding {order}
e.g. {order.Airdate.SxE}
2016-11-23 01:17:59 +08:00
Reinhard Pointner
8745f1ccfe Support dynamic SortOrder binding {order}
e.g. {order.Airdate.SxE}
2016-11-23 00:55:11 +08:00
Reinhard Pointner
3f10b3265b Don't use Roman Numeral Unicode characters 2016-11-22 18:49:31 +08:00
Reinhard Pointner
894f76d8bc Replace numbers 1..12 with Roman numerals
e.g. "Star Wars: Episode 4" -> "Star Wars: Episode IV"
2016-11-22 09:59:42 +08:00
Reinhard Pointner
b6c2329e79 Improved support for absolute multi-episode patterns
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=4371&p=24494#p24485
2016-11-22 07:01:51 +08:00
Reinhard Pointner
cb499b0590 Set RETRY time to 5 / 10 seconds 2016-11-21 04:27:34 +08:00
Reinhard Pointner
98d2601db3 Revert log level for retries to FINEST 2016-11-21 04:14:00 +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
8932eb0b2a Refactor UnicodeReader and BOM detection 2016-11-21 01:56:43 +08:00
Reinhard Pointner
53376c3de6 Ignore NEWLINE in format expression literals
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=4338&p=24461#p24461
2016-11-21 00:38:57 +08:00
Reinhard Pointner
4d83f04812 Fix ReleaseInfo.clean issues 2016-11-20 12:20:17 +08:00
Reinhard Pointner
3779d48afa Use StageStyle.UTILITY for all platforms 2016-11-20 02:52:20 +08:00
Reinhard Pointner
01c62f7cc0 Fix MigLayout 5 issues 2016-11-20 02:52:01 +08:00
Reinhard Pointner
a424b55b8e Refactor BuildData.groovy 2016-11-19 20:16:00 +08:00
Reinhard Pointner
592e3ae608 Work around compiler type-inference issues 2016-11-19 00:12:36 +08:00
Reinhard Pointner
ca218231ba Guess GVFS folder based on keywords (see https://wiki.gnome.org/Projects/gvfs/doc) 2016-11-18 23:51:13 +08:00
Reinhard Pointner
6f3f27a005 Use -Dnet.filebot.gio.GVFS="$XDG_RUNTIME_DIR/gvfs" for sandboxed snappy app but default to libgio for standard Linux environments 2016-11-18 18:25:44 +08:00
Reinhard Pointner
7bfb19aa35 Improved logging for CachedResource (especially when dealing with malformed XML or JSON responses) 2016-11-18 17:46:41 +08:00
Reinhard Pointner
b4ca1d6c64 Fix MAS REJECT:
Performance - 2.3

Your Application contains information that is not relevant to the application content or functionality.

Specifically, it would be appropriate to remove "How to install FileBot Subtitles?" option. We've attached screenshot(s) for your reference.
2016-11-17 15:06:59 +08:00
Reinhard Pointner
629a3b389e Support {info.originalLanguage} and {audioLanguages} 2016-11-17 14:48:24 +08:00
Reinhard Pointner
cb7297a95e Avoid rendering issues on Windows 10 2016-11-17 07:23:14 +08:00
Reinhard Pointner
169d41c5e0 Fix format pattern issues (e.g. MA in MAN was cleaned in non-strict mode) 2016-11-15 05:33:01 +08:00
Reinhard Pointner
131a5a29aa Less verbose debug logging 2016-11-15 04:50:52 +08:00
Reinhard Pointner
619ca9a197 Refactor MediaBindingBean 2016-11-14 18:13:36 +08:00
Reinhard Pointner
46562be17d -Dnet.filebot.WebServices.TheMovieDB.adult=true 2016-11-14 01:00:45 +08:00
Reinhard Pointner
1d00c641b0 X-RateLimit: 40 requests per 10 seconds => https://developers.themoviedb.org/3/getting-started/request-rate-limiting 2016-11-14 00:35:57 +08:00
Reinhard Pointner
e346e199c3 Avoid NPE 2016-11-14 00:33:39 +08:00
Reinhard Pointner
7feeb0a3be Refactor MediaBindingBean error handling 2016-11-13 19:12:30 +08:00
Reinhard Pointner
1d997e556e Don't show version in single panel frame window header 2016-11-13 16:55:43 +08:00
Reinhard Pointner
67af50b49e Avoid unnecessary Guava dependencies 2016-11-13 02:00:26 +08:00
Reinhard Pointner
f17717595a Add additional debug logging just in case something strange happens.
@see https://www.filebot.net/forums/viewtopic.php?f=12&t=4305
2016-11-12 22:25:56 +08:00
Reinhard Pointner
a287e14e76 Bump 4.7.5 2016-11-12 06:48:40 +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
434f2e59d9 Fix ChecksumTable display issues (and force GridColor to light gray because it's just white by default on Mac) 2016-11-12 01:34:06 +08:00
Reinhard Pointner
020aa5e10b Resolve relative files against $HOME 2016-11-11 19:07:00 +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
2d3ae1ae3d Make sure that all buttons in the row have the same height (fix Windows 10 LaF issues) 2016-11-10 06:27:53 +08:00
Reinhard Pointner
5bf208fadb Refactor Normalization 2016-11-09 23:02:25 +08:00
Reinhard Pointner
715f12601a Refactor Normalization 2016-11-09 22:32:27 +08:00
Reinhard Pointner
af62b1271b Fix keyword exclude pattern for {group} 2016-11-09 21:29:03 +08:00
Reinhard Pointner
68fd6df113 Refactor Normalization 2016-11-09 21:23:06 +08:00
Reinhard Pointner
70ca7b9484 Binding "General[0][Encoded_Date]": undefined => normal if Encoded_Date is undefined => ignore 2016-11-08 21:58:25 +08:00