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

3440 Commits

Author SHA1 Message Date
Reinhard Pointner
9e13e1928e Streamify -mediainfo and -list commands to make them more responsive when used on the command-line on large datasets 2017-02-23 20:10:12 +08:00
Reinhard Pointner
bc910571ac Remove debug logging 2017-02-23 20:07:17 +08:00
Reinhard Pointner
8177d30c96 Add File.isImage() 2017-02-22 22:16:42 +08:00
Reinhard Pointner
a10beebe68 Update feelingLucky 2017-02-21 18:19:11 +08:00
Reinhard Pointner
f595e7247b Update feelingLucky 2017-02-21 16:43:55 +08:00
Reinhard Pointner
1370e494fa createIfNotExists 2017-02-21 15:50:17 +08:00
Reinhard Pointner
a926a71d19 + Push FileBot 4.7.8 2017-02-20 17:43:40 +08:00
Reinhard Pointner
9aeb854024 Use "inferred media file" logic when retrieving MediaInfo for image files linked to video files (i.e. the same as with subtitle files) 2017-02-19 22:27:25 +08:00
Reinhard Pointner
700239934f Refactor EpisodeMetrics 2017-02-19 00:41:36 +08:00
Reinhard Pointner
b64bff0c3e Update built-in binding sample data 2017-02-17 23:06:19 +08:00
Reinhard Pointner
5cc6ec0bb0 Refactor CmdlineOperations console output (i.e. don't say "rename" when using other actions like copy or hardlink) 2017-02-17 22:09:51 +08:00
Reinhard Pointner
4897adf913 Refactor Enum.forName error messages 2017-02-17 22:02:20 +08:00
Reinhard Pointner
21d562eadd Introduce "Absolute Airdate Order" to improve support for "Match by Airdate Number (e.g. 20161231)" and "Match by Episode Title" kind of use case 2017-02-17 21:28:50 +08:00
Reinhard Pointner
a513cf556a Introduce "Absolute Airdate Order" to improve support for "Match by Airdate Number (e.g. 20161231)" and "Match by Episode Title" kind of use case 2017-02-17 21:09:35 +08:00
Reinhard Pointner
223a82deb5 Introduce "Absolute Airdate Order" to improve support for "Match by Airdate Number (e.g. 20161231)" and "Match by Episode Title" kind of use case 2017-02-17 20:28:21 +08:00
Reinhard Pointner
04e8691553 SxE sets for Episode objects cannot be cached because the same Episode (by ID) may have different episode numbers depending on the order (e.g. Airdate VS DVD order) 2017-02-17 19:51:28 +08:00
Reinhard Pointner
2329104bad SxE sets for Episode objects cannot be cached because the same Episode (by ID) may have different episode numbers depending on the order (e.g. Airdate VS DVD order) 2017-02-17 19:49:53 +08:00
Reinhard Pointner
4c5776f9fa Fix JFrame icon for KDE 2017-02-16 03:07:27 +08:00
Reinhard Pointner
bdb1f96710 Experiment with Ubuntu Unity integration 2017-02-16 02:38:51 +08:00
Reinhard Pointner
176c7618da Experiment with Ubuntu Unity integration 2017-02-16 02:22:52 +08:00
Reinhard Pointner
7ff425df83 StartupWMClass=net-filebot-Main 2017-02-16 01:35:04 +08:00
Reinhard Pointner
9a784d40d2 Experiment with Ubuntu Unity integration 2017-02-16 00:58:43 +08:00
Reinhard Pointner
085b4b6b9e ms-windows-store://review/?ProductId=9NBLGGH52T9X 2017-02-15 16:59:03 +08:00
Reinhard Pointner
e15e69213b Fix Locking <file> log message 2017-02-15 01:36:59 +08:00
Reinhard Pointner
133572f196 Hide constructor in utility classes 2017-02-14 21:26:04 +08:00
Reinhard Pointner
c423f00c8a Refactor SubtitleFormat and add SAMI support (read-only) 2017-02-14 02:48:37 +08:00
Reinhard Pointner
ae96a2a55c Refactor SubtitleFormat and add SAMI support (read-only) 2017-02-14 02:33:21 +08:00
Reinhard Pointner
3ac78751b6 Experiment with SAMI subtitles 2017-02-14 01:34:24 +08:00
Reinhard Pointner
c5e126a642 Throttle OMDb usage to 2 requests per 1 second 2017-02-13 06:42:24 +08:00
Reinhard Pointner
74ead4e36c Make sure to debug log network errors 2017-02-12 21:54:00 +08:00
Reinhard Pointner
2946dae8c6 Throttle OMDb usage to 1 request per 1 second 2017-02-12 21:45:01 +08:00
Reinhard Pointner
8a9a6c62bb groupingBy() does NOT preserve order by default (but we used to assume that it does) 2017-02-12 20:08:54 +08:00
Reinhard Pointner
b28e81ca1e Support -non-strict in -list --q mode to fetch episodes for multiple results at once 2017-02-12 19:56:39 +08:00
Reinhard Pointner
2608cd7860 Make sure to preserve the original sort order (as returned by TheTVDB) 2017-02-12 19:09:31 +08:00
Reinhard Pointner
f8da07a171 Refactor Datasource.getName() / Datasource.getIdentifier() 2017-02-12 01:54:40 +08:00
Reinhard Pointner
c0b0c1c8a6 Show version in frame title when auto-update is not supported (e.g. MSI package) 2017-02-11 01:05:41 +08:00
Reinhard Pointner
699795e1d8 Lookup by ID only (to avoid TheMovieDB movie/tv mode conflicts) 2017-02-10 18:08:10 +08:00
Reinhard Pointner
e8cf185961 Remove unused code 2017-02-10 15:45:25 +08:00
Reinhard Pointner
3f24dc4c42 Use the com.sun.jna.platform additions that have been merged now 2017-02-09 18:41:01 +08:00
Reinhard Pointner
1391a2ffcb Use normalizePathSeparators 2017-02-09 16:21:32 +08:00
Reinhard Pointner
35f975e29f Added khz binding 2017-02-09 00:42:02 +08:00
Reinhard Pointner
1bcca0683a Auto-generate FileBot API docs 2017-02-08 23:18:27 +08:00
Reinhard Pointner
b1557c7788 Refactor MovieInfo 2017-02-08 23:17:05 +08:00
Reinhard Pointner
6b6e9d3f6b check for errors (e.g. <error>Banned</error>) 2017-02-08 13:38:10 +08:00
Reinhard Pointner
c0f7dc742e Lock the format editor to movie/episode/music/file mode depending on your selected datasource 2017-02-07 19:23:00 +08:00
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