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

4143 Commits

Author SHA1 Message Date
Reinhard Pointner
a8ae0b2623 [ffprobe] Failed to read media encoding date: Text '2014-11-04 05:52:00' could not be parsed at index 10 2019-06-05 16:11:13 +07:00
Reinhard Pointner
5fd53daabb Add XEM origin 2019-06-05 13:12:25 +07:00
Reinhard Pointner
b02128b2bd Set special number explicitely 2019-06-04 10:02:26 +07:00
Reinhard Pointner
2b5e2a0785 Short-circuit if origin and destination is the same 2019-06-01 23:27:50 +07:00
Reinhard Pointner
658c940c45 Added {xem} binding to support --mapper XEM.TheTVDB 2019-06-01 22:56:51 +07:00
Reinhard Pointner
d87a0ae7e1 Maybe fix NPE on Linux 2019-06-01 17:53:22 +07:00
Reinhard Pointner
c2d8936973 Added {xem} binding to support --mapper XEM.TheTVDB 2019-06-01 17:49:22 +07:00
Reinhard Pointner
18f87bf55d Added {xem} binding to support --mapper XEM.TheTVDB 2019-06-01 17:43:18 +07:00
Reinhard Pointner
6947bfb69e Add XEM convenience methods 2019-05-31 02:25:54 +07:00
Reinhard Pointner
b5b61c9527 Fox potential timing issues causing "Send to" items being sent to the current panel instead of the target panel.
https://www.filebot.net/forums/viewtopic.php?f=8&t=10837&p=44333#p44332
2019-05-29 00:47:37 +07:00
Reinhard Pointner
cc059609c6 Do require minimum file size for libmediainfo calls to avoid libmediainfo crashing the JVM 2019-05-28 19:23:49 +07:00
Reinhard Pointner
c3350bc8e2 Add RecentlyAired metric (at the very bottom though, when everything is lost already) 2019-05-27 18:33:20 +07:00
Reinhard Pointner
4b62417804 Add ExpressionMapper interface 2019-05-27 15:33:35 +07:00
Reinhard Pointner
d1c1f027d3 Execute only distinct commands 2019-05-27 15:25:34 +07:00
Reinhard Pointner
877e52c02a Add ExpressionMapper interface 2019-05-27 15:25:22 +07:00
Reinhard Pointner
f6199e154f Add ExpressionMapper interface 2019-05-27 14:36:38 +07:00
Reinhard Pointner
23ff6048a3 Rearrange CLI option order 2019-05-27 14:36:25 +07:00
Reinhard Pointner
97aab5eab4 Allow @file.groovy syntax in Format Editor and Preset Editor (e.g. @/path/to/MyFormat.groovy) 2019-05-26 22:41:10 +07:00
Reinhard Pointner
d6062c9423 Add "Special Extend Edition" to {tags} 2019-05-26 15:53:23 +07:00
Reinhard Pointner
fe5fc7bbd1 Added Script.include(String path) convenience extension method / function to make including external scripts easier. 2019-05-25 02:01:30 +07:00
Reinhard Pointner
3ef7f62f51 Added Script.include(String path) convenience extension method / function to make including external scripts easier. 2019-05-25 02:01:09 +07:00
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
Reinhard Pointner
a05ab703ff Require Movie / Episode category files to be video files 2019-05-15 21:21:35 +07:00
Reinhard Pointner
ded4b33ca6 Add movie / series / episode extension properties to the built-in help 2019-05-15 10:13:12 +07:00
Reinhard Pointner
015314e5f5 Added {cy} collection years binding and {movie.collection} extension method 2019-05-15 10:04:23 +07:00
Reinhard Pointner
f3308493f7 Ensure JNA 4.x compatibility (i.e. use JNA package on Linux) 2019-05-14 18:49:58 +07:00
Reinhard Pointner
744f61a291 Prefer direct descendant video files when formatting folder objects
https://www.filebot.net/forums/viewtopic.php?f=8&t=10797
2019-05-12 02:11:41 +07:00
Reinhard Pointner
f58cffda34 Dark Mode fine-tuning 2019-05-08 23:26:41 +07:00
Reinhard Pointner
93a41a41f1 Enable dark mode by default if dark mode is set system-wide 2019-05-08 10:32:53 +07:00
Reinhard Pointner
7b6d154392 Use both "Channel(s)_Original" or "Channel(s)" just use the first one that actually has a valid value.
https://www.filebot.net/forums/viewtopic.php?f=5&t=10773&p=43876#p43869
2019-05-07 03:25:55 +07:00
Reinhard Pointner
570e5ecbee Use both "Channel(s)_Original" or "Channel(s)" just use the first one that actually has a valid value.
https://www.filebot.net/forums/viewtopic.php?f=5&t=10773&p=43876#p43869
2019-05-07 03:17:17 +07:00
Reinhard Pointner
bc25174fdc Implement XEM API 2019-05-06 19:54:12 +07:00
Reinhard Pointner
4b674db342 Implement XEM API 2019-05-06 17:28:30 +07:00
Reinhard Pointner
d0598ea9b9 Don't require minimum file size when using MediaInfo on small files (e.g. image files) 2019-05-06 15:50:20 +07:00
Reinhard Pointner
63aab06d3f shared HTTP Client instance for all thumbnail requests 2019-05-05 15:43:18 +07:00
Reinhard Pointner
8380ed9f3c Improved logging 2019-05-05 12:41:13 +07:00
Reinhard Pointner
3db219f1fb Experiment with artwork thumbnail support 2019-05-05 12:23:31 +07:00
Reinhard Pointner
72f2f68d0e Private lock 2019-05-05 04:59:59 +07:00
Reinhard Pointner
27095c51d0 Add blank thumbnail if poster is not available 2019-05-05 04:47:13 +07:00
Reinhard Pointner
ea583295f3 Generate index file 2019-05-05 00:34:49 +07:00
Reinhard Pointner
fdc2b6e473 Work around Java 11 HTTP Client TLS 1.3 bugs 2019-05-04 22:55:29 +07:00
Reinhard Pointner
bb686b5a27 Experiment with artwork thumbnail support 2019-05-04 19:15:56 +07:00
Reinhard Pointner
04d8e94a3c Add logging to debug parallel requests 2019-05-04 18:34:08 +07:00
Reinhard Pointner
9ee9ed8fbc Add caching 2019-05-04 18:19:33 +07:00
Reinhard Pointner
a19aa76369 Add caching 2019-05-04 18:18:50 +07:00
Reinhard Pointner
58ee860cc4 Add caching 2019-05-04 18:12:13 +07:00
Reinhard Pointner
3acc1a947c Experiment with artwork thumbnail support 2019-05-04 17:26:29 +07:00
Reinhard Pointner
d72b7f490d Support for 8-digit Movie IDs 2019-05-03 19:39:32 +07:00
Reinhard Pointner
add37ae1dc Update default banner mirror 2019-05-02 03:03:15 +07:00
Reinhard Pointner
c2090273d9 Improved logging 2019-05-01 17:07:06 +07:00
Reinhard Pointner
672c015696 + Add {history} binding to access the original historic path of {f} (e.g. useful for -exec post-processing calls) 2019-04-30 19:50:58 +07:00