Commit Graph

4072 Commits

Author SHA1 Message Date
Reinhard Pointner 0678aa646a Inject ExpressionFormatFunctions via extensionClasses instead of starImports 2019-05-25 01:34:58 +07:00
Reinhard Pointner 49596efa67 access denied ("groovy.security.GroovyCodeSourcePermission" "/groovy/shell") 2019-05-24 17:02:39 +07:00
Reinhard Pointner dc0c1f1cea Fix mediaInfo / inferredMediaFile bottleneck 2019-05-24 01:16:29 +07:00
Reinhard Pointner 996701aec3 Fix mediaInfo / inferredMediaFile bottleneck 2019-05-24 01:13:08 +07:00
Reinhard Pointner 1295b9a0ad Added "Movie Folder" to Types Tab 2019-05-23 11:26:08 +07:00
Reinhard Pointner b6b942bddd Reduce read buffer to make sure slow network IO is not unnecessarily excessive 2019-05-23 05:42:49 +07:00
Reinhard Pointner 0f95884d84 Parallelize CPU heavy operations in Filter Panel / Types Tools 2019-05-23 04:00:25 +07:00
Reinhard Pointner ac97d6689f Parallelize CPU heavy operations in Filter Panel / Types Tools 2019-05-23 03:55:03 +07:00
Reinhard Pointner 839b50965a Default Anime processing to TheTVDB with Absolute Order instead of AniDB (and improve logging to make sure users see what's going on) 2019-05-22 20:26:18 +07:00
Reinhard Pointner a7b92060f5 Default Anime processing to TheTVDB with Absolute Order instead of AniDB (and improve logging to make sure users see what's going on) 2019-05-22 19:38:26 +07:00
Reinhard Pointner a427d913e9 Revert "TheTVDB numbering seems to be preferred over AniDB numbering these days:"
This reverts commit 6b198bdd4b.
2019-05-22 18:59:46 +07:00
Reinhard Pointner d5c8551761 Dark Mode for GroovyPad 2019-05-22 18:46:00 +07:00
Reinhard Pointner ececb1e645 Throttle AniDB to 1 request per 5 seconds, to strictly ensure "You should not request more than one page every two seconds."
https://wiki.anidb.net/w/HTTP_API_Definition#Anti_Leech_Protection
2019-05-22 18:19:05 +07:00
Reinhard Pointner e2992e9c09 Decorate 1 / ALL toggle button 2019-05-21 22:31:46 +07:00
Reinhard Pointner 6b198bdd4b TheTVDB numbering seems to be preferred over AniDB numbering these days:
https://www.filebot.net/forums/viewtopic.php?f=4&t=10740
2019-05-21 12:01:48 +07:00
Reinhard Pointner a22c519092 Fix Dark Mode layout issues 2019-05-21 02:49:17 +07:00
Reinhard Pointner 37f16de881 Dark Mode requires a little bit of extra min height 2019-05-21 01:29:11 +07:00
Reinhard Pointner 02d0497eae Use cp --reflink=auto for --action clone 2019-05-20 15:22:26 +07:00
Reinhard Pointner f391250830 REFLINK / CLONE may created empty files if REFLINK is not supported. This is bad.
REVERT: --action duplicate back the original behaviour of hardlink if possible, copy otherwise
2019-05-20 15:20:22 +07:00
Reinhard Pointner cb551d547e Fix --action duplicate behaviour for when --action clone is available and working 2019-05-20 15:11:27 +07:00
Reinhard Pointner a9285d53fd [!] Stream.count() may short-circuit and not traverse any elements at all.
@apiNote
An implementation may choose to not execute the stream pipeline (either sequentially or in parallel) if it is capable of computing the count directly from the stream source. In such cases no source elements will be traversed and no intermediate operations will be evaluated. Behavioral parameters with side-effects, which are strongly discouraged except for harmless cases such as debugging, may be affected. For example, consider the following stream:

List<String> l = Arrays.asList("A", "B", "C", "D");
long count = l.stream().peek(System.out::println).count();

The number of elements covered by the stream source, a List, is known and the intermediate operation, peek, does not inject into or remove elements from the stream (as may be the case for flatMap or filter operations). Thus the count is the size of the List and there is no need to execute the pipeline and, as a side-effect, print out the list elements.
2019-05-20 13:13:12 +07:00
Reinhard Pointner 6fb43e79b7 Add File.getDisplaySize() extension method 2019-05-20 00:28:21 +07:00
Reinhard Pointner 175b4df976 Stick to 1nd pass with Manami 2019-05-19 20:28:03 +07:00
Reinhard Pointner c9478ffeba Allow `*.groovy` files as argument value for `--format`, `--filter` and `--file-filter` CLI options (e.g. `--format /path/to/MyFormat.groovy`) 2019-05-19 18:54:58 +07:00
Reinhard Pointner e3ff4525c0 Allow `*.groovy` files as argument value for `--format`, `--filter` and `--file-filter` CLI options (e.g. `--format /path/to/MyFormat.groovy`) 2019-05-19 18:41:46 +07:00
Reinhard Pointner 98799eb827 2nd pass without Manami 2019-05-19 13:16:35 +07:00
Reinhard Pointner 1ebe2a350c Refactor Manami 2019-05-19 13:16:14 +07:00
Reinhard Pointner 616f361b0b Added -no-history switch 2019-05-19 12:47:17 +07:00
Reinhard Pointner e35e905fa9 Streamify --filter --format -exec pipeline 2019-05-19 04:01:12 +07:00
Reinhard Pointner 9bc0871b92 Streamify --filter --format -exec pipeline 2019-05-19 03:54:01 +07:00
Reinhard Pointner 8b71eda926 Make --format -exec pipeline more stateless 2019-05-19 03:52:33 +07:00
Reinhard Pointner 2838a8f976 Streamify --filter --format -exec pipeline 2019-05-19 03:48:10 +07:00
Reinhard Pointner a11b405931 Streamify --filter --format -exec pipeline 2019-05-19 03:30:53 +07:00
Reinhard Pointner 318e9af191 Implement non-manami artwork support as well just in case 2019-05-18 23:52:36 +07:00
Reinhard Pointner f4ff6b10dd Implement non-manami artwork support as well just in case 2019-05-18 23:51:41 +07:00
Reinhard Pointner d5e21795e4 Require non-place holder URIs 2019-05-18 23:11:12 +07:00
Reinhard Pointner 785072f159 Check dead entries 2019-05-18 22:46:27 +07:00
Reinhard Pointner 6239dbb1c8 Experiment with artwork thumbnail support 2019-05-18 21:07:56 +07:00
Reinhard Pointner ed1a0fa09c Experiment with artwork thumbnail support 2019-05-18 20:48:36 +07:00
Reinhard Pointner 45e491e962 Fix copy & paste programming 2019-05-18 20:27:32 +07:00
Reinhard Pointner d28df06818 Allow custom parallelism for formats 2019-05-18 02:26:57 +07:00
Reinhard Pointner b6251a7aa5 Allow custom parallelism for formats 2019-05-18 02:15:52 +07:00
Reinhard Pointner 468ded44aa Cache MediaInfo objects for up to 20 minutes to make sure we benefit from cached information even when processing files on network drives, especially when --filter is used followed by --format with lots of MediaInfo bindings.
https://www.filebot.net/forums/viewtopic.php?f=6&p=44112#p44111
2019-05-18 01:40:32 +07:00
Reinhard Pointner 79ee700001 Experiment with @2x artwork thumbnail support 2019-05-17 19:03:19 +07:00
Reinhard Pointner fadebfae61 Better upscale icons to @3x or @4x (if necessary) 2019-05-17 18:10:31 +07:00
Reinhard Pointner fab38b54a1 Use the same key type for all cache entries 2019-05-17 00:03:35 +07:00
Reinhard Pointner 674170a250 Experiment with @2x artwork thumbnail support 2019-05-16 23:19:42 +07:00
Reinhard Pointner 6f0e424414 Experiment with @2x artwork thumbnail support 2019-05-16 22:59:13 +07:00
Reinhard Pointner a69f51036c Experiment with @2x artwork thumbnail support 2019-05-16 22:55:45 +07:00
Reinhard Pointner fdec4090d2 Load multi-resolution images only if necessary 2019-05-16 20:45:00 +07:00