Commit Graph

128 Commits

Author SHA1 Message Date
Reinhard Pointner b412bf33fe Fix "At least one of the problems in category 'unchecked' is not analysed due to a compiler option being ignored" warnings 2017-10-16 21:41:17 +02:00
Reinhard Pointner 9f2aaa6ca8 Fix Java 9 @Deprecated warnings 2017-10-16 21:09:25 +02:00
Reinhard Pointner ec4ddf40c4 Fix PropertyBindings bugs 2017-06-05 15:21:34 +08:00
Reinhard Pointner 82f34a0043 range patterns without season are more prone to false positives, so we need to do some extra sanity checks (e.g. Episode 01-50 is probably not a multi-episode but some sort of season pack) 2017-03-31 03:25:43 +08:00
Reinhard Pointner 700239934f Refactor EpisodeMetrics 2017-02-19 00:41:36 +08:00
Reinhard Pointner 04e8691553 SxE sets for Episode objects cannot be cached because the same Episode (by ID) may have different episode numbers depending on the order (e.g. Airdate VS DVD order) 2017-02-17 19:51:28 +08:00
Reinhard Pointner 2329104bad SxE sets for Episode objects cannot be cached because the same Episode (by ID) may have different episode numbers depending on the order (e.g. Airdate VS DVD order) 2017-02-17 19:49:53 +08:00
Reinhard Pointner 2baeb4f3cb Fix for single-number multi-episode patterns
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=4559&p=25428#p25428
2016-12-31 12:35:40 +08:00
Reinhard Pointner 77512d0e4f SxE sequences must increase in linear order (e.g. multi episode 04-05 is allowed but Episode 05-04 will not be interpreted as multi episode)
@see https://www.filebot.net/forums/viewtopic.php?f=8&t=4507&p=25067#p25067
2016-12-14 11:01:04 +08:00
Reinhard Pointner b6c2329e79 Improved support for absolute multi-episode patterns
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=4371&p=24494#p24485
2016-11-22 07:01:51 +08:00
Reinhard Pointner 7feeb0a3be Refactor MediaBindingBean error handling 2016-11-13 19:12:30 +08:00
Reinhard Pointner 5bf208fadb Refactor Normalization 2016-11-09 23:02:25 +08:00
Reinhard Pointner 715f12601a Refactor Normalization 2016-11-09 22:32:27 +08:00
Reinhard Pointner 68fd6df113 Refactor Normalization 2016-11-09 21:23:06 +08:00
Reinhard Pointner 70ca7b9484 Binding "General[0][Encoded_Date]": undefined => normal if Encoded_Date is undefined => ignore 2016-11-08 21:58:25 +08:00
Reinhard Pointner de960c02da Use Objects.hash() 2016-10-31 05:03:39 +08:00
Reinhard Pointner 186808b695 Update unit tests 2016-10-21 03:48:33 +08:00
Reinhard Pointner 242c342b7c Refactor
Note: replaceSpace will get rid of NEWLINE as well and trim() will get rid of any leading/trailing spaces in the result
2016-10-20 15:14:13 +08:00
Reinhard Pointner 1ebadfc38a Use MediaBindingBean because it'll cache MediaInfo instances internally (heavy use of TimeStampMetric might otherwise slow things down significantly) 2016-10-10 21:22:37 +08:00
Reinhard Pointner a4686dd3c6 Minor optimizations 2016-10-08 04:49:08 +08:00
Reinhard Pointner 70a9fc7d0c Refactor SeasonEpisodeMatcher 2016-10-07 21:19:49 +08:00
Reinhard Pointner c66ef6e668 Fix illegal date issues (e.g. year out of bounds) 2016-10-05 10:59:27 +08:00
Reinhard Pointner 106fef7dd9 Make sure that last-resort 101 number parser does not pick digits from large numbers (e.g. 1234567890 => null instead of 123)
@see https://www.filebot.net/forums/viewtopic.php?f=4&t=4194
2016-10-05 03:34:42 +08:00
Reinhard Pointner 28ac45ab03 Fix illegal date issues (e.g. year out of bounds) 2016-10-05 03:06:39 +08:00
Reinhard Pointner eab8c2dccc Fix illegal date issues (e.g. year out of bounds) 2016-10-05 03:04:02 +08:00
Reinhard Pointner 4fbfc30d61 bonus points for primary matches (e.g. primary title matches filename > alias title matches folder path) 2016-09-26 18:59:17 +08:00
Reinhard Pointner c5be87c213 Deal with different kinds of colon properly 2016-09-26 18:53:20 +08:00
Reinhard Pointner 41967a00b3 bonus points for primary matches (e.g. primary title matches filename > alias title matches folder path) 2016-09-26 16:22:34 +08:00
Reinhard Pointner 5f734c14b2 Try to avoid strange `java.lang.IncompatibleClassChangeError: vtable stub` issues
@see https://www.filebot.net/forums/viewtopic.php?f=13&t=4137
2016-09-18 03:31:27 +08:00
Reinhard Pointner b2d2df1883 Try fix `java.lang.IncompatibleClassChangeError: vtable stub` 2016-09-09 13:03:46 +08:00
Reinhard Pointner bdc81b3501 Fix inconsistent SubstringFields metric behaviour 2016-08-23 00:51:47 +08:00
Reinhard Pointner 800d61543b Refactor Ep\EpisodeMetrics 2016-08-17 15:23:09 +08:00
Reinhard Pointner e5dc94afa9 If time stamps are too far apart then similarity must be 0 2016-08-12 00:30:21 +08:00
Reinhard Pointner ecf9cf96dd Make sure TimeStampMetric works the same for all epochs 2016-08-11 20:27:18 +08:00
Reinhard Pointner 9b640acd53 Consider media encoding date when comparing TimeStamp episode similarity 2016-08-10 05:50:54 +08:00
Reinhard Pointner 8f12961fe8 Consider media encoding date when comparing TimeStamp episode similarity 2016-08-10 03:11:06 +08:00
Reinhard Pointner 9705602e43 Refactor {age} logic 2016-08-10 00:34:35 +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 23872ff894 Better toString() and logging 2016-05-03 19:28:33 +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 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 0cda058ae7 Avoid loosing identifying information (e.g. release group in brackets) 2016-04-05 18:06:04 +00:00
Reinhard Pointner 94417623be Use common pattern 2016-04-05 18:06:02 +00:00
Reinhard Pointner 1564efc27c Make patterns public 2016-04-05 18:05:55 +00:00
Reinhard Pointner 6369eefee7 Refactor 2016-04-02 17:02:06 +00:00
Reinhard Pointner 0ac71b9c7d Refactor 2016-04-02 09:07:10 +00:00
Reinhard Pointner 0ac8d2d6cc Fix https://www.filebot.net/forums/viewtopic.php?f=5&t=3579&p=20057#p20057 2016-04-01 17:48:01 +00:00
Reinhard Pointner 97cf4800b8 Fine-tune episode matching (to account for more alias titles in substring metric) 2016-03-30 21:42:51 +00:00
Reinhard Pointner 32c40157a4 Ignore series mappings in the episode matcher 2016-03-29 08:00:09 +00:00
Reinhard Pointner 36a02ff457 New binding: {plex} => built-in Plex format defaults for Episode/Movie/Music objects 2016-03-28 01:32:12 +00:00