Commit Graph

2983 Commits

Author SHA1 Message Date
Reinhard Pointner 5c1e91c397 Convert illegal runtime values like "1h 30min" or "90min" to valid Integer values 2016-08-07 19:46:18 +08:00
Reinhard Pointner b49859f894 Update built-in examples 2016-08-07 05:50:11 +08:00
Reinhard Pointner c99be48cf0 Added Integer binding for {runtime} 2016-08-07 05:49:42 +08:00
Reinhard Pointner 21a68272ec The Collection.join() extension method somehow interferes with the Groovy runtime (e.g. 'hello'.tr('aeiou', 'AEIOU') fails) 2016-08-07 05:20:16 +08:00
Reinhard Pointner 5efd23ccb1 Simplify force series pattern 2016-08-07 01:09:03 +08:00
Reinhard Pointner 8c00c21008 Support 'folder' / 'name' kind of expressions 2016-08-06 23:49:03 +08:00
Reinhard Pointner cb3f9c8953 Print binary content as Base64 2016-08-05 18:05:43 +08:00
Reinhard Pointner fe097b5a43 Add `--action reflink` to CLI help 2016-08-05 05:33:41 +08:00
Reinhard Pointner db8860c1ba Update `Help` links 2016-08-04 23:45:15 +08:00
Reinhard Pointner 4e7f45f244 Refactor 2016-08-04 20:29:33 +08:00
Reinhard Pointner a34882b4bf Fix docs 2016-08-04 20:29:18 +08:00
Reinhard Pointner df6e8bd182 All $HOME/FOLDERS are considered structure root folders 2016-08-04 15:06:54 +08:00
Reinhard Pointner 71548a4f41 Refactor ApplicationFolder 2016-08-04 15:05:54 +08:00
Reinhard Pointner 851cd9dc3b Fix regression issue.
https://www.filebot.net/forums/viewtopic.php?f=6&t=4023
2016-08-03 01:54:04 +08:00
Reinhard Pointner d3df8cd4e4 Fix regression issue.
https://www.filebot.net/forums/viewtopic.php?f=6&t=4023
2016-08-03 01:51:53 +08:00
Reinhard Pointner 4f4f90ecdc Support reader.readLine() 2016-08-02 21:23:47 +08:00
Reinhard Pointner 91ec67f77d Show support dialog to power users (that use filebot only once but rename many many files) 2016-08-02 18:12:45 +08:00
Reinhard Pointner 1c21c37285 Avoid NPE 2016-08-01 22:26:20 +08:00
Reinhard Pointner 361e15508c Improved error logging 2016-08-01 22:24:30 +08:00
Reinhard Pointner 57c0115c72 Support --action reflink (Linux only) 2016-08-01 14:02:26 +08:00
Reinhard Pointner c2add9937f Refactor 2016-07-31 13:36:07 +08:00
Reinhard Pointner c7a80c7fec Fix issues with {plex} special formatting 2016-07-30 18:12:08 +08:00
Reinhard Pointner f80534ba5e Include {genre} in built-in examples 2016-07-30 01:59:06 +08:00
Reinhard Pointner 993319c4cc Fix --db option issues when using -get-subtitles 2016-07-28 23:24:55 +08:00
Reinhard Pointner 440a3bf923 Fix --db option issues when using -get-subtitles 2016-07-28 23:22:57 +08:00
Reinhard Pointner 1da4b53942 Fix rare MediaInfo issues on Mac OS X (the special characters issue... again... broken during refactoring)
@see https://www.filebot.net/forums/viewtopic.php?f=12&t=3988&p=22392#p22392
2016-07-28 06:24:13 +08:00
Reinhard Pointner 5a9169c5ed Rename {file} binding to {f} and introduce new {file} binding for the File Object (without any checks, i.e. nullable) 2016-07-27 23:31:45 +08:00
Reinhard Pointner fc757ce0d0 Push FileBot 4.7.1 B1 2016-07-27 19:02:18 +08:00
Reinhard Pointner 2701b16744 Fix potential NPE (e.g. for XML pages that respond with 404 NOT FOUND)
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=3989&p=22375#p22375
2016-07-27 18:44:36 +08:00
Reinhard Pointner bcc581c10a Revert to using TheTVDB API v1 for FileBot 4.7.1 release (v2 is not mature enough yet) 2016-07-27 13:02:21 +08:00
Reinhard Pointner 6e892b9bdb TheTVDB API v1 & v2 compatibility 2016-07-27 13:01:34 +08:00
Reinhard Pointner 8649bd64fb Fix potential NPE (e.g. for XML pages that respond with 404 NOT FOUND)
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=3989&p=22375#p22375
2016-07-27 12:44:38 +08:00
Reinhard Pointner f5f910336b Keep old TheTVDBClient API v1 code working and maintained (in case we decide not to use v2 for the final release just yet) 2016-07-25 21:05:49 +08:00
Reinhard Pointner 231ffcf096 Make String.stripReleaseInfo() available in scripting context
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=3976#p22318
2016-07-25 17:40:26 +08:00
Reinhard Pointner b2a7c24ae7 Do not preserve AutoCompleteMatcher state (input/selection memory) between tasks (i.e. restore pre FileBot 4.7 behaviour) 2016-07-25 01:42:43 +08:00
Reinhard Pointner 28c1f4fd38 Enable Anime-characteristics auto-matching when dealing with Anime in Smart Mode 2016-07-25 01:35:03 +08:00
Reinhard Pointner d424f661ee Match by {n} instead of Anime primary title (may be Japanese and not yield results on TheTVDB)
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=3979&p=p22325#p22325
2016-07-25 01:18:28 +08:00
Reinhard Pointner f43a37ed64 When matching AniDB->TheTVDB series names, do so as leniently as possible (e.g. One-Punch == One Punch)
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=3979&p=22324#p22324
2016-07-24 23:43:15 +08:00
Reinhard Pointner c6971a30c3 Added season count binding {sc} 2016-07-22 22:12:53 +08:00
Reinhard Pointner 759d5c9a94 Added season years binding {sy} 2016-07-22 22:01:05 +08:00
Reinhard Pointner be9d70150d TheMovieDB::discoverBestOfYear 2016-07-20 15:30:26 +08:00
Reinhard Pointner 0312dcaf83 TheMovieDB::discoverPeriod 2016-07-19 03:29:31 +08:00
Reinhard Pointner 8654b2008b Properly document Linux-specific drag-n-drop workarounds 2016-07-18 00:10:07 +08:00
Reinhard Pointner 860ce15322 Play with System.AppUserModel.ID (Windows 7 integration) 2016-07-13 22:02:33 +08:00
Reinhard Pointner 700b02b172 Make conflict messages more clear 2016-07-12 13:27:07 +08:00
Reinhard Pointner 8116b53018 Refactor GVFS (don't require libgio) 2016-07-12 00:08:34 +08:00
Reinhard Pointner a5eefa00b2 Refactor GVFS (don't require libgio) 2016-07-12 00:03:29 +08:00
Reinhard Pointner 86c8f381a8 Refactor GVFS (don't require libgio) 2016-07-12 00:03:07 +08:00
Reinhard Pointner 2264761bf5 Display error message in GUI when subtitles cannot be written to disk (e.g. permission issues) 2016-07-09 21:17:59 +08:00
Reinhard Pointner 4d3eb5af42 + added {type} binding 2016-07-02 17:48:52 +08:00
Reinhard Pointner c738e8783c Simplify NFO parser 2016-06-30 17:51:07 +08:00
Reinhard Pointner 6a44c4eea2 Improved error messages when running 64-bit FileBot with 32-bit Java on a 64-bit OS 2016-06-29 12:52:18 +08:00
Reinhard Pointner 80547dbf06 docs 2016-06-28 18:54:04 +08:00
Reinhard Pointner 37335243cc Ignore Comment subtitle entries 2016-06-28 03:00:50 +08:00
Reinhard Pointner ba439cc2b6 Avoid issues caused by strange text files 2016-06-21 01:37:46 +08:00
Reinhard Pointner 6b8b0537ad Simplify error messages (when parsing dropped text files) 2016-06-20 22:52:01 +08:00
Reinhard Pointner 09b41170fd Look into custom script names (for exception stacktraces) but keep as it is for now to avoid unnecessary complexity/magic
e.g.
public Class parseClass(String text, String fileName) throws CompilationFailedException {
	return super.parseClass(text, "amc");
}
2016-06-19 23:59:27 +08:00
Reinhard Pointner ea543491b6 Avoid potentially misleading error messages 2016-06-16 14:44:49 +08:00
Reinhard Pointner 4e9a4d0a51 + Experiment with snappy / snapcraft 2016-06-14 22:29:25 +08:00
Reinhard Pointner 24fda5f8d8 Do not use debug logging for script exceptions 2016-06-12 18:33:48 +08:00
Reinhard Pointner 8bb71d8ac0 Use standard exit codes 2016-06-12 18:23:36 +08:00
Reinhard Pointner 3258c83cfd `filebot -clear-cache` has been disabled due to abuse. 2016-06-12 18:16:18 +08:00
Reinhard Pointner 277221c793 Better error messages 2016-06-07 06:11:38 +08:00
Reinhard Pointner e94ec429cf Internal TheMovieDB API for retrieving Country/AlternativeTitle mappings (return multi-map) 2016-06-07 06:04:55 +08:00
Reinhard Pointner e8266b14dc Internal TheMovieDB API for retrieving Country/AlternativeTitle mappings 2016-06-06 14:21:28 +08:00
Reinhard Pointner 642d47c2d2 use platform-independent laf for standalone jar deployment 2016-06-05 14:05:44 +08:00
Reinhard Pointner 476e387ca4 Added {id} binding to get the movie/series id as Integer 2016-06-04 12:46:17 +08:00
Reinhard Pointner 9d84ef7663 Call fpcalc for each individual file to work around all kinds of issues (Windows arg limits, fpcalc/ffmpeg issues, etc) 2016-06-03 01:30:45 +08:00
Reinhard Pointner 69a58b8185 Ignore invalid exclude list lines 2016-06-03 00:33:30 +08:00
Reinhard Pointner 2d31f81367 Refactor filename bindings 2016-05-29 23:24:54 +08:00
Reinhard Pointner e541bf1154 + added {mediaTitle} binding 2016-05-29 20:47:06 +08:00
Reinhard Pointner 369574a9aa Print lines as we go along (instead of all at the end) when calling -mediainfo on many files 2016-05-29 04:24:30 +08:00
Reinhard Pointner d1691f5718 wait for UI to startup completely before loading more classes 2016-05-28 16:06:27 +08:00
Reinhard Pointner a6e44febfd can't initialize with known options because misleading NFO files may lead to bad matches 2016-05-28 16:05:53 +08:00
Reinhard Pointner dedc9c9699 Automatically set -no-xattr in --action test mode 2016-05-28 01:44:13 +08:00
Reinhard Pointner 74445dcc43 Request preferred language and/or English (not supported by the API right now, but might in the future) 2016-05-25 23:53:12 +08:00
Reinhard Pointner 791fa79658 Fix AcoustID issue: NoSuchElementException: No Value Present
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3818
2016-05-24 23:25:24 +08:00
Reinhard Pointner 9eb8d67007 Refactor 2016-05-24 21:51:02 +08:00
Reinhard Pointner 0300064ea1 Auto-Validate all path components of the {plex} path 2016-05-23 15:06:25 +08:00
Reinhard Pointner 8bed1ba2df Types are good. Fixed `java.lang.ClassCastException: Cannot cast java.net.URI to [B` issues.
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=3808
2016-05-23 14:17:40 +08:00
Reinhard Pointner 837208a09b Translate AniDB::Absolute order to TheTVDB::Airdate order (matching by absolute episode number) only if preferred episode order is `Airdate` or `DVD`
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=3805
2016-05-22 20:50:32 +08:00
Reinhard Pointner a2be7bdd09 Do not auto-trim --def name=value parameters 2016-05-22 06:24:23 +08:00
Reinhard Pointner f94705a847 Extra padding for GTK LaF 2016-05-22 02:14:18 +08:00
Reinhard Pointner 826830a034 Extra padding for GTK LaF 2016-05-22 02:09:06 +08:00
Reinhard Pointner c1cfb68d9f Restore original logging output pattern 2016-05-21 00:21:28 +08:00
Reinhard Pointner dcf30f06d4 Fix F2 'Force Name' issue extension
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3793
2016-05-19 22:47:58 +08:00
Reinhard Pointner cd20224a30 Work around potential layout & focus issues 2016-05-19 15:45:18 +08:00
Reinhard Pointner e83901f174 Metadata Object binding {object} 2016-05-18 20:44:55 +08:00
Reinhard Pointner cf2fe796bc Make sure that xattr are cached long enough (even for long amc script runs) 2016-05-17 00:43:40 +08:00
Reinhard Pointner 86b0776c2d Support for logging response content via `-Dnet.filebot.web.WebRequest.log.response=true` 2016-05-16 23:21:17 +08:00
Reinhard Pointner 0131bd0af5 `debug` may not have been initialized and cause an NPE 2016-05-16 23:10:54 +08:00
Reinhard Pointner 8e082f4a28 Plex naming standard specifies `Specials` folder.
@see https://support.plex.tv/hc/en-us/articles/200220707-Naming-TV-Show-Specials-
2016-05-16 22:22:57 +08:00
Reinhard Pointner 83dc1c40f6 Refactor 2016-05-16 03:34:26 +08:00
Reinhard Pointner f28800a3a9 Refactor 2016-05-16 03:26:26 +08:00
Reinhard Pointner 5244a33fac Refactor trash/delete 2016-05-16 03:09:30 +08:00
Reinhard Pointner d886f6569f do nothing if current and original path is exactly the same 2016-05-16 01:49:54 +08:00
Reinhard Pointner d277315f39 absolute paths on Windows appear to be valid URIs so we need explicitly exclude them (e.g. C:\path\to\script.groovy) 2016-05-16 01:03:05 +08:00
Reinhard Pointner 37bf803c86 Refactor 2016-05-16 00:50:06 +08:00
Reinhard Pointner eb7d632cc5 Fix {plex} binding issues with Special episodes (i.e. make sure to create a "Specials" folder) 2016-05-15 23:19:08 +08:00
Reinhard Pointner cfdb79eb99 Fix NPE 2016-05-14 03:32:57 +08:00
Reinhard Pointner 4f32fc4ff1 + TODO support for default language [SHOWSTOPPER] 2016-05-14 01:50:48 +08:00
Reinhard Pointner b1d48fe590 Refactor OriginalOrder 2016-05-14 01:28:58 +08:00
Reinhard Pointner 51979c9f6a Better error messages 2016-05-13 00:33:42 +08:00
Reinhard Pointner 5856efdf5f Episode title can be `null`. Make sure to avoid NPE when episode title is used. 2016-05-13 00:33:28 +08:00
Reinhard Pointner 8ae2acbdfb Refactor Movie 2016-05-13 00:10:12 +08:00
Reinhard Pointner 4827f212c7 Better error messages 2016-05-13 00:09:46 +08:00
Reinhard Pointner 60bd6df2f8 Episode title can be `null`. Make sure to avoid NPE when episode title is used. 2016-05-12 23:54:49 +08:00
Reinhard Pointner 9e87393258 Correctly guess affected folder depth 2016-05-12 20:39:47 +08:00
Reinhard Pointner d5bdb33799 Do not auto-delete hidden files (except for Thumbs.db and .DS_Store) 2016-05-12 02:14:11 +08:00
Reinhard Pointner 4d18963f1f Make sure that movie selection is unique 2016-05-11 13:14:30 +08:00
Reinhard Pointner 67bbfe904b Pre-initialize JavaFX 2016-05-10 21:20:43 +08:00
Reinhard Pointner de20963b49 Pre-initialize JavaFX 2016-05-10 21:19:02 +08:00
Reinhard Pointner e168f18dd4 Refactor XattrMetaInfo 2016-05-10 20:04:11 +08:00
Reinhard Pointner 3443fc0de7 Refactor {languages} binding 2016-05-10 18:17:16 +08:00
Reinhard Pointner 96ecc4db9a Fix SelectDialog size issues 2016-05-10 18:16:49 +08:00
Reinhard Pointner 0b385943a1 Don't print stacktrace for not-unexpected warnings 2016-05-10 05:45:53 +08:00
Reinhard Pointner 57333f5c99 Fix NPE caused by last page not being set in json response 2016-05-10 04:39:24 +08:00
Reinhard Pointner 038d9b1d99 Cleanup 2016-05-10 04:28:32 +08:00
Reinhard Pointner e32e668f0d Set limit to 2000 2016-05-10 00:42:28 +08:00
Reinhard Pointner be01e82589 Unify Actors/Cast/Crew API 2016-05-09 22:59:21 +08:00
Reinhard Pointner cd733698a5 Refactor 2016-05-09 14:56:09 +08:00
Reinhard Pointner b8c9c777c9 Fix TheTVDB URL parsing issues
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3735&p=20814#p20814
2016-05-08 23:48:58 +08:00
Reinhard Pointner 60519a43d6 Add convenience API 2016-05-08 23:24:15 +08:00
Reinhard Pointner d218fbed99 Make progress dialog indeterminate 2016-05-08 22:26:40 +08:00
Reinhard Pointner d41d96b6e2 Actors is no longer part of the base series record :( 2016-05-08 20:44:10 +08:00
Reinhard Pointner ef14db36cb Fix TheTVDB artwork rating issues 2016-05-08 20:31:06 +08:00
Reinhard Pointner b487f25361 Refactor ProgressDialog 2016-05-08 04:45:48 +08:00
Reinhard Pointner 0e126daace Refactor ProgressDialog 2016-05-08 04:12:16 +08:00
Reinhard Pointner c7b97825f3 Refactor ProgressDialog 2016-05-08 01:55:48 +08:00
Reinhard Pointner ac5e77ed4e Make sure that Artwork is always sorted by rating 2016-05-08 01:53:36 +08:00
Reinhard Pointner 935c01a6ed use system trash to delete left-behind empty folders / hidden files 2016-05-07 18:14:46 +08:00
Reinhard Pointner 5974367fd1 Fix `-DuseExtendedFileAttributes=false NOT WORKING` issues 2016-05-07 17:01:39 +08:00
Reinhard Pointner 68faa9b53d Update TheTVDB API v2 to return extended TheTVDBSeriesInfo 2016-05-07 02:41:29 +08:00
Reinhard Pointner d61695b426 Avoid auto-deleting empty structure root folders (e.g. Media, Staging, etc) 2016-05-06 19:39:00 +08:00
Reinhard Pointner 94c830c93a Additional format permission that might be required for certain bindings (e.g. abs2sxe) 2016-05-06 01:26:39 +08:00
Reinhard Pointner db455e027a Use xattr metadata as info object by default 2016-05-06 01:25:58 +08:00
Reinhard Pointner 71e84c661f + Switch to new TheTVDB API 2016-05-05 21:48:55 +08:00
Reinhard Pointner 69db530d8a Added {bitdepth} binding 2016-05-05 19:48:08 +08:00
Reinhard Pointner 0acd0e885a Replace slash and backslash to make sure the result is not a file path. 2016-05-04 23:27:49 +08:00
Reinhard Pointner 38d4e7c250 F*CK 2016-05-04 13:59:39 +08:00
Reinhard Pointner a9b4bb62eb Getting Started workaround for MAS 2016-05-04 03:49:14 +08:00
Reinhard Pointner b6e942e2e9 // libjfxwebkit.dylib cannot be deployed on the MAS due to deprecated dependencies 2016-05-04 03:06:58 +08:00
Reinhard Pointner e9e9d0fadd Better logging 2016-05-03 19:38:07 +08:00
Reinhard Pointner e8d11717ba Better logging 2016-05-03 19:28:52 +08:00
Reinhard Pointner 23872ff894 Better toString() and logging 2016-05-03 19:28:33 +08:00
Reinhard Pointner cfe2d55c64 Refactor SupportDialog 2016-05-02 07:48:58 +08:00
Reinhard Pointner b3fc605f1f Reduce limit to 1000 2016-05-02 07:33:35 +08:00
Reinhard Pointner 02205893aa Fix 2016-05-02 00:37:39 +08:00
Reinhard Pointner 2864dd252e Improved UI 2016-05-02 00:33:46 +08:00
Reinhard Pointner 7e272915e5 Improved UI 2016-05-02 00:32:40 +08:00