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

2750 Commits

Author SHA1 Message Date
Reinhard Pointner
1a4c66d977 Make sure that we can cancel worker pools if something goes wrong and an exception is thrown 2016-04-08 22:59:41 +00:00
Reinhard Pointner
e3be1e1bad Refactor 2016-04-08 22:59:38 +00:00
Reinhard Pointner
0a258e0058 Refactor MovieMatcher 2016-04-08 22:59:36 +00:00
Reinhard Pointner
26c49fb96b Refactor EpisodeListMatcher 2016-04-08 22:59:33 +00:00
Reinhard Pointner
d31d24856c Refactor SelectDialog 2016-04-08 22:59:30 +00:00
Reinhard Pointner
d73934f09b Refactor LocalSearch and AutoDetection worker threads 2016-04-08 22:59:27 +00:00
Reinhard Pointner
3bd1655136 Refactor 2016-04-08 22:59:23 +00:00
Reinhard Pointner
5bbc697a76 Synchronize memoized resource getter 2016-04-08 22:59:21 +00:00
Reinhard Pointner
3f870c4a1f Use only a single thread to download subtitles (so that we can keep track of the Download-Quota header and check it before each request) 2016-04-08 22:59:18 +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
0fa1d0f26f Fine-tune autodetect 2016-04-08 07:32:26 +00:00
Reinhard Pointner
0dc6a49ef5 Deal with empty strings as if they're null in the format 2016-04-07 16:43:40 +00:00
Reinhard Pointner
b7f264928b Use AutoDetection for simple -rename calls 2016-04-07 14:30:05 +00:00
Reinhard Pointner
0445df2e0e + Remove {videos} {audios} etc bindings and replace with {video} {audio} etc bindings which represent a list for all streams.
e.g.
{videos} becomes {video}
{video} becomes {video[0]}
2016-04-07 10:41:55 +00:00
Reinhard Pointner
7f1b5b290c + Remove {videos} {audios} etc bindings and replace with {video} {audio} etc bindings which represent a list for all streams.
e.g.
{videos} becomes {video}
{video} becomes {video[0]}
2016-04-07 08:23:17 +00:00
Reinhard Pointner
51c4bc7a9d Pick highest channel value (within a single channel) 2016-04-07 07:36:51 +00:00
Reinhard Pointner
036cefea51 Ignore ~/Movies for auto-detection purposes 2016-04-06 20:19:32 +00:00
Reinhard Pointner
a8dda17b9c Add AutoDetectMatcher 2016-04-06 18:56:39 +00:00
Reinhard Pointner
f0252c42cd Refactor 2016-04-06 18:56:36 +00:00
Reinhard Pointner
e48ecf4fa2 Refactor AutoCompleteMatcher 2016-04-06 18:56:33 +00:00
Reinhard Pointner
451424153f Support ID3 with AcoustID fallback 2016-04-06 18:56:30 +00:00
Reinhard Pointner
b71b16f60b Anime support 2016-04-06 16:39:41 +00:00
Reinhard Pointner
28ee8b5e30 Preserve format if type didn't change 2016-04-06 14:48:03 +00:00
Reinhard Pointner
9e33199776 Close File handle 2016-04-06 14:31:13 +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
6b7768417b Start counting at 1 2016-04-06 07:16:33 +00:00
Reinhard Pointner
41e445543a Pick first non-empty capturing group 2016-04-06 07:16:30 +00:00
Reinhard Pointner
673b0533fe ChannelPositions/String2: 3/2/2.1 / 3/2/0.1 (one audio stream may contain multiple multi-channel streams) 2016-04-06 07:16:27 +00:00
Reinhard Pointner
8bf3322366 Sort Groups 2016-04-05 22:29:27 +00:00
Reinhard Pointner
aa06ecbabd // can't use parallel stream because default fork/join pool doesn't play well with the security manager 2016-04-05 22:21:16 +00:00
Reinhard Pointner
419b71b08e Sort Groups 2016-04-05 20:33:45 +00:00
Reinhard Pointner
7bcfd7aa19 Refactor 2016-04-05 18:06:23 +00:00
Reinhard Pointner
de6a51e3fc Added AutoDetection 2016-04-05 18:06:21 +00:00
Reinhard Pointner
e340c8dd0c Refactor get*Index methods 2016-04-05 18:06:18 +00:00
Reinhard Pointner
8e6688facd Fix bugs 2016-04-05 18:06:16 +00:00
Reinhard Pointner
8177a0959a Fix bugs 2016-04-05 18:06:14 +00:00
Reinhard Pointner
247bc668b1 Added Pattern/Matcher stream 2016-04-05 18:06:06 +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
e8c89ed3c7 Strip embedded checksum patterns 2016-04-05 18:05:59 +00:00
Reinhard Pointner
8a748bbe46 Avoid loosing identifying information (e.g. release group in brackets) 2016-04-05 18:05:57 +00:00
Reinhard Pointner
1564efc27c Make patterns public 2016-04-05 18:05:55 +00:00
Reinhard Pointner
80f13040b3 Memoize additional FastFile properties 2016-04-05 18:05:52 +00:00
Reinhard Pointner
fde24b657b Fine-tune {group} matching
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=4&p=20095#p20095
2016-04-05 18:05:49 +00:00
Reinhard Pointner
83b0f999d9 Add database property to AudioTrack object 2016-04-05 18:05:47 +00:00
Reinhard Pointner
2a039350e4 Added SystemFilesFilter 2016-04-05 18:05:44 +00:00
Reinhard Pointner
cfd862c057 Refactor FastFile API 2016-04-04 08:57:38 +00:00
Reinhard Pointner
36237cd906 Map fn:name scripts to stable script bundle from app.filebot.net and dev:name scripts directly to github resources 2016-04-03 19:49:20 +00:00
Reinhard Pointner
93181df73e Lazy-load script bundle 2016-04-03 19:49:18 +00:00
Reinhard Pointner
d25b30e8af Make sure to ignore unexpected BOMs
@see https://www.filebot.net/forums/viewtopic.php?f=8&t=3582
2016-04-03 18:14:27 +00:00
Reinhard Pointner
d76b74b13f String.matchAll() should work like String.match() 2016-04-03 03:30:29 +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
b38b1046ed Organize 2016-04-01 19:36:41 +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
cba0483703 Fix https://www.filebot.net/forums/viewtopic.php?f=5&t=4&p=20051#p20051 2016-04-01 17:47:57 +00:00
Reinhard Pointner
b817d146a4 // normalize weird paths 2016-04-01 13:04:13 +00:00
Reinhard Pointner
20c94f02d2 Add File.getAt(int) and File.getAt(Range) methods to improve {plex} binding usage 2016-04-01 08:48:52 +00:00
Reinhard Pointner
869a571f2a handle error response correctly 2016-03-31 20:13:51 +00:00
Reinhard Pointner
56900ad542 Compatibility fix 2016-03-31 19:58:24 +00:00
Reinhard Pointner
4d7a40b31b Refactor 2016-03-31 17:25:49 +00:00
Reinhard Pointner
4aff8bb01e Added test cases 2016-03-30 21:42:56 +00:00
Reinhard Pointner
00e5eed75b Fix series lookup issues (short series names) 2016-03-30 21:42:54 +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
7279c52b2b Update movie format examples with some basics for the noobs 2016-03-30 16:43:45 +00:00
Reinhard Pointner
c93264c836 Fix default script 2016-03-30 16:43:42 +00:00
Reinhard Pointner
2d9d388c56 Fix preview not updating 2016-03-30 16:43:40 +00:00
Reinhard Pointner
61780da8a9 Refactor 2016-03-30 08:47:09 +00:00
Reinhard Pointner
429641a6fc Update script base to m2 2016-03-30 08:08:20 +00:00
Reinhard Pointner
3cb05129f9 Refactor 2016-03-30 03:12:25 +00:00
Reinhard Pointner
6819fdc978 Deploy and update script repository via signed jar bundles 2016-03-30 03:09:46 +00:00
Reinhard Pointner
d88fd57e9f Fine-tune release group matching and cleanup 2016-03-29 13:02:49 +00:00
Reinhard Pointner
91ed090da1 Refactor ClutterBracketPattern 2016-03-29 11:53:21 +00:00
Reinhard Pointner
32c40157a4 Ignore series mappings in the episode matcher 2016-03-29 08:00:09 +00:00
Reinhard Pointner
745b0aede8 Refactor 2016-03-29 08:00:06 +00:00
Reinhard Pointner
a73952ea81 Refactor 2016-03-29 08:00:03 +00:00
Reinhard Pointner
c552bdb8ae Refactor 2016-03-29 06:29:23 +00:00
Reinhard Pointner
874c6ff4eb Fix F2 mode issues 2016-03-28 20:45:46 +00:00
Reinhard Pointner
d74347591b Support --db ID3 (same as "ID3 Tags") 2016-03-28 20:45:43 +00:00
Reinhard Pointner
5ff4be457e Fix 2016-03-28 15:14:34 +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
c9bbdf5e65 Make non-String objects behave more like String objects in format expressions 2016-03-28 10:13:55 +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
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
5151bd8c7f Fix "Ip Man 3 FR"
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3546#p19839
2016-03-27 22:16:25 +00:00
Reinhard Pointner
153e87a4c6 Fix "Ip Man 3 FR"
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=3546#p19839
2016-03-27 22:16:23 +00:00
Reinhard Pointner
6b70a50ba9 Fix NPE 2016-03-27 22:16:20 +00:00
Reinhard Pointner
ca155e2e9b Print full stacktrace (just in case) 2016-03-27 20:42:06 +00:00
Reinhard Pointner
21f8c121c2 Refactor 2016-03-27 20:40:27 +00:00
Reinhard Pointner
8d35a67d71 Cache xattr values so that metadata works as expected at least for the current session even if xattr is not supported by the filesystem and thus metadata can't be persisted 2016-03-27 17:58:01 +00:00
Reinhard Pointner
d70e82401e Cache xattr values so that metadata works as expected at least for the current session even if xattr is not supported by the filesystem and thus metadata can't be persisted 2016-03-27 17:40:35 +00:00
Reinhard Pointner
dc22249794 Cache xattr values so that metadata works as expected at least for the current session even if xattr is not supported by the filesystem and thus metadata can't be persisted 2016-03-27 16:56:54 +00:00
Reinhard Pointner
b9fdfcbe10 Refactor 2016-03-27 13:52:59 +00:00
Reinhard Pointner
16d2459365 Full support for "TheMovieDB::TV" and "TheMovieDB" datasources 2016-03-26 19:44:44 +00:00
Reinhard Pointner
e4817e9de8 Refactor 2016-03-26 19:44:41 +00:00
Reinhard Pointner
6a9c4a4ccd Fix 2016-03-26 19:44:38 +00:00
Reinhard Pointner
c6d4a40f3d Refactor 2016-03-26 17:55:05 +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
fd2ee64c9f Fix unexpected Groovy side effects (e.g. Set += String) 2016-03-26 10:32:23 +00:00
Reinhard Pointner
6afd3b9094 Organize Imports 2016-03-26 07:44:03 +00:00
Reinhard Pointner
67312dbfa0 Update docs 2016-03-26 07:42:39 +00:00
Reinhard Pointner
e1c2d7bd2c Include "Where is FileBot Subtitles?" help link for MAS users 2016-03-25 08:16:15 +00:00
Reinhard Pointner
439ebe322b Refactor 2016-03-24 15:21:36 +00:00
Reinhard Pointner
5bc9a3737c New binding: {subt} for subtitle language/category extension (e.g. ".eng.forced") 2016-03-24 15:18:01 +00:00
Reinhard Pointner
8a533f8d47 New binding: {sub} for subtitle language/category extension (e.g. ".eng.forced") 2016-03-24 11:13:47 +00:00
Reinhard Pointner
564d11294d Make format engine a little bit more n00b friendly 2016-03-24 11:13:44 +00:00
Reinhard Pointner
920319120c Added *.vtt extension 2016-03-24 09:08:56 +00:00
Reinhard Pointner
990316cf4b Added *.vobsub extension 2016-03-24 09:00:28 +00:00
Reinhard Pointner
7843cab138 Avoid endless loops when loading paths from text files 2016-03-24 08:58:20 +00:00
Reinhard Pointner
0304a12b76 grace period to make sure data is always fresh when TTL is almost about to be reached 2016-03-24 07:56:43 +00:00
Reinhard Pointner
eb25b1e1b3 Fix FileSet (and --def excludeList behaviour) 2016-03-24 06:51:55 +00:00
Reinhard Pointner
e3644ec28a Improved logging 2016-03-23 23:39:15 +00:00
Reinhard Pointner
8b86e69a8f 60 minutes grace period to make sure data is always fresh when TTL is almost about to be exceeded 2016-03-23 23:39:12 +00:00
Reinhard Pointner
e82c887fa6 Automate native library updates 2016-03-23 14:57:52 +00:00
Reinhard Pointner
5472ea88bd Refactor: rename analyze package to filter 2016-03-22 08:29:42 +00:00
Reinhard Pointner
8615fddb8d Added audio format.
See https://www.filebot.net/forums/viewtopic.php?f=4&t=3521&p=19669#p19666
2016-03-21 19:02:12 +00:00
Reinhard Pointner
b6b1dcab2a Better logging for bad subtitle files 2016-03-21 18:44:57 +00:00
Reinhard Pointner
912ddbc2d8 Fix ListPanel "Copy selected item" behaviour 2016-03-21 17:14:04 +00:00
Reinhard Pointner
47ab6f6b96 SFV: auto-detect common root folder from dropped fileset 2016-03-21 15:29:27 +00:00
Reinhard Pointner
6c3895d7bf Refactor 2016-03-21 08:03:11 +00:00
Reinhard Pointner
6a2e1a61d9 Support multi-release-group patterns (e.g. FUM[ettv] or lol[ettv]) 2016-03-20 21:21:08 +00:00
Reinhard Pointner
4d6f4032b8 Refactor 2016-03-20 20:25:59 +00:00
Reinhard Pointner
ef71e2fff8 Rewrite ListPanel for parallel editing and testing of format expressions 2016-03-20 18:33:31 +00:00
Reinhard Pointner
56e13f072f Added "Send to" menus 2016-03-20 10:38:36 +00:00
Reinhard Pointner
ec501bc2ed Support sending selected episode data from Episodes panel to Rename panel via context menu (not just clipboard copy & paste) 2016-03-20 09:28:09 +00:00
Reinhard Pointner
4bd0ed265d Use EventBus singleton that runs tasks on the EDT 2016-03-20 07:52:13 +00:00
Reinhard Pointner
f724e0d949 Add Copy/Save as... context menu to Episode lists 2016-03-19 23:40:13 +00:00
Reinhard Pointner
440f47412f Improved support for DnD and startup file args 2016-03-19 21:09:48 +00:00
Reinhard Pointner
72f3c375e9 Improved support for DnD and startup file args 2016-03-19 21:03:12 +00:00
Reinhard Pointner
8b73ca9d40 Refactor 2016-03-19 20:44:12 +00:00
Reinhard Pointner
d39574dd1f Support Mac Drop-on-Dock file events 2016-03-19 18:45:08 +00:00
Reinhard Pointner
508dced94a Support Mac Drop-on-Dock file events 2016-03-19 17:31:14 +00:00
Reinhard Pointner
372a46a933 Refactor 2016-03-19 16:53:37 +00:00
Reinhard Pointner
7d02dcb88e Remove "validate children, yet avoid flickering of the mouse cursor" workaround because it causes a 600-800ms startup delay 2016-03-19 16:50:18 +00:00
Reinhard Pointner
52e96f4890 Support Mac Drop-on-Dock file events 2016-03-19 15:35:09 +00:00
Reinhard Pointner
adda35edd4 Compile against com.apple.eawt.* stub 2016-03-19 14:42:43 +00:00
Reinhard Pointner
22ece907de Use com.google.common.eventbus.EventBus for handling application global FileTransferable events 2016-03-19 14:42:40 +00:00
Reinhard Pointner
d5b6c404a7 Refactor 2016-03-19 10:30:25 +00:00
Reinhard Pointner
5bfa2692fd Fix 2016-03-17 18:27:22 +00:00
Reinhard Pointner
b243a6df1a -clear-cache only deletes ehcache folders 2016-03-17 09:03:22 +00:00
Reinhard Pointner
62ec14757c Fix TMDb artwork listing for non-English requests 2016-03-17 08:25:57 +00:00
Reinhard Pointner
a96af61f79 Better logging defaults 2016-03-15 14:57:21 +00:00
Reinhard Pointner
f5442e7316 Refactor 2016-03-15 14:57:18 +00:00
Reinhard Pointner
4646d623b3 + Push 4.6.2 B1 2016-03-15 08:06:52 +00:00
Reinhard Pointner
2ddec2e2b2 Fix Filter panel size issues 2016-03-14 07:34:13 +00:00
Reinhard Pointner
1878d3b060 Refactor 2016-03-13 20:00:13 +00:00
Reinhard Pointner
33dc0d7ca5 Refactor 2016-03-13 19:32:44 +00:00