Commit Graph

305 Commits

Author SHA1 Message Date
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
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
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
accac8c6ab Adjust differentiation accuracy to about a year 2016-02-22 18:48:23 +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
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
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
7a4f0eb9e2 Refactor SearchResult classes 2016-02-09 09:37:34 +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
fde21946dc * refactor subtitle upload (and improve CD1/CD2 upload support) 2016-02-06 12:23:59 +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
e4ed235c55 More lenient CD.I pattern 2016-02-04 08:40:38 +00:00
Reinhard Pointner
ec14f3c084 Improve subtitle upload behaviour 2016-02-03 18:14:11 +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
8e7bf88b06 make TVMazeClient more robust to unexpected json response data 2016-01-17 15:59:00 +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
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
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
17e23a827e * update OpenSubtitles subtitle metadata keys 2015-12-17 19:55:49 +00:00
Reinhard Pointner
4de4fc65f7 * update release-groups 2015-12-10 17:10:46 +00:00
Reinhard Pointner
4272995a27 * prefer Track info over Title info when formatting {t} 2015-12-10 17:09:13 +00:00
Reinhard Pointner
3af7e217a0 * cleanup 2015-11-16 07:47:33 +00:00
Reinhard Pointner
d6569765be * try {media.Composer} as fallback if {media.Performer} is not set
@see https://www.filebot.net/forums/viewtopic.php?f=4&t=3061#p17550
2015-11-07 13:24:44 +00:00
Reinhard Pointner
4a95aaf029 * update & enable OpenSubtitles GuessMovie RPC method again 2015-11-06 19:44:55 +00:00
Reinhard Pointner
e80c9d855a * fix various ID3Lookup issues 2015-11-06 09:15:37 +00:00
Reinhard Pointner
c56fd45d1f * make {info.budget} {info.revenue} {info.popularity} available for easy access 2015-11-06 06:18:22 +00:00
Reinhard Pointner
d00ae0127e * fix parsing issues 2015-11-04 09:10:16 +00:00
Reinhard Pointner
af511aef7a * cleanup 2015-11-04 09:03:09 +00:00
Reinhard Pointner
a2c84e22dc + replace TVRage with TVmaze 2015-11-04 08:53:52 +00:00
Reinhard Pointner
66d0d401cf * catch XML-RPC errors 2015-11-04 04:08:57 +00:00
Reinhard Pointner
41cd488bae * catch XML-RPC errors 2015-11-04 04:07:14 +00:00
Reinhard Pointner
63988e8865 * update for Fanart TV API v3 2015-11-03 03:43:57 +00:00
Reinhard Pointner
e24c381afe * fix "Chinese" language subtitle upload issues 2015-09-30 17:51:13 +00:00
Reinhard Pointner
0924759fc4 * fix for issue with SxE verification metric not passing through episode subtitles 2015-09-29 12:51:26 +00:00
Reinhard Pointner
9ad9a3e1a9 * fix auto-detection issues for movie query "9 (2009)" 2015-09-27 08:41:02 +00:00
Reinhard Pointner
c6cddb4b87 * use the first best option and ignore the rest 2015-08-27 18:51:06 +00:00
Reinhard Pointner
4efc22e4eb + EXPERIMENTAL support for language-specific subtitle providers (hash-lookup only) 2015-08-27 17:55:24 +00:00
Reinhard Pointner
48ce0f3d32 * support for multi-episode special episodes
e.g. "The Rockford Files S00E01-E02 Backlash of the Hunter"
2015-08-19 23:06:08 +00:00
Reinhard Pointner
6484e4b3f7 * allow users to set OpenSubtitles XML-RPC endpoint via Java system property: "-Dnet.filebot.OpenSubtitlesXmlRpc.url=http://api.opensubtitles.org/xml-rpc" 2015-08-18 23:23:56 +00:00
Reinhard Pointner
266d0c7edc * make "Missing data: release date" warning message more clear 2015-07-30 16:38:24 +00:00
Reinhard Pointner
8299e849aa * Format Source 2015-07-25 22:47:19 +00:00
Reinhard Pointner
38a046bf2d * refactoring 2015-07-25 22:47:02 +00:00
Reinhard Pointner
a43a9171c1 * support {age} for FileFilter expressions 2015-07-25 22:47:00 +00:00
Reinhard Pointner
7b51f5a851 * add common interface to all datasources 2015-07-25 22:46:30 +00:00
Reinhard Pointner
aa5d5c901c * String.join works slightly different than our own join() method, so to avoid any hidden issues keep using our own as before 2015-05-25 10:37:42 +00:00
Reinhard Pointner
c68c5adb3a * include movie alias titles in osdb index 2015-05-24 22:54:59 +00:00
Reinhard Pointner
1c928e5592 * fine-tune subtitle auto-selection 2015-05-24 22:54:56 +00:00
Reinhard Pointner
8a885ff1fe * use String.join() 2015-05-20 07:35:40 +00:00
Reinhard Pointner
ebac5709ee * OpenSubtitle Movie results are always displayed in Name (Year) format while TV Series results are displayed in plain Name format 2015-05-16 16:48:39 +00:00
Reinhard Pointner
39d012745a * use OSDB guessMovie feature if our own series/movie detection logic fails 2015-05-11 14:21:03 +00:00
Reinhard Pointner
e55526c3ac * implement guessMovie feature 2015-05-11 13:57:04 +00:00
Reinhard Pointner
d1c6ef75a8 * refactor subtitle lookup code 2015-05-11 11:58:31 +00:00
Reinhard Pointner
97c9643871 * refactor 2015-05-11 11:42:59 +00:00
Reinhard Pointner
0e978412df + use OpenSubtitles dump for OpenSubtitles local search 2015-05-11 09:13:35 +00:00
Reinhard Pointner
d7539e2d4c * allow access to all available certification countries certifications via {info.certifications.KEY} 2015-05-10 06:49:39 +00:00
Reinhard Pointner
4ab1b1afc5 * login and store only the MD5 password 2015-05-08 08:59:15 +00:00
Reinhard Pointner
955547dcd8 * use https for all requests (including login) 2015-05-08 08:23:36 +00:00
Reinhard Pointner
c7925f9b50 * login and store only the MD5 password 2015-05-08 08:20:20 +00:00
Reinhard Pointner
b6b01264ed * API requires 2-letter language codes, so translate non-2-letter language code locales to standard 2-letter codes 2015-05-06 06:17:02 +00:00
Reinhard Pointner
73dddd93a2 * use short country code
{
         "iso_3166_1":"US",
         "name":"United States of America"
      }
2015-05-05 03:29:20 +00:00
Reinhard Pointner
6bd1f347f1 * added support for movieInfo.productionCompanies
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=2648
2015-05-04 14:29:30 +00:00
Reinhard Pointner
ea0855e898 * fix NPE 2015-02-26 15:53:50 +00:00
Reinhard Pointner
017074a3b8 * update mirrors URL as per API spec: "Retrieve http://thetvdb.com/api/<apikey>/mirrors.xml" 2015-01-21 21:01:16 +00:00
Reinhard Pointner
9b0806f01f * fine-tune seriesName/aliasNames based matching 2015-01-18 08:57:37 +00:00
Reinhard Pointner
cdd5d668b8 * map "Chinese" to "chi,zht,zhe" 2015-01-14 17:41:31 +00:00
Reinhard Pointner
48b796cfee * fix "SubLanguageID for 'Chinese' not found" issues 2015-01-13 07:05:42 +00:00
Reinhard Pointner
b39cc04cee * improved music data mappings for acoustid response 2015-01-11 23:32:37 +00:00
Reinhard Pointner
42d5175b54 * improved music data mappings for acoustid response 2015-01-11 22:02:12 +00:00
Reinhard Pointner
4ee7f9da45 * fix numbering issues when DVD Order is preferred (but Airdate/Special Order is returned) 2015-01-10 11:27:38 +00:00
Reinhard Pointner
b8bc247eba * consider both "airsafter_season", "airsbefore_season" as season value for season-less special episodes 2015-01-08 19:23:56 +00:00
Reinhard Pointner
693aa93224 * avoid odd behaviour when lookup is called with an empty list of files 2015-01-03 21:16:13 +00:00
Reinhard Pointner
0c741cc9cd * more robust parsing of xml data 2014-12-23 06:38:29 +00:00
Reinhard Pointner
eaa0b9a5bb * support {genres} for AniDB seriesInfo 2014-12-20 18:46:54 +00:00
Reinhard Pointner
4022251746 + major rewrite of episode metadata / SeriesInfo 2014-12-10 18:53:58 +00:00
Reinhard Pointner
9a275b8f99 * rewrite extended metadata lookup logic 2014-12-09 09:58:33 +00:00
Reinhard Pointner
69854e02b4 * fix potential NPE (for movies with missing release_data info) 2014-12-05 09:57:50 +00:00
Reinhard Pointner
63e0c21561 * allow more kinds of language codes 2014-12-03 08:45:33 +00:00
Reinhard Pointner
797e6dbee6 * more info in anidb error log 2014-11-12 10:03:16 +00:00