1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-18 07:15:07 -05:00
Commit Graph

276 Commits

Author SHA1 Message Date
Reinhard Pointner
a7907feba0 * update unit-tests 2013-10-20 13:10:39 +00:00
Reinhard Pointner
2c91a3be2e * replace TheTVDB online search with local search as best as possible to improve search result ranking 2013-10-13 14:50:45 +00:00
Reinhard Pointner
169959c813 * Organize Imports 2013-09-11 17:22:00 +00:00
Reinhard Pointner
bf0b2d1555 * fix unit test compile errors 2013-09-08 15:41:27 +00:00
Reinhard Pointner
7305b0f939 * fall back to year field if exact release date in unavailable 2013-09-03 12:24:43 +00:00
Reinhard Pointner
9ff34da4cf * allow 0000-2999 SSEE patterns
@see http://www.filebot.net/forums/viewtopic.php?f=6&t=907
2013-08-31 06:51:30 +00:00
Reinhard Pointner
1804d12def --- remove Subscene/Sublight from codebase 2013-08-04 13:09:06 +00:00
Reinhard Pointner
f33c01be94 * basic internal OSDB subtitle-upload support 2013-07-23 19:28:24 +00:00
Reinhard Pointner
e771cf39a5 + store series info with each episode object and add new bindings {series} {primaryTitle} and {json} for debugging the info object 2013-07-13 10:01:33 +00:00
Reinhard Pointner
bdc09a7055 * update test cases 2013-03-18 05:23:41 +00:00
Reinhard Pointner
de9d326eb0 * fix video support in imdb scraper 2013-02-22 17:26:34 +00:00
Reinhard Pointner
75bd998408 * cache compiled script snippets since each new instance leaks into PermGen memory 2013-01-29 09:05:42 +00:00
Reinhard Pointner
3f2499fbea * fix scraper issues with (I) (II) etc tags 2013-01-27 12:02:28 +00:00
Reinhard Pointner
cc57b89840 * fix TV Movie Lookup 2013-01-27 09:56:40 +00:00
Reinhard Pointner
e3ba7b79e3 * fix subscene scraper 2013-01-15 11:28:19 +00:00
Reinhard Pointner
5fef14bedd * fix imdb scraper issues 2013-01-13 03:15:05 +00:00
Reinhard Pointner
9d1f33ae76 * Transliterate any text to ASCII before running any kind of string similarity 2012-12-02 13:41:06 +00:00
Reinhard Pointner
d3347d19d9 * scrape info from main movie page rather than releaseinfo
* spoof googlebot http headers to trick imdb geo-localisation
* fix imdb url encoding issues
2012-12-02 09:36:59 +00:00
Reinhard Pointner
f053ecd8be * make imdb host (e.g. akas.imdb.com) configurable via -Dimdb.hostname 2012-12-02 05:15:50 +00:00
Reinhard Pointner
9c39577f63 * update IMDb Scraper due to site changes 2012-12-01 14:55:34 +00:00
Reinhard Pointner
7bc9379671 * fix stupids mistake... 2012-11-18 16:18:16 +00:00
Reinhard Pointner
483bd5c15f * fix testcases 2012-10-25 18:06:12 +00:00
Reinhard Pointner
aa9cccc285 * fix SerienJunkies NPE problems 2012-10-25 16:20:50 +00:00
Reinhard Pointner
01f54f8e86 * make use of MetaAttributes to nudge matching a little bit in that direction 2012-10-24 15:20:47 +00:00
Reinhard Pointner
1163eb3f17 * trust OpenSubtitles hash matches, but only the ones with high SeenCount, and scrap any hash match that doesn't unambiguously match a single movie, i.e. scrap hash collisions 2012-10-19 19:18:47 +00:00
Reinhard Pointner
44cd76bae1 + updated to TheMovieDB API v3
* lots of changes because now imdbid/tmdbid exist equally, but may not be available depending on the circumstances, so so there is lots of workarounds in MediaBindingBean to account for both ids
* updated artwork scripts to use current TMDb class
2012-07-24 17:44:54 +00:00
Reinhard Pointner
0861220aed * fixed some corner case issues with the imdb scraper 2012-07-23 16:15:42 +00:00
Reinhard Pointner
27696998c5 * index original title as well as engish AKA title 2012-07-20 11:45:18 +00:00
Reinhard Pointner
8fa867ae49 * update website scraper to subscene v3 2012-07-16 10:06:40 +00:00
Reinhard Pointner
03d299c67b * enabled Sublight, but has to be configured via system property sublight.user=name:pwd 2012-07-16 09:58:18 +00:00
Reinhard Pointner
84fbad6ab3 * fuck stupid sublight for restricting their api 2012-07-08 10:34:52 +00:00
Reinhard Pointner
32e40255c8 * fix Sublight by spoofing Sublight;3.6.0 auth credentials 2012-06-30 08:43:51 +00:00
Reinhard Pointner
36bcd880db + final adjustments for 2.4
* support "A | B | C" syntax for series mode --q option
* fine-tuning for series auto-selection
* don't create desktop shortcut when running via JNLP
2012-06-24 05:43:09 +00:00
Reinhard Pointner
4521ee16b4 * added flood limit to TheMovieDB 2012-04-08 08:41:48 +00:00
Reinhard Pointner
677ac82d58 + experimental support for multi-episode files 2012-03-17 19:02:04 +00:00
Reinhard Pointner
7968580281 * use akas.imdb.com to work around IMDb Geo-Location issues with the scraper 2012-02-18 07:54:01 +00:00
Reinhard Pointner
f2e07377ef + Support episode SortOrder 2012-02-13 09:54:57 +00:00
Reinhard Pointner
b2fbba3a2d * improved auto-detection for date-based episodes 2012-02-09 13:50:14 +00:00
Reinhard Pointner
517fa36038 * update docs for {info} binding movie/series metadata binding 2012-02-09 13:42:14 +00:00
Reinhard Pointner
f6dbc24caf + introduce {meta} tvseries/movie metadata binding 2012-02-08 12:24:36 +00:00
Reinhard Pointner
7633260147 + removed broken IMDb Episode List Scraper 2012-02-08 08:45:32 +00:00
Reinhard Pointner
81533d0a66 + support IMDb as movie db 2012-01-06 17:24:00 +00:00
Reinhard Pointner
b8c96b8fbe * improved caching and other refactoring
* disabled TheMovieDB hash lookup since it doesn't work anyway
2012-01-02 03:07:09 +00:00
Reinhard Pointner
3e45873ce3 * fix 'n clean 2011-12-30 19:31:33 +00:00
Reinhard Pointner
50adfcc300 * make xml templating resilient against unexpectedly undefined properties 2011-12-29 16:23:56 +00:00
Reinhard Pointner
9b2317dbb8 * fix test-case 2011-12-29 04:05:10 +00:00
Reinhard Pointner
b2e092c697 * improve series name detection by only focusing on the commond word sequence before the SxE pattern 2011-12-29 00:41:27 +00:00
Reinhard Pointner
b82943439c * make webstart lazy loading work (reduce initial download to ~2.5MB) 2011-12-26 18:10:53 +00:00
Reinhard Pointner
05a7fbb1af * internal support for fetching complete movie info including artwork 2011-12-25 11:18:55 +00:00
Reinhard Pointner
11facfa8ab * parse imdb movie index from osdb 2011-12-25 09:07:55 +00:00
Reinhard Pointner
0aeea04062 * use web-persistent ehcache for remembering language filters 2011-12-24 11:08:31 +00:00
Reinhard Pointner
8210a7dbc4 * fixfix 2011-12-21 08:46:19 +00:00
Reinhard Pointner
6dfbfd2d35 * added .nfo creation as scripting example 2011-12-21 08:31:57 +00:00
Reinhard Pointner
ad0714c67b * added support for retrieving series info 2011-12-21 05:54:30 +00:00
Reinhard Pointner
1a43b7c5fd * added fetch banner script
* refactored thetvdb banner api
2011-12-20 13:00:38 +00:00
Reinhard Pointner
70adfa0b0f * api support for thetvdb banners 2011-12-20 02:37:36 +00:00
Reinhard Pointner
8571962e61 + added support for fully automatic SubtitleDescriptor/File subtitle matching to CLI, i.e. match files against subtitle listings 2011-11-24 17:27:39 +00:00
Reinhard Pointner
c45b6dfbd0 * move all matching/metrics code into the same package 2011-11-23 10:52:46 +00:00
Reinhard Pointner
6171dac38f * improved new funnel/balance episode matching logic 2011-11-22 18:26:50 +00:00
Reinhard Pointner
4b5f512fcf * improved matching using a 2-level narrowing episode identifier metric sequence 2011-11-22 16:08:36 +00:00
Reinhard Pointner
b08ec77642 * sanity check for SxE values 2011-11-22 14:44:54 +00:00
Reinhard Pointner
30993a5cb6 * clean release info before submitting queries 2011-11-14 11:43:22 +00:00
Reinhard Pointner
4506272fe6 * specifically ignore movies when parsing SxE/Airdate 2011-11-14 02:02:14 +00:00
Reinhard Pointner
cfee1cbb51 * refactor caching
* added caching to tvrage
2011-11-13 18:22:50 +00:00
Reinhard Pointner
caef14cfa4 * docs 2011-11-13 06:33:54 +00:00
Reinhard Pointner
b228f44ea0 * only allow movies, no osts, specials, episodes, etc 2011-11-11 03:35:50 +00:00
Reinhard Pointner
b4532f1832 * improved name cleanup a little bit 2011-11-08 18:26:54 +00:00
Reinhard Pointner
5184e4d98d * extract local search into it's own class
* AniDB: search by any language
* SJ: use german series name if language is set to GERMAN
2011-11-04 05:23:23 +00:00
Reinhard Pointner
9c805d5b2a * added support for SeriesStartDate in SerienJunkies 2011-11-02 08:25:22 +00:00
Reinhard Pointner
cd8b8aa620 * fix tvrage seriesstartdate support 2011-10-01 04:18:24 +00:00
Reinhard Pointner
ced6f4e9af + added support for SeriesStartDate 2011-10-01 04:08:46 +00:00
Reinhard Pointner
bafb33d676 * simplify classname 2011-09-22 12:55:04 +00:00
Reinhard Pointner
d80e5683d5 * move net.sourceforge.filebot.rename.ui.panel to net.sourceforge.filebot.rename.ui 2011-09-22 05:03:46 +00:00
Reinhard Pointner
af60f6b6f1 ++ Command Line Interface ++ ヾ(@⌒ー⌒@)ノ 2011-09-09 14:50:01 +00:00
Reinhard Pointner
e1261eadbc * update test cases 2011-08-26 09:26:05 +00:00
Reinhard Pointner
ffaba6ee8f * disable "absolute episode number" support for TVRage because it is likely to interfere with badly formatted SxE files names (e.g. "S3 Episode 10" will absolute episode 10, not Season 3) 2011-08-26 09:01:46 +00:00
Reinhard Pointner
379f0a9cc1 * support manual input of movie/series title (as fallback if auto-detection fails or if forced via SHIFT-clicking the data source)
* fixed movie mode issues (osdb title/year parsing problem, nfo file imdbid parser problem)
2011-08-22 03:43:22 +00:00
Reinhard Pointner
6074680401 + dropped support for TV.com scraper (broken due to site changes) 2011-08-11 10:52:17 +00:00
Reinhard Pointner
f85224a8ff * added preferred language support for movie mode (via TheMovieDB data source only) 2011-08-10 05:05:11 +00:00
Reinhard Pointner
949b1ce864 + added initial support for episode formatting language preferences
(preferred language will be ignored if data-source doesn't support multiple languages)
2011-08-08 17:37:45 +00:00
Reinhard Pointner
38bbaaf5d8 + updated Serienjunkies support (support episode airdate and website links) 2011-08-07 07:22:07 +00:00
Reinhard Pointner
d499bb01d6 * added initial support for serienjunkies as episode list provider 2011-08-05 04:38:11 +00:00
Reinhard Pointner
e163824bd0 * fix typo 2011-08-05 04:32:28 +00:00
Reinhard Pointner
a2493bc969 * update test cases 2011-01-07 11:02:11 +00:00
Reinhard Pointner
a5bc17e724 * use anidb http api 2011-01-07 03:51:08 +00:00
Reinhard Pointner
b81be6a2a0 * allow 4-digit season number (e.g. 2009, 2010, ...) 2010-11-26 14:13:40 +00:00
Reinhard Pointner
051c34c98d * thetvdb: prefer DVD episode ordering 2010-11-15 10:06:24 +00:00
Reinhard Pointner
038dcb38e8 * refactored anidb client a bit (added internal support for multi-language episode titles) 2010-11-11 14:23:59 +00:00
Reinhard Pointner
270a0409ca * drop SubtitleSource related code as they now restrict access to their api 2010-11-11 12:17:31 +00:00
Reinhard Pointner
13a1b3fa6a * add support for absolute episode numbers alongside SxE
-> add absolute episode number support to TVRage and TheTVDB
-> check against absolute episode number when matching files and episodes
-> add naming scheme binding for absolute episode number
2010-11-09 08:04:12 +00:00
Reinhard Pointner
78d2a3c44a * make test case independent from Episode class (which changed quite often lately) 2010-11-09 07:33:16 +00:00
Reinhard Pointner
d092b6f609 * updated to Media.getInfo method in TheMovieDB api client 2010-11-01 10:23:56 +00:00
Reinhard Pointner
07b675eb93 * support for matching date based tv shows (that don't have SxE) 2010-10-24 16:33:38 +00:00
Reinhard Pointner
51018d7ae7 * fix test cases 2010-10-24 13:26:30 +00:00
Reinhard Pointner
f53887c7ea * improved support for airdate
* refactor SxE from String to Integer types
2010-10-24 12:10:30 +00:00
Reinhard Pointner
5db098e95a * added support for airdate in episode naming scheme (new binding "air")
* parse airdate in all episode list providers (TVRage, AniDB, TV.com, IMDb, TheTVDB)
2010-10-23 12:47:43 +00:00
Reinhard Pointner
d3bdcf597e * fixed/updated Subscene scraper
* fixed/updated Sublight webservice
* updated test cases related to various web resources
2010-10-21 14:47:47 +00:00
Reinhard Pointner
193c53273b * update unit-test 2010-02-04 14:30:39 +00:00
Reinhard Pointner
d1b111765e * improved handling of multi-part movies
* added OpenSubtitles as movie name source
2010-01-26 19:08:09 +00:00
Reinhard Pointner
5feaffb7c6 * adapt to site changes 2009-12-04 00:24:35 +00:00
Reinhard Pointner
5519c1440d * added fallback for movie identification by scanning .nfo files for an imdb id 2009-11-22 01:27:05 +00:00
Reinhard Pointner
5c7f90540a * some refactoring & polishing
* update nekohtml to 1.9.13
* update jna to 3.2.3
* update ehcache to 1.7.0
* update mediainfo native libs to 0.7.24
* remove 32-bit mediainfo.dynlib for Mac because Java 6 is only available in 64-bit anyway
2009-11-02 23:25:04 +00:00
Reinhard Pointner
0a2d323ac4 * use animetitles.dat.gz instead of scraping the anidb search interface
* use disk-persistent cache for all anidb data (expire after 30 days)
2009-10-28 15:09:47 +00:00
Reinhard Pointner
39dd413eec * improved subtitle api and video hash support 2009-10-20 21:16:34 +00:00
Reinhard Pointner
36ad3d826d * minor updates 2009-10-13 00:28:59 +00:00
Reinhard Pointner
b04f89b7fd + use Groovy instead of JavaScript in ExpressionFormat 2009-09-22 21:23:39 +00:00
Reinhard Pointner
9be7101759 * fixed encoding problem, added unit test 2009-09-22 20:56:43 +00:00
Reinhard Pointner
64eb0ab911 * more restrictive 1x01 SxE pattern (episode part must be 2-digits)
* don't load args4j if we don't need to (little bit faster startup)
* fixed dnd of episode list (was disabled)
2009-08-27 23:30:21 +00:00
Reinhard Pointner
3dd8bb5c66 * adapt to site changes 2009-08-17 14:19:07 +00:00
Reinhard Pointner
d98df7d7f1 * improved series name matching
* include "tv mini-series" when searching for any series on imdb
2009-08-12 19:35:24 +00:00
Reinhard Pointner
3ff3a85289 + auto-lookup verification file
+ allow absolute paths in verification files
* lots of refactoring
2009-08-10 11:46:24 +00:00
Reinhard Pointner
3956b61127 * added selection dialog for format sample in episode format dialog
* make MediaInfo thread-safe
* refactor class Settings and lots of related code changes
2009-07-29 20:31:08 +00:00
Reinhard Pointner
203eedb24e * encapsulate similarity metrics used in RenamePanel properly
* removed some unused code
* some unit tests
2009-07-26 16:54:24 +00:00
Reinhard Pointner
57df9b1fbc * adapt tv.com scraper to site changes 2009-07-25 13:36:29 +00:00
Reinhard Pointner
a500aacf80 * improved matching of episodes with episode number > 99
* refactoring
2009-07-23 14:25:43 +00:00
Reinhard Pointner
78b77034b1 * remember recent formats in EpisodeFormatDialog
* display script exceptions if formatted name is empty
* better handling of empty search results in some page scrapes
* some test cases
* refactoring
2009-07-18 22:06:32 +00:00
Reinhard Pointner
48cac46fef * added OpenSubtitles xmlrpc methods: TryUploadSubtitles, UploadSubtitles, DetectLanguage, CheckSubHash, CheckMovieHash 2009-07-13 13:02:04 +00:00
Reinhard Pointner
cdf2487f2c * use xml anime page to get episode information 2009-07-13 12:40:27 +00:00
Reinhard Pointner
c9bc001a9c * fixed some unit tests 2009-07-03 13:07:43 +00:00
Reinhard Pointner
3ded6a5628 + added subtitle package and parsers for some formats
* added SubRip (.srt) support
* added MicroDVD (.sub) support
* added SubViewer (.sub) support
* added SubStationAlpha (.ssa, .ass) support
2009-06-27 16:02:31 +00:00
Reinhard Pointner
5a2d1459f2 * always use main title in anidb scraper again, because the official English title doesn't meet most peoples expectations in many cases 2009-06-27 12:03:48 +00:00
Reinhard Pointner
98ddfafe43 * subtitle file view in download component
* added ByteBufferTransferable and use it as superclass of TextFileTransferable
* added ListView
* lots of refactoring
2009-06-19 22:35:39 +00:00
Reinhard Pointner
18456f6864 + subtitle list displays found subtitles and download phase
+ download and extract selected subtitle packages (not displayed yet though)
* SubtitleDescriptor provides download function (Callable)
* updated sublight webservice
* lazy-initialize SubtitlesAPI2Soap (Sublight) because loading all the jax-ws classes will can take more than 1s (while blocking EDT)
* better sublight subtitle display names
* added archive files to media.types
* added icons for subtitle list
* refactoring
2009-06-13 09:53:48 +00:00
Reinhard Pointner
c49b68c836 * added support for downloading subtitles from Sublight
* added ZipArchive and RarArchive
2009-06-02 15:14:12 +00:00
Reinhard Pointner
7bb739f800 + Sublight support (build, client, hash, test, lib) 2009-06-02 11:32:30 +00:00
Reinhard Pointner
6593bfdbda * trim result after formatting in EpisodeExpressionFormatter
* refactoring / cleanup
2009-06-02 10:27:28 +00:00
Reinhard Pointner
a547c7e7e9 * use String (language name) instead of Locale in all SubtitleProviders
* get languages (name, code) from xml file
* implemented LanguageComboBox (model, renderer, persistence)
* rename language icons
* removed various prototype classes that will never be used
2009-05-31 15:19:56 +00:00
Reinhard Pointner
508c9a7d93 * fixed leading "recap" in episodes titles of recap episodes 2009-05-25 20:30:32 +00:00
Reinhard Pointner
ec4254e687 * use "matching title" in anidb search results
* use official english anime title
* much faster episode information extraction (less xpath)
2009-05-25 20:13:30 +00:00
Reinhard Pointner
3162b3e7bc * adapt AnidbClient search query string to hide synonyms
* fixed bug that allowed the user to select a season-specific episodelist (e.g. Season 1) from anidb which is not supported
* continue matching process even if we can't fetch episode-lists for one or more auto-detected names
2009-05-24 13:25:49 +00:00
Reinhard Pointner
0dc12ec505 * cleanup: group static imports 2009-05-17 17:22:44 +00:00
Reinhard Pointner
419255bf34 * update to junit 3.6
* update some test cases
2009-05-16 20:18:17 +00:00
Reinhard Pointner
8729d227a1 + EpisodeFormat: don't use inferred file for crc32 binding
* fixed "All Episodes" link in TVDotComClient
2009-05-06 17:06:10 +00:00
Reinhard Pointner
1ed4d2b495 + EpressionFormat: format Double objects with integer values as integers
+ Matching: allow partial match with season number OR episode number
+ AutoFetchEpisodeListMatcher: abort if one or more shows cannot be found

* support specials in TVRage, TVDotCom and TheTVDB Client
* account for IMDB search-to-info-page redirect
2009-05-03 15:21:04 +00:00
Reinhard Pointner
ca032f3b56 + Script expressions in ExpressionFormat will now be evaluated in a secure sandbox
+ "preserve Extension" can be enabled/disabled in RenameModel

* fixed rename list SelectionModel performance issue 
* create package for ui-independant Hash* stuff
2009-05-02 23:34:04 +00:00
Reinhard Pointner
d5a5b93b3b * introduction of a single unified Rename- and MatchModel
* arbitrary formating using Object (e.g. episode information) and File (e.g. codec information) data
* background formatting (e.g. crc32) and visual indicators in cellrenderer
2009-04-26 13:34:22 +00:00
Reinhard Pointner
54bf7c2ca3 * refactoring of ExpressionFormat and related classes 2009-04-25 07:59:08 +00:00
Reinhard Pointner
09a1e0b731 * updated tv.com page scraper (will now target episode guide page, instead of episode list page)
* add season-links to IMDbClient
* don't resolve & TVRageClient episode title
2009-04-25 07:57:14 +00:00
Reinhard Pointner
335cd401e1 * adjusted to changes in TV.com's html (episode list page) 2009-04-04 20:19:03 +00:00
Reinhard Pointner
7e6f485882 * improved episode format and format creation dialog
* differentiate between format errors and format warnings
2009-04-04 19:36:12 +00:00
Reinhard Pointner
df143e0305 * added episode list support for IMDb 2009-03-17 21:59:19 +00:00
Reinhard Pointner
9ed970de05 * refactoring ...
* changed cmd line args (single panel frame)
* simplified multi panel frame
* changed window icon
* create panels via PanelBuilder
2009-03-14 00:30:24 +00:00
Reinhard Pointner
10a7fd5b4c * added "Edit Format" action to "Fetch Episode List" action popup in rename panel
* add support for episode array transferable to episode list panel and rename panel
* renamed ScriptFormat to ExpressionFormat
* misc. changes
2009-03-12 20:08:42 +00:00
Reinhard Pointner
2de1b8a1b0 * added ScriptFormat and format configuration dialog
* added names view (did miss it last commit)
2009-03-08 19:55:05 +00:00
Reinhard Pointner
deb15a6e15 * install Format/Validate view between namesList and model.names()
* refactored Preferences wrapper and unit tests
2009-03-08 18:41:11 +00:00
Reinhard Pointner
2c5375914b * fix ambiguous (for sun javac at least) call of assertEquals 2009-02-28 18:24:23 +00:00
Reinhard Pointner
d2f5c8e572 * simplify SubsceneSubtitleClient
* use less xpath to speed things up a little bit
2009-02-21 12:48:52 +00:00
Reinhard Pointner
e643466653 * little bit of refactoring
* fixed unit-test
2009-02-17 18:11:33 +00:00
Reinhard Pointner
87e8d830ce * full support for multiple checksum types (SFV, MD5, SHA-1)
notes:
* updated to MigLayout 3.6.3
* better exception handling in *TransferablePolicy
* added checksum toggle button and artwork
* poperly cancel computation tasks on reset
* better "Total Progress" visibility behaviour
* improved checksum table model classes, better update/repaint behaviour
2009-02-15 12:20:43 +00:00
Reinhard Pointner
684a7512bc * support for SubtitleSource (www.subtitlesource.org)
refactoring:
* renamed XPathUtil
* use ConcurrentMap in LanguageResolver
2009-02-06 17:57:18 +00:00