Commit Graph

2613 Commits

Author SHA1 Message Date
Reinhard Pointner 9f9aa9ed82 Support REVERT for all rename actions 2016-03-10 16:23:45 +00:00
Reinhard Pointner 4d695a1d7d Refactor logging 2016-03-10 14:38:34 +00:00
Reinhard Pointner ffa98e1989 Refactor logging 2016-03-10 14:05:56 +00:00
Reinhard Pointner 558ccee1f3 Parse /2016-03-10/ and /2016/ patterns 2016-03-10 12:15:07 +00:00
Reinhard Pointner ff2b8170a5 More debug logging 2016-03-10 11:51:22 +00:00
Reinhard Pointner c6cd09b50d Fix isStale condition 2016-03-10 07:22:47 +00:00
Reinhard Pointner 8bb15132d2 Find the original exception 2016-03-10 07:22:44 +00:00
Reinhard Pointner 8333c502c4 Fixed GlazedList @Depricated 2016-03-10 07:22:41 +00:00
Reinhard Pointner 1a0fd86ba5 Fail gracefully when doing ID3 lookups 2016-03-10 06:47:51 +00:00
Reinhard Pointner e193e60d9f Refactor 2016-03-10 06:38:14 +00:00
Reinhard Pointner d76f625328 Fix various compiler warnings 2016-03-10 06:28:22 +00:00
Reinhard Pointner 537144187a Refactor 2016-03-10 04:42:39 +00:00
Reinhard Pointner fd1f5b17f4 Unify gui/console logging 2016-03-09 20:48:56 +00:00
Reinhard Pointner 78c3b6917d Unify gui/console logging 2016-03-09 20:36:28 +00:00
Reinhard Pointner 1ab9d36938 Experiment with new CachedResource framework 2016-03-09 19:51:41 +00:00
Reinhard Pointner 4390752fc0 Experiment with new CachedResource framework 2016-03-09 19:26:03 +00:00
Reinhard Pointner 96b653da0a Unify gui/console logging 2016-03-09 19:26:00 +00:00
Reinhard Pointner f45f390d5c only log errors to file 2016-03-09 16:18:20 +00:00
Reinhard Pointner 2f76465c38 Unify gui/console logging 2016-03-09 16:02:36 +00:00
Reinhard Pointner 63fd9d77af Fix computeIf condition!!!! 2016-03-09 16:02:31 +00:00
Reinhard Pointner 7b7d6b36a8 Experiment with new CachedResource framework 2016-03-09 10:32:52 +00:00
Reinhard Pointner bf2571f04f Refactor 2016-03-09 10:32:49 +00:00
Reinhard Pointner 67431e1745 Refactor 2016-03-09 10:32:46 +00:00
Reinhard Pointner 3ea3045545 Refactor 2016-03-09 06:28:36 +00:00
Reinhard Pointner 9fe2c81784 Refactor 2016-03-09 06:17:25 +00:00
Reinhard Pointner 83e7f189d6 Added new expression format methods:
* String.replace(Map)
* Collection.join(String, String, String)
* Object.check(Closure)
2016-03-09 05:58:52 +00:00
Reinhard Pointner 4e90c5d7af Show expected exceptions as info message 2016-03-09 05:58:49 +00:00
Reinhard Pointner aaa75b5988 Show expected exceptions as info message 2016-03-09 05:58:47 +00:00
Reinhard Pointner 7d5c9545b8 Refactor 2016-03-09 05:58:44 +00:00
Reinhard Pointner 535a16621c Refactor 2016-03-09 05:58:41 +00:00
Reinhard Pointner 360e0b5a55 Fix update.xml parse issues 2016-03-09 05:58:39 +00:00
Reinhard Pointner 2ee0e3cd8d Stream refactoring 2016-03-09 05:58:36 +00:00
Reinhard Pointner 1e7fa00ef4 Refactor 2016-03-08 17:47:17 +00:00
Reinhard Pointner b4498da47e Fix ETag caching 2016-03-08 17:45:00 +00:00
Reinhard Pointner 4fae01236a Use java.nio.charset.StandardCharsets.* instead of Charset.forName 2016-03-08 17:02:53 +00:00
Reinhard Pointner 022c2c40a3 Fix NSIS installer issues 2016-03-08 16:40:44 +00:00
Reinhard Pointner bd06ecb9e4 Refactor 2016-03-08 16:21:10 +00:00
Reinhard Pointner 7eb9192736 Make sure "Clear Cache" works correctly 2016-03-08 16:21:07 +00:00
Reinhard Pointner 19197626d7 Refactor 2016-03-08 14:51:53 +00:00
Reinhard Pointner 8be83e8759 Refactor 2016-03-08 14:43:21 +00:00
Reinhard Pointner 3af533fd07 Experiment with new CachedResource framework 2016-03-08 14:41:30 +00:00
Reinhard Pointner 1f53b540dc Refactor 2016-03-08 13:06:07 +00:00
Reinhard Pointner e95078668e Experiment with new CachedResource framework 2016-03-08 12:59:24 +00:00
Reinhard Pointner 7e5388e7fa Refactor 2016-03-08 09:54:29 +00:00
Reinhard Pointner 1ae3f5d2b8 Refactor 2016-03-08 09:43:59 +00:00
Reinhard Pointner be5e65a844 Refactor 2016-03-07 23:56:32 +00:00
Reinhard Pointner a4d363bb97 Remove json-simple.jar 2016-03-07 19:46:47 +00:00
Reinhard Pointner 9605ab7e63 Experiment with new CachedResource framework 2016-03-07 16:01:10 +00:00
Reinhard Pointner 7d3b099c07 Experiment with new CachedResource framework 2016-03-07 15:36:13 +00:00
Reinhard Pointner bc2b96d09b More types less bugs 2016-03-07 13:39:38 +00:00
Reinhard Pointner e9f92a87e6 Experiment with new CachedResource framework 2016-03-07 12:34:02 +00:00
Reinhard Pointner 95ce706e2e Experiment with new CachedResource framework 2016-03-07 12:30:12 +00:00
Reinhard Pointner c5c8525b49 Move CachedResource2 2016-03-07 12:30:09 +00:00
Reinhard Pointner a46a3e48a8 Experiment with new CachedResource framework 2016-03-07 11:32:00 +00:00
Reinhard Pointner 4e41d0dfd1 Experiment with new CachedResource framework 2016-03-07 10:55:45 +00:00
Reinhard Pointner a0ebae1db2 Refactor 2016-03-07 06:38:23 +00:00
Reinhard Pointner bbed902c63 Experiment with new CachedResource framework 2016-03-06 22:21:13 +00:00
Reinhard Pointner 500a4972e1 Rewrite caching 2016-03-06 18:11:30 +00:00
Reinhard Pointner 5156a0f042 Fix json-io parse issues 2016-03-06 14:42:15 +00:00
Reinhard Pointner 335c857688 Fix json-io parse issues 2016-03-06 13:57:16 +00:00
Reinhard Pointner ed455635bd Fix json-io parse issues 2016-03-06 09:55:17 +00:00
Reinhard Pointner cf2a4f306b Avoid breaking json-io updates 2016-03-06 09:17:42 +00:00
Reinhard Pointner 9311a870e0 Fix json-io parse issues 2016-03-06 09:07:58 +00:00
Reinhard Pointner 0e70aac95a Refactor 2016-03-05 21:06:26 +00:00
Reinhard Pointner b452414614 Close stream 2016-03-05 21:06:20 +00:00
Reinhard Pointner 93937680a7 Refactor 2016-03-05 15:14:49 +00:00
Reinhard Pointner 74569a405f Support Query->SearchResult persistent memory in Episode mode 2016-03-04 22:52:15 +00:00
Reinhard Pointner 58c1169fec Make FINEST matcher logging options available to end users 2016-03-02 19:10:55 +00:00
Reinhard Pointner a5fba63043 Make FINEST matcher logging options available to end users 2016-03-02 18:36:46 +00:00
Reinhard Pointner cb79fe71b5 Make FINEST matcher logging options available to end users 2016-03-02 18:15:32 +00:00
Reinhard Pointner 862d181c29 Refactor console logging 2016-03-02 17:25:14 +00:00
Reinhard Pointner 227f313461 Added SystemProperty accessor class 2016-03-02 17:10:18 +00:00
Reinhard Pointner e7da897a1c Refactor console logging 2016-03-02 16:14:16 +00:00
Reinhard Pointner 09ef06496d Refactor console logging 2016-03-02 15:55:06 +00:00
Reinhard Pointner e9ddee19d6 Refactor console logging 2016-03-02 15:03:11 +00:00
Reinhard Pointner 567b50da21 Refactor console logging 2016-03-02 15:02:44 +00:00
Reinhard Pointner 1c320a461b Remove -get-missing-subtitles option 2016-03-02 05:38:34 +00:00
Reinhard Pointner 506de41711 Remove -get-missing-subtitles option 2016-03-02 05:19:52 +00:00
Reinhard Pointner 6f4d420c5b Use HTTPS for all FileBot data files 2016-03-01 05:19:30 +00:00
Reinhard Pointner 352b34bb61 * Ignore bad series entries on the client-side right away 2016-03-01 05:19:27 +00:00
Reinhard Pointner fd41e5518a Clean up 2016-02-28 10:47:20 +00:00
Reinhard Pointner 87238fe330 Unify CLI/GUI lookupSubtitleByHash 2016-02-27 05:22:46 +00:00
Reinhard Pointner f27325a458 Print extra new lines only if logging is turned on 2016-02-27 03:27:34 +00:00
Reinhard Pointner 01d4e23f01 Fix formatMultiEpisode preview format 2016-02-26 18:22:07 +00:00
Reinhard Pointner b301f445a5 Fix formatMultiEpisode preview format 2016-02-26 17:42:21 +00:00
Reinhard Pointner 07037b34ce Support multi-episode objects where each episode member has the same SxE numbers
@see https://www.filebot.net/forums/viewtopic.php?f=8&t=3456
2016-02-26 16:35:59 +00:00
Reinhard Pointner 55491a137d Presume that OpenSubtitles hash matches are being polluted by BSPlayer and never just trust hash matches
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3452#p19190
2016-02-26 13:14:17 +00:00
Reinhard Pointner f498d5c38e Clean up 2016-02-25 12:16:18 +00:00
Reinhard Pointner e63f9b0718 + OpenSubtitles: Perform 1-episode-only or 1-season-only search queries to avoid the 500 result limit 2016-02-24 05:49:58 +00:00
Reinhard Pointner 346189a459 Clean up 2016-02-24 05:49:54 +00:00
Reinhard Pointner e08e461369 Improved default behaviour 2016-02-24 02:47:42 +00:00
Reinhard Pointner 3768f656ef Best to make it fail completely if one episode list of possible matches fails to download 2016-02-23 05:46:54 +00:00
Reinhard Pointner e10d2ffd9e + VoteRate metric 2016-02-22 21:29:26 +00:00
Reinhard Pointner accac8c6ab Adjust differentiation accuracy to about a year 2016-02-22 18:48:23 +00:00
Reinhard Pointner 0d1ac6ae56 Channels 2.0 2016-02-22 17:15:19 +00:00
Reinhard Pointner ce64a653f0 Refactor 2016-02-22 08:21:03 +00:00
Reinhard Pointner 331b271d2b Prefer exact series name as query if known. Otherwise perform the usual query normalization. 2016-02-22 06:24:12 +00:00
Reinhard Pointner fe49ebf36d Make sure that SimpleFormat.format(String) continues to work for custom formats 2016-02-22 04:46:37 +00:00
Reinhard Pointner 158119a26b Cache Pattern instance 2016-02-22 04:34:08 +00:00
Reinhard Pointner c41f564832 Make sure that files can't be added twice with one single drop action (e.g. when parent folder and child file are part of the same file transferable) 2016-02-11 20:15:40 +00:00
Reinhard Pointner abb32b796a Update unit test 2016-02-10 20:16:02 +00:00
Reinhard Pointner 9c8da51277 Cache SeriesNameMatcher objects 2016-02-10 18:32:39 +00:00
Reinhard Pointner d84b11a850 Optimize DateMatcher 2016-02-10 18:32:34 +00:00
Reinhard Pointner bf69d750e8 Cache SeriesNameMatcher objects 2016-02-10 18:32:30 +00:00
Reinhard Pointner a81fcf155a Support localized month names when matching dates 2016-02-10 14:33:53 +00:00
Reinhard Pointner c12df53182 Support localized month names when matching dates 2016-02-10 14:31:59 +00:00
Reinhard Pointner 04e254ba04 Format source 2016-02-10 14:31:56 +00:00
Reinhard Pointner 9e87c59b68 Prefer Locale.ENGLISH when it makes sense 2016-02-10 14:31:53 +00:00
Reinhard Pointner 331f51caf7 Optimize DateMatcher 2016-02-10 12:03:07 +00:00
Reinhard Pointner ffa8b021e0 Optimize DateMatcher 2016-02-10 11:47:17 +00:00
Reinhard Pointner 3b79ef9e39 Simplify SimpleDate 2016-02-10 11:47:13 +00:00
Reinhard Pointner 058940e847 Use java.time.* instead of Calendar 2016-02-10 03:17:31 +00:00
Reinhard Pointner 9be55cbf54 Fix yyyyMMdd pattern 2016-02-10 03:17:28 +00:00
Reinhard Pointner 95ea4130ec Add yyyymmdd date pattern
@see https://www.filebot.net/forums/viewtopic.php?f=8&t=3409
2016-02-10 02:48:28 +00:00
Reinhard Pointner 856972e4da Refactor 2016-02-09 17:16:14 +00:00
Reinhard Pointner aba1effc83 -Dnet.filebot.logger.cli.anonymize 2016-02-09 16:44:49 +00:00
Reinhard Pointner fcb003f440 Don't match numbers that are too long 2016-02-09 15:02:41 +00:00
Reinhard Pointner 49710f27f9 Refactor 2016-02-09 13:34:55 +00:00
Reinhard Pointner c55882e7d1 Use collectingAndThen for merging SearchResult objects 2016-02-09 11:38:40 +00:00
Reinhard Pointner 38b17a467a Correctly combine local and api search results 2016-02-09 09:37:37 +00:00
Reinhard Pointner 7a4f0eb9e2 Refactor SearchResult classes 2016-02-09 09:37:34 +00:00
Reinhard Pointner e2a3149d19 Refactor SimilarityComparator simple usage 2016-02-09 01:17:48 +00:00
Reinhard Pointner 25f6edd065 Use shared Groovy script engine 2016-02-08 22:40:05 +00:00
Reinhard Pointner 1ebece8d19 Fix regression issues caused by `selectSearchResult` now taking into account alias titles (which is not desirable when query was entered manually) 2016-02-08 22:29:50 +00:00
Reinhard Pointner 037c3d9e68 Refactor SimilarityComparator 2016-02-08 22:29:45 +00:00
Reinhard Pointner ec0f9293c7 Improved error reporting for people that do `--db TheTVDB --lang ITA` 2016-02-08 17:27:17 +00:00
Reinhard Pointner 1a4f1a5966 refactor 2016-02-06 18:34:47 +00:00
Reinhard Pointner 94605c2593 * play with new convenience methods for Swing using lambdas 2016-02-06 14:56:23 +00:00
Reinhard Pointner 15dc273d7f * play with new convenience methods for Swing using lambdas 2016-02-06 14:03:56 +00:00
Reinhard Pointner fde21946dc * refactor subtitle upload (and improve CD1/CD2 upload support) 2016-02-06 12:23:59 +00:00
Reinhard Pointner 3152a69152 Make {languages} binding work for Episode objects as well 2016-02-05 11:15:12 +00:00
Reinhard Pointner 7c292e631e + added {languages} binding, as a convience binding for {info.SpokenLanguages} 2016-02-05 10:49:39 +00:00
Reinhard Pointner 0273408145 Ignore N/A values 2016-02-05 10:49:36 +00:00
Reinhard Pointner c5564f60c8 Support SpokenLanguages with OMDb
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=2367&p=18803#p18800
2016-02-05 10:49:34 +00:00
Reinhard Pointner 4ba06f256a fix unecessary double caching 2016-02-04 10:05:29 +00:00
Reinhard Pointner e4ed235c55 More lenient CD.I pattern 2016-02-04 08:40:38 +00:00
Reinhard Pointner 92a08db4e4 Fix Mac sandbox issues 2016-02-03 19:32:35 +00:00
Reinhard Pointner 0d1f6cfac6 * revert, DnD issues are caused by Finder/OSX waiting for previous ongoing drop event to be accepted/rejected 2016-02-03 19:32:32 +00:00
Reinhard Pointner 87125a98a9 Fix Mac sandbox issues 2016-02-03 18:52:42 +00:00
Reinhard Pointner 4debb73ffc Fix Mac sandbox issues 2016-02-03 18:25:05 +00:00
Reinhard Pointner 62a9dfb386 + support --conflict index option 2016-02-03 18:14:44 +00:00
Reinhard Pointner 83e57c5f48 + support --conflict index option 2016-02-03 18:14:14 +00:00
Reinhard Pointner ec14f3c084 Improve subtitle upload behaviour 2016-02-03 18:14:11 +00:00
Reinhard Pointner db4b6b9487 in internal getMediaInfo(File) calls, explicitly ignore the --filter option if any and don't inherit it's value from the commandline options 2016-02-02 17:22:27 +00:00
Reinhard Pointner 2bee69d732 Use xattr metadata from the given file as info object when evaluating file filter expressions on files 2016-02-02 17:22:24 +00:00
Reinhard Pointner c3decda9cb Improve Subtitle Upload usability 2016-02-01 10:09:06 +00:00
Reinhard Pointner 07c64dbd61 Improve Subtitle Upload usability 2016-01-31 21:53:58 +00:00
Reinhard Pointner 62cc40136a Fix MAS permission issues 2016-01-31 18:16:18 +00:00
Reinhard Pointner 5ffc2a804c Fix MAS permission issues 2016-01-31 18:06:57 +00:00
Reinhard Pointner b428b13835 Fix MAS permission issues 2016-01-31 18:03:14 +00:00
Reinhard Pointner 9f2b63121f + subtitle language auto-detection for {lang} binding 2016-01-31 16:13:04 +00:00
Reinhard Pointner ee0dbe7784 Fix subtitle format auto-detection bug, that makes filebot unable to read subtitle files with bad extensions 2016-01-30 15:43:54 +00:00
Reinhard Pointner c4dcc6a6b8 Update query-blacklist.txt 2016-01-30 14:48:24 +00:00
Reinhard Pointner b20259e508 Update {s3d} pattern 2016-01-29 16:06:28 +00:00
Reinhard Pointner 6d124bb690 Cache heavily used Pattern/FileFilter objects 2016-01-28 16:18:01 +00:00
Reinhard Pointner 517852b9d0 Update data files
@see https://www.filebot.net/forums/viewtopic.php?f=6&p=18658#p18657
2016-01-28 13:46:06 +00:00
Reinhard Pointner ca757a7f3f Added {channels} binding for values like 5.1 2016-01-26 18:41:47 +00:00
Reinhard Pointner 57de63d6ec Update {tags} pattern 2016-01-26 16:26:08 +00:00
Reinhard Pointner 52d82489cb Allow Season Year values in the Season spinner 2016-01-26 16:23:01 +00:00
Reinhard Pointner db9dc0f9e9 Added {az} SortInitial binding. 2016-01-26 11:29:16 +00:00
Reinhard Pointner 78734c6f34 Add {gigabytes} as sample binding 2016-01-25 12:03:26 +00:00
Reinhard Pointner b0977a7b2c Support corner-case with unusual MediaInfo Channel(s) values 2016-01-25 11:10:56 +00:00
Reinhard Pointner 76871ac44d * refactor 2016-01-24 14:12:19 +00:00
Reinhard Pointner d80cc8b764 cleanup 2016-01-23 22:41:42 +00:00
Reinhard Pointner 40a98b08ae * unify GUI/CLI probable match selection 2016-01-23 22:25:05 +00:00
Reinhard Pointner 0bfc9154e8 Improved support for AniDB movies
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3346
2016-01-23 16:20:03 +00:00
Reinhard Pointner df094e0e01 include application version in frame title 2016-01-23 16:11:49 +00:00
Reinhard Pointner 7b64f7c916 * refactor 2016-01-22 09:48:27 +00:00
Reinhard Pointner 8770cddaa5 * make it clear that localSearch results are first and preferred over apiSearch results 2016-01-20 12:50:51 +00:00
Reinhard Pointner 1f5b3d21dd added {localize} binding examples 2016-01-19 12:00:40 +00:00
Reinhard Pointner 68549e5e6e make sure to avoid "special" files that aren't folders but also not really files 2016-01-18 05:30:52 +00:00
Reinhard Pointner 8e7bf88b06 make TVMazeClient more robust to unexpected json response data 2016-01-17 15:59:00 +00:00
Reinhard Pointner 8ca67b9b64 Make {localize} binding more self-documenting 2016-01-17 09:12:45 +00:00
Reinhard Pointner a226a4de0f + added {localize} binding to allow just-in-time localization of movie/episode data
Episode Format Example: {localize.German.Title}
Movie Format Example: {localize.Chinese.Name}
2016-01-17 07:01:53 +00:00
Reinhard Pointner bdd7e6c245 organize imports 2016-01-12 14:57:01 +00:00
Reinhard Pointner c18478147e refactor number parsing 2016-01-10 05:03:09 +00:00
Reinhard Pointner 9cc353e981 refactor number parsing 2016-01-10 04:54:35 +00:00
Reinhard Pointner 49561dd944 * more lenient number parsing 2016-01-10 02:58:49 +00:00
Reinhard Pointner cba56ff053 simplify regex 2016-01-08 14:28:31 +00:00
Reinhard Pointner 098e5c5e6f * update media info terms 2016-01-08 14:04:51 +00:00
Reinhard Pointner c5b7f73872 * add \p{Cntrl} characters to filesystem illegal characters pattern 2016-01-08 13:43:02 +00:00
Reinhard Pointner 9949224e2b added String.removeIllegalCharacters convenience function 2016-01-08 13:28:46 +00:00
Reinhard Pointner 80e7da3820 * improved matching for patterns like EN_5.1 or JPN_2.0 2016-01-08 12:26:42 +00:00
Reinhard Pointner 13150d664c * fine-tune last-resort generic filename/filepath matching 2016-01-08 12:26:39 +00:00
Reinhard Pointner 249eb66d94 fix @see https://www.filebot.net/forums/viewtopic.php?f=10&t=3310#p18320 2016-01-07 18:30:42 +00:00
Reinhard Pointner f52a5113ca update {es} and {t} bindings 2016-01-07 15:09:09 +00:00
Reinhard Pointner b83fcad638 + Improved support for Plex multi-episode naming scheme (i.e. use ranges like S01E01-E05)
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=3310
2016-01-07 09:18:27 +00:00
Reinhard Pointner 0a48dd41b0 + Improved support for Plex multi-episode naming scheme (i.e. use ranges like S01E01-E05)
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=3310
2016-01-07 08:59:43 +00:00
Reinhard Pointner 50c23f9f2d * update release info patterns 2016-01-04 11:17:19 +00:00
Reinhard Pointner 991a330c7d * update release info patterns 2016-01-02 10:11:28 +00:00
Reinhard Pointner 50e81a916e update query-blacklist.txt 2015-12-29 16:01:43 +00:00
Reinhard Pointner b4108ed2a5 convenience bindings for {bytes} {megabytes} and {gigabytes} 2015-12-25 12:39:58 +00:00
Reinhard Pointner 47e033797a improved help menu 2015-12-25 10:23:52 +00:00
Reinhard Pointner f88630a5bc * added {source} patterns 2015-12-24 05:09:47 +00:00
Reinhard Pointner 3db65e359d * just pick the first hash match if we can't auto-guess the best possible match (and make CLI behave like the GUI) 2015-12-17 21:14:06 +00:00
Reinhard Pointner 17e23a827e * update OpenSubtitles subtitle metadata keys 2015-12-17 19:55:49 +00:00
Reinhard Pointner 95ac5a4f9a * just pick the first hash match if we can't auto-guess the best possible match (and make CLI behave like the GUI) 2015-12-17 10:32:55 +00:00
Reinhard Pointner 3081ec3885 * added bindings for Menu/Chapters/Image media info objects 2015-12-16 03:28:29 +00:00
Reinhard Pointner cf9045d3a4 * simplify name 2015-12-14 15:39:07 +00:00
Reinhard Pointner 3ff637e4e1 * fix 2015-12-14 09:50:42 +00:00