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

390 Commits

Author SHA1 Message Date
Reinhard Pointner
4217dc0dd1 Experiment with reading iTunes metadata (TV Show type) 2017-01-05 21:50:09 +08:00
Reinhard Pointner
9667d3d55c Refactor common reload-episode-data tasks 2016-11-23 04:34:56 +08:00
Reinhard Pointner
8745f1ccfe Support dynamic SortOrder binding {order}
e.g. {order.Airdate.SxE}
2016-11-23 00:55:11 +08:00
Reinhard Pointner
629a3b389e Support {info.originalLanguage} and {audioLanguages} 2016-11-17 14:48:24 +08:00
Reinhard Pointner
46562be17d -Dnet.filebot.WebServices.TheMovieDB.adult=true 2016-11-14 01:00:45 +08:00
Reinhard Pointner
1d00c641b0 X-RateLimit: 40 requests per 10 seconds => https://developers.themoviedb.org/3/getting-started/request-rate-limiting 2016-11-14 00:35:57 +08:00
Reinhard Pointner
be6f96662a Unify Crew/People into new interface with default methods 2016-11-01 21:22:36 +08:00
Reinhard Pointner
a24192b608 Refactor 2016-11-01 21:20:17 +08:00
Reinhard Pointner
a584ad83d5 Refactor 2016-11-01 21:20:08 +08:00
Reinhard Pointner
256b5be2d3 Experimental support for episode level extended info (only supported with TheTVDB data) 2016-10-31 07:19:11 +08:00
Reinhard Pointner
3ad63a76cc Add episode id to base episode record (i.e. a unique id per database) 2016-10-31 05:09:13 +08:00
Reinhard Pointner
de960c02da Use Objects.hash() 2016-10-31 05:03:39 +08:00
Reinhard Pointner
9e98b2e106 Refactor info.* bindings 2016-10-31 02:06:15 +08:00
Reinhard Pointner
be9e3592a8 Organize Imports 2016-10-21 01:05:27 +08:00
Reinhard Pointner
ae723574b9 com.cedarsoftware.util.io.JsonReader requires a public constructor with no arguments (otherwise it'll try to find another constructor and call it with default values, e.g. null may change to 0) 2016-10-10 05:15:47 +08:00
Reinhard Pointner
4833391729 com.cedarsoftware.util.io.JsonReader requires a public constructor with no arguments (otherwise it'll try to find another constructor and call it with default values, e.g. null may change to 0) 2016-10-09 17:39:04 +08:00
Reinhard Pointner
fe30f8a8d5 Refactor Movie (use 0 as undefined ID) 2016-10-09 16:19:39 +08:00
Reinhard Pointner
6c98f249d1 Minor optimizations 2016-10-09 03:14:09 +08:00
Reinhard Pointner
5ca51e1d7d Minor optimizations 2016-10-08 23:56:29 +08:00
Reinhard Pointner
55d06dc87d Read MBID from ID3 Tags if possible 2016-10-05 02:27:35 +08:00
Reinhard Pointner
6f0791a6a8 Import <Airs_Time> from XML series record
@see https://www.filebot.net/forums/viewtopic.php?f=4&t=3891&p=23354#p23354
2016-09-23 02:30:57 +08:00
Reinhard Pointner
098491bb7f Internal support for language+country locale-specific TheMovieDB data 2016-09-10 01:33:40 +08:00
Reinhard Pointner
46a181b9b1 getMirror must not return null 2016-09-04 00:40:23 +08:00
Reinhard Pointner
c34411f0c1 Resolve poster movie info only when full metainfo is requested 2016-08-12 03:03:27 +08:00
Reinhard Pointner
e6f57fa3a6 Fix {info.poster} 2016-08-12 02:04:41 +08:00
Reinhard Pointner
7dd1898761 Refactor SimpleDate 2016-08-10 06:05:27 +08:00
Reinhard Pointner
9b640acd53 Consider media encoding date when comparing TimeStamp episode similarity 2016-08-10 05:50:54 +08:00
Reinhard Pointner
c6514b817a Refactor MediaInfo 2016-08-10 04:36:38 +08:00
Reinhard Pointner
bddf3e516b Refactor Date {now} to SimpleDate {today} 2016-08-09 23:46:03 +08:00
Reinhard Pointner
3bc8c904d7 Refactor MovieInfo 2016-08-07 20:06:25 +08:00
Reinhard Pointner
b425c5e14b Refactor MovieInfo 2016-08-07 19:49:17 +08:00
Reinhard Pointner
488c4e7cca Avoid NPE 2016-08-07 19:46:44 +08:00
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
cb3f9c8953 Print binary content as Base64 2016-08-05 18:05:43 +08:00
Reinhard Pointner
6e892b9bdb TheTVDB API v1 & v2 compatibility 2016-07-27 13:01:34 +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
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
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
80547dbf06 docs 2016-06-28 18:54:04 +08:00
Reinhard Pointner
ea543491b6 Avoid potentially misleading error messages 2016-06-16 14:44:49 +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
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
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
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
86b0776c2d Support for logging response content via -Dnet.filebot.web.WebRequest.log.response=true 2016-05-16 23:21:17 +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
8ae2acbdfb Refactor Movie 2016-05-13 00:10:12 +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
4d18963f1f Make sure that movie selection is unique 2016-05-11 13:14:30 +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
be01e82589 Unify Actors/Cast/Crew API 2016-05-09 22:59:21 +08:00
Reinhard Pointner
60519a43d6 Add convenience API 2016-05-08 23:24:15 +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
ac5e77ed4e Make sure that Artwork is always sorted by rating 2016-05-08 01:53:36 +08:00
Reinhard Pointner
68faa9b53d Update TheTVDB API v2 to return extended TheTVDBSeriesInfo 2016-05-07 02:41:29 +08:00
Reinhard Pointner
71e84c661f + Switch to new TheTVDB API 2016-05-05 21:48:55 +08:00
Reinhard Pointner
e8d11717ba Better logging 2016-05-03 19:28:52 +08:00
Reinhard Pointner
b9099abbb1 Improved console output for -get-subtitles commands 2016-04-30 22:59:51 +08:00
Reinhard Pointner
5a2e9d3730 Refactor ETag cache API 2016-04-25 14:31:33 +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
77d5aca62e Fix compiler issues 2016-04-21 01:22:35 +08:00
Reinhard Pointner
7321da5817 Refactor FloodLimit 2016-04-20 06:41:07 +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
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
a17423dd95 Experiment with TheTVDB API v2 2016-04-16 21:41:16 +00:00
Reinhard Pointner
a8d91485ae Support dummy files for debugging 2016-04-13 11:21:57 +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
07fe359180 Fix NPE and return Empty String instead of NULL values 2016-04-12 06:19:48 +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
d73934f09b Refactor LocalSearch and AutoDetection worker threads 2016-04-08 22:59:27 +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
e48ecf4fa2 Refactor AutoCompleteMatcher 2016-04-06 18:56:33 +00:00
Reinhard Pointner
e4e5c01cd7 Check Download-Quota HTTP header when downloading subtitles and abort if quota has been reached. 2016-04-06 12:01:43 +00:00
Reinhard Pointner
c79896f827 Check Download-Quota HTTP header when downloading subtitles and abort if quota has been reached. 2016-04-06 12:01:40 +00:00
Reinhard Pointner
8e6688facd Fix bugs 2016-04-05 18:06:16 +00:00
Reinhard Pointner
83b0f999d9 Add database property to AudioTrack object 2016-04-05 18:05:47 +00:00
Reinhard Pointner
0ac71b9c7d Refactor 2016-04-02 09:07:10 +00:00
Reinhard Pointner
869a571f2a handle error response correctly 2016-03-31 20:13:51 +00:00
Reinhard Pointner
d74347591b Support --db ID3 (same as "ID3 Tags") 2016-03-28 20:45:43 +00:00
Reinhard Pointner
cd592834fe Refactor MediaDetection isEpisode/isMovie and update Filter/Types tool 2016-03-28 14:46:33 +00:00
Reinhard Pointner
1868e9eb06 Handle HTTP 404 File Not Found response correctly 2016-03-28 10:59:11 +00:00
Reinhard Pointner
963fb62172 Remove @Depricated "Movie Search By Hash" interface. OpenSubtitles is not used as a Movie datasource anymore, and TMDb doesn't do hashes anymore. 2016-03-27 22:35:19 +00:00
Reinhard Pointner
16d2459365 Full support for "TheMovieDB::TV" and "TheMovieDB" datasources 2016-03-26 19:44:44 +00:00
Reinhard Pointner
ac069f5a1c Support TheMovieDB in Episode mode 2016-03-26 17:40:59 +00:00
Reinhard Pointner
1c74c2ef39 Unify SearchResult classes 2016-03-26 17:40:54 +00:00
Reinhard Pointner
5bfa2692fd Fix 2016-03-17 18:27:22 +00:00
Reinhard Pointner
62ec14757c Fix TMDb artwork listing for non-English requests 2016-03-17 08:25:57 +00:00
Reinhard Pointner
c101a59e69 Refactor 2016-03-13 18:32:03 +00:00
Reinhard Pointner
3c266b91da Store aliasNames correctly (excluding the primary name) 2016-03-13 18:31:58 +00:00
Reinhard Pointner
b248b83dac Refactor 2016-03-13 17:35:27 +00:00
Reinhard Pointner
0084f7e265 Refactor AnidbClient 2016-03-12 16:42:12 +00:00
Reinhard Pointner
0562f6bdfd Optimize TheMovieDB caching and default to using HTTPS instead of HTTP 2016-03-12 10:01:11 +00:00
Reinhard Pointner
ae8ca2eeb3 Refactor ETag handling 2016-03-11 21:03:30 +00:00
Reinhard Pointner
0a8234fdf8 Improved logging 2016-03-11 20:05:46 +00:00
Reinhard Pointner
ee11696457 Fix ETag handling 2016-03-11 19:52:41 +00:00
Reinhard Pointner
aca56eac9a Refactor MediaInfo.open(File) to throw IOException on error 2016-03-11 08:16:59 +00:00
Reinhard Pointner
558ccee1f3 Parse /2016-03-10/ and /2016/ patterns 2016-03-10 12:15:07 +00:00
Reinhard Pointner
c6cd09b50d Fix isStale condition 2016-03-10 07:22:47 +00:00
Reinhard Pointner
1a0fd86ba5 Fail gracefully when doing ID3 lookups 2016-03-10 06:47:51 +00:00
Reinhard Pointner
d76f625328 Fix various compiler warnings 2016-03-10 06:28:22 +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
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
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
1f53b540dc Refactor 2016-03-08 13:06:07 +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
e9f92a87e6 Experiment with new CachedResource framework 2016-03-07 12:34:02 +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
9311a870e0 Fix json-io parse issues 2016-03-06 09:07:58 +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