1
0
mirror of https://github.com/mitb-archive/filebot synced 2025-01-14 07:18:03 -05:00
Commit Graph

248 Commits

Author SHA1 Message Date
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
Reinhard Pointner
25bf8e1092 * force file order 2014-11-11 08:51:20 +00:00
Reinhard Pointner
3a06c4f7ef * optimize subtitle lookup 2014-11-11 07:51:56 +00:00
Reinhard Pointner
0ebf4b0a45 * optimize subtitle lookup 2014-11-11 04:55:22 +00:00
Reinhard Pointner
f955b8fd1c * make sure OpenSubtitles language detection is cached 2014-11-09 18:09:34 +00:00
Reinhard Pointner
3afc7a7ff5 * more strict AniDB flood limits (2 requests per 5 second window) 2014-11-09 15:30:00 +00:00
Reinhard Pointner
3e790b1cc2 * display OpenSubtitles download quota on login 2014-11-08 11:17:00 +00:00
Reinhard Pointner
4a590cc1b0 * remove Java 6 compatibility hacks 2014-11-07 04:54:21 +00:00
Reinhard Pointner
9989864f19 * keep a common shared thread pool for local search 2014-11-06 10:46:28 +00:00
Reinhard Pointner
eb228f3d47 * make sure aliasNames is not redundant 2014-10-31 09:07:49 +00:00
Reinhard Pointner
5bf64d6ab1 + OpenSubtitles look-up optimizations 2014-10-29 12:55:27 +00:00
Reinhard Pointner
8fe8e4d400 * all users will now require authentication when using OpenSubtitles 2014-10-28 16:52:08 +00:00
Reinhard Pointner
f14aa89625 * only allow 1 single concurrent connection at any time (to reduce abuse) 2014-10-28 16:13:04 +00:00
Reinhard Pointner
87109b2d54 * improve error messages (esp. since TheTVDB API breaks often recently) 2014-09-27 15:49:38 +00:00
Reinhard Pointner
3dd87924f1 * simplify error logs 2014-09-22 18:49:06 +00:00
Reinhard Pointner
647f25fa30 * support {info.ProductionCountries} 2014-09-20 18:37:42 +00:00
Reinhard Pointner
2707012ab4 * refactoring 2014-09-17 15:44:23 +00:00
Reinhard Pointner
f772553b40 * retrieve pristine language-specific movie object before formatting & renaming 2014-09-15 20:35:13 +00:00
Reinhard Pointner
1ce479e858 * local index now contains localized titles and thus should be considered the best result if available 2014-09-15 18:00:34 +00:00
Reinhard Pointner
36feeba380 * improve unique() detection and assume that generally any movie object has tmdbid available 2014-09-15 17:36:25 +00:00
Reinhard Pointner
4c2784bfac * parse album artist as well when using ID3Lookup 2014-09-05 03:57:03 +00:00
Reinhard Pointner
aa16398590 * make sure unexpected JSON response data does not make us throw up NPEs 2014-08-28 11:42:41 +00:00
Reinhard Pointner
1580ca56b8 * log & ignore faulty trailer data 2014-08-27 18:20:22 +00:00
Reinhard Pointner
762f9015af * make sure we create unique objects for JSON serialization 2014-08-23 14:34:26 +00:00
Reinhard Pointner
3528f47a09 * improved error handling 2014-08-17 18:05:52 +00:00
Reinhard Pointner
bd45c798d4 * increase read-buffer 2014-08-17 06:56:48 +00:00
Reinhard Pointner
d883c39091 <AliasNames>
Returns a pipe "|" delimited list of alias names if the series has any other names in that language.

@see http://www.thetvdb.com/wiki/index.php/API:GetSeries
2014-08-15 08:16:30 +00:00
Reinhard Pointner
9f9f1d950f * sort alternative non-English titles alphabetically after [title, originalTitle] 2014-08-09 10:14:41 +00:00
Reinhard Pointner
a616577ab9 * lower request limits to specification 2014-08-07 21:38:55 +00:00
Reinhard Pointner
e4e2c2e336 * improved support for non-English movie titles in English-mode 2014-08-07 21:33:08 +00:00
Reinhard Pointner
9c9929466c * update API keys 2014-08-07 09:35:19 +00:00
Reinhard Pointner
2e089abefc * optimize with new API calls to reduce HTTP requests 2014-08-07 01:48:13 +00:00
Reinhard Pointner
d1bead2d64 * fix potential NPE 2014-08-06 14:07:17 +00:00
Reinhard Pointner
e8749aa435 + remove deprecated components 2014-08-06 12:03:16 +00:00
Reinhard Pointner
83e32123de * update data 2014-08-05 16:41:42 +00:00
Reinhard Pointner
3b509a9f05 + remove IMDb 2014-08-05 08:23:39 +00:00
Reinhard Pointner
a6d1e7eddf * fix and fine-tune AcoustID lookup logic 2014-08-04 09:40:08 +00:00
Reinhard Pointner
7866e7f046 + gzip all AcoustID requests and responses 2014-08-02 10:12:20 +00:00
Reinhard Pointner
124e7471db * ArrayList() has been optimized with JRE7u40 2014-07-27 17:47:01 +00:00
Reinhard Pointner
99ce48ad5b * fix deserializer issue 2014-07-25 17:04:44 +00:00
Reinhard Pointner
5cb5d82e83 + remove depricated data sources 2014-07-24 12:10:59 +00:00
Reinhard Pointner
2a4af5a995 * Organize Imports 2014-07-24 11:31:24 +00:00
Reinhard Pointner
a5398cc5e1 + add addtional metadata (order, language) to episode and movie objects 2014-07-24 11:31:03 +00:00
Reinhard Pointner
b71d952df3 * use long-term caching strategy for AcoustID webservice requests 2014-06-22 04:43:54 +00:00
Reinhard Pointner
12d04c1681 * ignore non-series anidb entry types 2014-06-13 16:42:14 +00:00
Reinhard Pointner
ddee292af5 * allow comparison with String representation of SimpleDate 2014-06-01 05:03:31 +00:00
Reinhard Pointner
478123552f * allow SimpleDate == String comparison 2014-05-31 16:49:14 +00:00
Reinhard Pointner
6bea36f30e * make sure to ignore illegal imdbids 2014-05-26 16:47:04 +00:00
Reinhard Pointner
ba02c192d3 * fix for short movie names like e.g. "Up 2009" 2014-05-22 14:08:39 +00:00
Reinhard Pointner
383a6922a5 * QueryNumber may be removed from hash search response, but since we only send 1 query per 1 request we can just take the first one 2014-05-18 15:47:20 +00:00
Reinhard Pointner
af6d3e0d95 * fixfix 2014-05-15 17:25:12 +00:00
Reinhard Pointner
5830025d60 * only search by movie name if the potential query has at least 3 characters 2014-05-13 12:42:20 +00:00
Reinhard Pointner
53e5e48d5f * use y:2014 year filter when querying TheMovieDB if possible 2014-05-02 08:00:43 +00:00
Reinhard Pointner
1329f490b2 * submit only 1 query per request to workaround OpenSubtitles API issues
@see http://forum.opensubtitles.org/viewtopic.php?f=8&t=14704
2014-04-30 04:38:50 +00:00
Reinhard Pointner
6fc7141fdb * fix package and import declarations 2014-04-19 06:30:29 +00:00
Reinhard Pointner
165e65c104 * move folder net.sourceforge.filebot to net.filebot 2014-04-19 06:06:45 +00:00