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

2890 Commits

Author SHA1 Message Date
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
Reinhard Pointner
8c8695d528 Improved UI 2016-05-02 00:18:27 +08:00
Reinhard Pointner
b9099abbb1 Improved console output for -get-subtitles commands 2016-04-30 22:59:51 +08:00
Reinhard Pointner
06815469f6 // ignore drawing commands (http://docs.aegisub.org/3.2/ASS_Tags/#drawing-commands) 2016-04-30 22:43:30 +08:00
Reinhard Pointner
416eb0095d Refactor 2016-04-30 18:35:48 +08:00
Reinhard Pointner
08b23e92a7 Added boolean bindings {anime} and {regular} to check if an episode object is an Anime/Regular (non-special) episode 2016-04-30 16:22:05 +08:00
Reinhard Pointner
d6bb7f1096 Added boolean bindings {anime} and {regular} to check if an episode object is an Anime/Regular (non-special) episode 2016-04-30 16:20:28 +08:00
Reinhard Pointner
c36548cb63 Fix NPE
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=2075&p=20611#p20611
2016-04-29 15:53:10 +08:00
Reinhard Pointner
0d34ea8139 + context menu for List panel (i.e. Send name list to Rename New Names) 2016-04-29 00:55:49 +08:00
Reinhard Pointner
d5e258a9d9 Refactor 2016-04-28 13:01:45 +08:00
Reinhard Pointner
2cb0d355a6 Refactor 2016-04-27 01:44:21 +08:00
Reinhard Pointner
30b79710e3 Refactor 2016-04-26 16:09:34 +08:00
Reinhard Pointner
b69e2fadd5 Refactor 2016-04-26 15:29:51 +08:00
Reinhard Pointner
82f9a4b0f5 NOTE: GitHub only supports If-None-Match (If-Modified-Since is ignored) 2016-04-25 14:31:39 +08:00
Reinhard Pointner
5a2e9d3730 Refactor ETag cache API 2016-04-25 14:31:33 +08:00
Reinhard Pointner
724e55485d Fix logging 2016-04-25 01:42:07 +08:00
Reinhard Pointner
44c9601173 Refactor SupportDialog 2016-04-24 01:05:33 +08:00
Reinhard Pointner
21ca4699dd Refactor 2016-04-24 00:57:41 +08:00
Reinhard Pointner
8eff5ec498 try to convert absolute numbers to SxE numbers when using {s00e00} binding (as best as possible, SxE numbers may not exactly match TheTVDB, but should in most common cases) 2016-04-23 02:17:31 +08:00
Reinhard Pointner
1093431c24 Fix drop issues 2016-04-23 02:02:01 +08:00
Reinhard Pointner
2c117561e3 try to convert absolute numbers to SxE numbers when using {s00e00} binding (as best as possible, SxE numbers may not exactly match TheTVDB, but should in most common cases) 2016-04-23 00:47:43 +08:00
Reinhard Pointner
df79418064 Fix NPE 2016-04-23 00:05:50 +08:00
Reinhard Pointner
042c380410 Bump to 4.7 (too many backwards incompatible changes) 2016-04-22 16:12:20 +08:00
Reinhard Pointner
02110d1ca3 try to convert absolute numbers to SxE numbers when using {s00e00} binding 2016-04-22 16:05:42 +08:00
Reinhard Pointner
0141a2231a Don't show target files panel if it's empty 2016-04-22 16:01:54 +08:00
Reinhard Pointner
77d5aca62e Fix compiler issues 2016-04-21 01:22:35 +08:00
Reinhard Pointner
d3c8d357b3 Move to GitHub 2016-04-21 00:57:03 +08:00
Reinhard Pointner
7321da5817 Refactor FloodLimit 2016-04-20 06:41:07 +00:00
Reinhard Pointner
05e379b624 Allow ~ to be used as $HOME path in custom formats (GUI only) 2016-04-19 13:49:06 +00:00
Reinhard Pointner
ecf7232f00 Check language in Artwork.matches() as well 2016-04-19 10:44:55 +00:00
Reinhard Pointner
260f93e671 Check language in Artwork.matches() as well 2016-04-19 10:39:31 +00:00
Reinhard Pointner
90ecf3c0a7 Experiment with unifying Artwork interface for all databases 2016-04-19 10:05:16 +00:00
Reinhard Pointner
d616f5ab3f Experiment with unifying Artwork interface for all databases 2016-04-19 07:09:11 +00:00
Reinhard Pointner
e986103a1c Results should be in order (since we generate absolute episode numbers based on that) 2016-04-18 15:22:34 +00:00
Reinhard Pointner
4e94e25707 Make sure that specials can't override available standard (even if partial) episode matches 2016-04-18 14:02:10 +00:00
Reinhard Pointner
e8489e49ac Improved auto-detection for E01 style episodes 2016-04-18 13:51:05 +00:00
Reinhard Pointner
ce4293860f Improved auto-detection for E01 style episodes 2016-04-18 12:22:09 +00:00
Reinhard Pointner
ef9d24914a Fix IMDB ID lookup 2016-04-17 22:44:25 +00:00
Reinhard Pointner
23f2d4e609 Expire auth token after 1 hour 2016-04-17 22:21:14 +00:00
Reinhard Pointner
7a823835fb Experiment with unifying Artwork interface for all databases 2016-04-17 17:47:39 +00:00
Reinhard Pointner
cd37c87002 Experiment with unifying Artwork interface for all databases 2016-04-17 17:32:49 +00:00
Reinhard Pointner
b54908475b Experiment with unifying Artwork interface for all databases 2016-04-17 12:40:37 +00:00
Reinhard Pointner
91639b40e5 Experiment with unifying Artwork interface for all databases 2016-04-17 11:34:22 +00:00
Reinhard Pointner
0c94aed7e7 Refactor VideoQuality comparator
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3647&p=20384#p20384
2016-04-17 08:44:03 +00:00
Reinhard Pointner
28dcd8279f Simplify xattr error messages 2016-04-16 21:54:03 +00:00
Reinhard Pointner
a17423dd95 Experiment with TheTVDB API v2 2016-04-16 21:41:16 +00:00
Reinhard Pointner
4c85678975 Improved error message (e.g. n00bs using the same file for filebot logging and shell IO redirection) 2016-04-16 21:41:13 +00:00
Reinhard Pointner
cfe7fc69a3 + Auto-delete left behind empty folders when moving files into a new structure 2016-04-14 09:32:03 +00:00
Reinhard Pointner
3fd7d34647 Improved structure root detection 2016-04-14 09:32:01 +00:00
Reinhard Pointner
8ae4bed832 Improved auto-detection 2016-04-14 09:31:57 +00:00
Reinhard Pointner
0a5327691e + Auto-delete left behind empty folders when moving files into a new structure 2016-04-13 18:41:06 +00:00
Reinhard Pointner
92b8592652 // try to merge overlapping path sections 2016-04-13 18:41:04 +00:00
Reinhard Pointner
69311852d1 // try to merge overlapping path sections 2016-04-13 12:34:04 +00:00
Reinhard Pointner
af3c60eeef Refactor TextColorizer 2016-04-13 12:34:01 +00:00
Reinhard Pointner
4d87f4c456 try to resolve against structure root folder by default 2016-04-13 11:22:06 +00:00
Reinhard Pointner
e0cc5eb771 Refactor 2016-04-13 11:22:03 +00:00
Reinhard Pointner
a8d91485ae Support dummy files for debugging 2016-04-13 11:21:57 +00:00
Reinhard Pointner
627abb1ced Improved getVolumeRoots 2016-04-13 11:21:55 +00:00
Reinhard Pointner
560cb67e29 Actors must have a role 2016-04-12 18:31:22 +00:00
Reinhard Pointner
c70d441875 Parse department as well 2016-04-12 15:50:06 +00:00
Reinhard Pointner
eecd53a87d Make sure there are no race conditions where etag is known but content just timed out thus resulting in a null response and no cached value to fall back on 2016-04-12 07:31:26 +00:00
Reinhard Pointner
580657aed0 Extra \n for Failure (°_°) error runs as well 2016-04-12 06:21:28 +00:00
Reinhard Pointner
07fe359180 Fix NPE and return Empty String instead of NULL values 2016-04-12 06:19:48 +00:00
Reinhard Pointner
9b60d6f206 Improved error logging 2016-04-12 06:19:45 +00:00
Reinhard Pointner
c6a851d251 Clean user-submitted data 2016-04-11 21:23:10 +00:00
Reinhard Pointner
4b25957791 Refactor 2016-04-10 18:37:13 +00:00
Reinhard Pointner
0ac1490f1e Order elements without original index at the end 2016-04-10 09:25:02 +00:00
Reinhard Pointner
f6f3e411e3 Easy way to retrieve manifest for script bundle 2016-04-10 09:14:36 +00:00
Reinhard Pointner
21d643c544 Restore original order when using Autodetect matcher 2016-04-10 08:11:15 +00:00
Reinhard Pointner
f7ac0a79d7 Lazy-load script bundle 2016-04-09 23:20:13 +00:00
Reinhard Pointner
612a243518 Bugfixes, optimizations, improved user-interaction behaviour 2016-04-09 22:08:37 +00:00
Reinhard Pointner
397fb14be7 Throw exception if result is null (shouldn't happen unless cache/etag is out of sync) 2016-04-09 22:08:34 +00:00
Reinhard Pointner
2fac737052 Make Episode/Movie selection dialog more pretty 2016-04-09 20:58:37 +00:00
Reinhard Pointner
5fc3a90159 Make sure to eliminate duplicate queries 2016-04-09 20:58:32 +00:00
Reinhard Pointner
e8652a5593 Various bug fixes and cleanup 2016-04-09 19:16:30 +00:00
Reinhard Pointner
7da65de0c0 Refactor MovieMatcher and EpisodeListMatcher synchronization 2016-04-09 08:33:42 +00:00
Reinhard Pointner
1a4c66d977 Make sure that we can cancel worker pools if something goes wrong and an exception is thrown 2016-04-08 22:59:41 +00:00
Reinhard Pointner
e3be1e1bad Refactor 2016-04-08 22:59:38 +00:00
Reinhard Pointner
0a258e0058 Refactor MovieMatcher 2016-04-08 22:59:36 +00:00
Reinhard Pointner
26c49fb96b Refactor EpisodeListMatcher 2016-04-08 22:59:33 +00:00
Reinhard Pointner
d31d24856c Refactor SelectDialog 2016-04-08 22:59:30 +00:00
Reinhard Pointner
d73934f09b Refactor LocalSearch and AutoDetection worker threads 2016-04-08 22:59:27 +00:00
Reinhard Pointner
3bd1655136 Refactor 2016-04-08 22:59:23 +00:00
Reinhard Pointner
5bbc697a76 Synchronize memoized resource getter 2016-04-08 22:59:21 +00:00
Reinhard Pointner
3f870c4a1f Use only a single thread to download subtitles (so that we can keep track of the Download-Quota header and check it before each request) 2016-04-08 22:59:18 +00:00
Reinhard Pointner
d5bacdcb23 LocalSearch does not seem to benefit from any kind of paralleism and most time is spent in the initial transliterator/indexing step (which also doesn't get much faster with parallel processing) 2016-04-08 22:59:15 +00:00
Reinhard Pointner
0fa1d0f26f Fine-tune autodetect 2016-04-08 07:32:26 +00:00
Reinhard Pointner
0dc6a49ef5 Deal with empty strings as if they're null in the format 2016-04-07 16:43:40 +00:00
Reinhard Pointner
b7f264928b Use AutoDetection for simple -rename calls 2016-04-07 14:30:05 +00:00
Reinhard Pointner
0445df2e0e + Remove {videos} {audios} etc bindings and replace with {video} {audio} etc bindings which represent a list for all streams.
e.g.
{videos} becomes {video}
{video} becomes {video[0]}
2016-04-07 10:41:55 +00:00
Reinhard Pointner
7f1b5b290c + Remove {videos} {audios} etc bindings and replace with {video} {audio} etc bindings which represent a list for all streams.
e.g.
{videos} becomes {video}
{video} becomes {video[0]}
2016-04-07 08:23:17 +00:00
Reinhard Pointner
51c4bc7a9d Pick highest channel value (within a single channel) 2016-04-07 07:36:51 +00:00
Reinhard Pointner
036cefea51 Ignore ~/Movies for auto-detection purposes 2016-04-06 20:19:32 +00:00
Reinhard Pointner
a8dda17b9c Add AutoDetectMatcher 2016-04-06 18:56:39 +00:00