1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00
Commit Graph

3477 Commits

Author SHA1 Message Date
Reinhard Pointner
e2105771c0 Move platform-specific utilities into net.filebot.platform.* package 2017-03-06 20:52:04 +08:00
Reinhard Pointner
4f5479363f Improved Preset Selection dialog 2017-03-04 01:14:53 +08:00
Reinhard Pointner
76838cb1ba Use database icon for custom Presets instead of the generic "Run Script" icon 2017-03-03 22:20:24 +08:00
Reinhard Pointner
c960fd85a7 Use database icon for custom Presets instead of the generic "Run Script" icon 2017-03-03 21:27:13 +08:00
Reinhard Pointner
7b7a75e694 Explicitly add "Exif Metadata" to the Preset Editor 2017-03-03 21:19:52 +08:00
Reinhard Pointner
b302ebe5de Refactor {sdhd} to support UHD/HD/SD and rename to {hd} 2017-03-03 17:51:54 +08:00
Reinhard Pointner
498b175fe9 Allow rename(action) parameter to override the --action command-line option
See https://www.filebot.net/forums/viewtopic.php?f=4&t=4801
2017-03-03 17:36:22 +08:00
Reinhard Pointner
342762427f Remove unnecessary toString() 2017-03-01 01:35:09 +08:00
Reinhard Pointner
45bcfbe3f6 Use CachedResource API 2017-02-28 16:48:02 +08:00
Reinhard Pointner
6996e4bf72 Refactor ExpressionFormat into generic ExpressionFormat (used by -mediainfo and -list calls) and ExpressionFileFormat (used when generating output paths) that performs all the file path validation logic (strip spaces, don't allow /\ in binding values, etc) 2017-02-28 00:59:20 +08:00
Reinhard Pointner
7eb59a9c62 Deprecate url.exclude-blacklist # clutter file exclude pattern 2017-02-27 23:08:50 +08:00
Reinhard Pointner
f28e41626f Refactor ExpressionFormat into generic ExpressionFormat (used by -mediainfo and -list calls) and ExpressionFileFormat (used when generating output paths) that performs all the file path validation logic (strip spaces, don't allow /\ in binding values, etc) 2017-02-27 22:11:59 +08:00
Reinhard Pointner
1d91160521 Cache OMDb resources for up to a month 2017-02-27 22:08:52 +08:00
Reinhard Pointner
9b7a6041cd Fix sample file issues
@see https://www.filebot.net/forums/viewtopic.php?f=8&t=4785
2017-02-27 21:58:46 +08:00
Reinhard Pointner
3415e31a2c Quotes work different in bash and PowerShell and there is no way of quoting strings that work for both 2017-02-27 20:07:28 +08:00
Reinhard Pointner
e902d999cd Add unit tests 2017-02-27 13:46:27 +08:00
Reinhard Pointner
d6a8dfc00e Added {dt} timestamp binding 2017-02-27 04:48:39 +08:00
Reinhard Pointner
40bab4a1fb Refactor ImageMetadata API 2017-02-26 22:55:44 +08:00
Reinhard Pointner
c16dbc3741 Refactor ImageMetadata API 2017-02-26 22:22:04 +08:00
Reinhard Pointner
8b79c595f3 Throw exception and unwind expression if ASO property is undefined 2017-02-26 21:25:11 +08:00
Reinhard Pointner
d6b33e5f0f Added {camera} bindings and allow associative lookup for enum properties for {camera} and {location} bindings 2017-02-26 21:00:35 +08:00
Reinhard Pointner
2a5ebbc7f1 Added {location} binding for dynamically resolving GPS -> Address via maps.googleapis.com 2017-02-26 04:28:06 +08:00
Reinhard Pointner
2c7c32472e Refactor ImageMetadata API 2017-02-26 04:26:15 +08:00
Reinhard Pointner
3d923da419 Improved GVFS error logging: GVFS: %s => %s 2017-02-25 22:47:17 +08:00
Reinhard Pointner
9f5867f295 Improved GVFS error logging: GVFS: %s => %s 2017-02-25 22:43:31 +08:00
Reinhard Pointner
b1ade214bc Simplify GVFS support 2017-02-25 21:20:40 +08:00
Reinhard Pointner
e3f46c56b5 Improved GVFS error logging: GVFS: %s => %s 2017-02-25 20:07:47 +08:00
Reinhard Pointner
16a36757a7 MediaInfo does not support EXIF image metadata natively so we use the metadata-extractor library and implicitly merge that information in 2017-02-25 19:24:47 +08:00
Reinhard Pointner
bd826cb297 {d} and {y} now evaluate to Exif Date-Taken if possible when dealing with generic files 2017-02-25 19:13:33 +08:00
Reinhard Pointner
86b7c4e4fd Added {exif} binding 2017-02-25 17:31:49 +08:00
Reinhard Pointner
c97057b197 Improved GVFS error logging: GVFS: %s => %s 2017-02-25 16:03:05 +08:00
Reinhard Pointner
d2df8d8923 MediaInfo does not support EXIF image metadata natively so we use the metadata-extractor library and implicitly merge that information in 2017-02-25 04:38:16 +08:00
Reinhard Pointner
f2b29f108c MediaInfo does not support EXIF image metadata natively so we use the metadata-extractor library and implicitly merge that information in 2017-02-25 04:05:07 +08:00
Reinhard Pointner
0a92f100ae Refactor 2017-02-24 16:44:30 +08:00
Reinhard Pointner
102ce41728 Support lookup by id, e.g. filebot -list --q 70327 2017-02-24 00:13:43 +08:00
Reinhard Pointner
df2a5f9269 Remove debug logging 2017-02-23 20:50:00 +08:00
Reinhard Pointner
f95689b5a1 Streamify -mediainfo and -list commands to make them more responsive when used on the command-line on large datasets 2017-02-23 20:49:51 +08:00
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