Commit Graph

1735 Commits

Author SHA1 Message Date
Reinhard Pointner 94c9a55b37 * add auto-detection ignore words 2014-06-20 08:47:45 +00:00
Reinhard Pointner 06fa434c7e * exclude misleading patterns like 2012.S01 from SxE pattern matching 2014-06-19 20:15:44 +00:00
Reinhard Pointner 397dd744df * clean up 2014-06-18 13:28:14 +00:00
Reinhard Pointner 8e1ba28bbf * remove replaced file 2014-06-18 09:33:32 +00:00
Reinhard Pointner 464fccd3d5 * fix case issue 2014-06-18 09:31:18 +00:00
Reinhard Pointner 977452268e * replace xattrj with my own JNA wrapper for <sys/xattr.h> 2014-06-18 09:28:27 +00:00
Reinhard Pointner 12d04c1681 * ignore non-series anidb entry types 2014-06-13 16:42:14 +00:00
Reinhard Pointner b87f8fd1e4 * account for all the ISO 639-2/B language codes 2014-06-11 15:03:58 +00:00
Reinhard Pointner 36ef89faa1 * fix args4j argument parsing issues (bug occurred if the format contains = symbols)
@see http://www.filebot.net/forums/viewtopic.php?f=8&t=1726&p=10131#p10131
2014-06-10 17:05:41 +00:00
Reinhard Pointner 74d7a800e8 * don't include extended info in {info} binding (to reduce wasteful API requests) 2014-06-06 04:07:53 +00:00
Reinhard Pointner 2f0fada72a * limit {t} binding to 150 chars 2014-06-05 03:10:21 +00:00
Reinhard Pointner 6613ebe67d * fix excessively long filenames 2014-06-05 02:48:40 +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 d53de9b922 * fix -get-missing-subtitles issue if user already has multiple subtitles in multiple languages 2014-05-20 12:36:52 +00:00
Reinhard Pointner 49b49b80b7 * at least take language info from TryUploadSubtitles response 2014-05-19 15:13:14 +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 b833f0e759 * ignore TryUploadSubtitles results (cause loads of clients submit the wrong imdb ids so we at least force new uploads with FileBot which is more likely to be correct) 2014-05-18 10:02:35 +00:00
Reinhard Pointner af6d3e0d95 * fixfix 2014-05-15 17:25:12 +00:00
Reinhard Pointner c2ba403e99 * {now} bindings should probably work the same as now property in ShellScriptBaseClass 2014-05-13 18:20:20 +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 ffcf61472d * new binding {age} meaning "days since airdate" 2014-05-12 15:45:19 +00:00
Reinhard Pointner 5a287ab4c4 * convenience functions 2014-05-12 08:25:42 +00:00
Reinhard Pointner 0438e4756f * easy access to the structure relative path, might be useful for scripting latter to exclude home folders and the likes from any kind of checking 2014-05-11 07:37:02 +00:00
Reinhard Pointner 13ee0baac7 * added missing language code "ger" 2014-05-09 20:27:18 +00:00
Reinhard Pointner b43727cf5f * make devel branch the default script branch, master is deprecated now and only around to keep 4.0 scripting working 2014-05-09 12:25:10 +00:00
Reinhard Pointner cbd64a3a87 * update to Groovy 2.3.0 and latest ant 1.9.3 dependencies 2014-05-07 14:50:30 +00:00
Reinhard Pointner 2f4d43b547 * guarantee that movies are processed if already well-named also in strict mode 2014-05-06 18:49:41 +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 f88c7fcff7 * reduce unnecessary messages that may confuse users that have the libraries install via the mediainfo packages 2014-05-01 02:14:33 +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 d18045a383 * fix dialog positioning issues 2014-04-30 04:36:31 +00:00
Reinhard Pointner eb545bde6f * change text 2014-04-30 04:27:19 +00:00
Reinhard Pointner 31601c219f * improved steps for {vf} 2014-04-29 07:35:03 +00:00
Reinhard Pointner a09ddc87e7 * add extra stops
@see http://www.filebot.net/forums/viewtopic.php?f=5&t=1583
2014-04-29 02:15:22 +00:00
Reinhard Pointner 2c92f46814 * fix script compatibility issue 2014-04-28 13:48:52 +00:00
Reinhard Pointner b315e9e9ea * allow null parameter 2014-04-28 04:31:10 +00:00
Reinhard Pointner 24dbeda555 * replace UNICODE_CASE with UNICODE_CLASS which implies UNICODE_CASE and more 2014-04-28 03:57:35 +00:00
Reinhard Pointner 75b87edcd7 * added findMatch for convenient case-insentive / unicode find() 2014-04-28 03:55:42 +00:00
Reinhard Pointner 774d1b4a1b * set AniDB client version to v5 for the FileBot 4.1+ series 2014-04-27 10:02:49 +00:00
Reinhard Pointner be48eaf9ed * make sure to avoid unicode decomposition issues 2014-04-27 07:29:23 +00:00
Reinhard Pointner 369aa6d406 * fine-tuning for amc script 2014-04-26 17:31:03 +00:00
Reinhard Pointner 060bb1f037 * String.toFile() for convenience 2014-04-26 15:13:43 +00:00
Reinhard Pointner d810af37d2 + xattr support for Mac OSX 2014-04-25 06:59:18 +00:00
Reinhard Pointner 4b61a99f01 * fix size so it'll also work on Apple LaF 2014-04-22 14:18:15 +00:00
Reinhard Pointner 3e46fc8929 * github fixed it's SSL issues, this workaroud is no longer required 2014-04-22 14:14:40 +00:00
Reinhard Pointner fb884c017a * allow die(Throwable) usage 2014-04-21 14:09:31 +00:00
Reinhard Pointner b2150b3392 * keep original file order 2014-04-21 14:05:24 +00:00
Reinhard Pointner 2eb972eb50 * remove unused option 2014-04-21 14:04:36 +00:00
Reinhard Pointner 44e69dfe9c * support --filter when using -list 2014-04-20 13:34:34 +00:00
Reinhard Pointner 26d3b51a84 * support simple rename function call that takes care of all the cmdline logging / rename action / conflict action / history 2014-04-20 13:09:01 +00:00
Reinhard Pointner b0da4330e8 *** switch from dev:name syntax to master:name syntax with next release, and then fade out devel branch 2014-04-19 17:59:12 +00:00
Reinhard Pointner c5925ac3ac * some improvements for amc processing logic 2014-04-19 16:54:25 +00:00
Reinhard Pointner 56ee173764 * script compatibility fixes 2014-04-19 08:42:58 +00:00
Reinhard Pointner ea942d41e2 * script compatibility fixes 2014-04-19 07:46:46 +00:00
Reinhard Pointner 2199e67357 * added helper method 2014-04-19 07:31:24 +00:00
Reinhard Pointner 5c29cf6f74 * replace all net.sourceforge.filebot with net.filebot in deployment build files 2014-04-19 06:33:08 +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
Reinhard Pointner c3b0f35248 * compatibility fixes 2014-04-19 05:55:23 +00:00
Reinhard Pointner ba1ae98d1c * rename Date class to SimpleDate to avoid confusion with java.util.Date 2014-04-19 05:39:52 +00:00
Reinhard Pointner f7a7866e23 * added now script property 2014-04-19 05:37:40 +00:00
Reinhard Pointner ca3fc8f3fa + Groovy engine extensions rewrite complete :) 2014-04-18 19:41:39 +00:00
Reinhard Pointner 2ba959e2b5 +> TODO remove once raw.githubusercontent.com is fixed 2014-04-18 18:04:24 +00:00
Reinhard Pointner ad0e0e2802 * ScriptShell rewrite nearing completion 2014-04-17 19:52:23 +00:00
Reinhard Pointner 396fb3508f * refactoring & added utils 2014-04-17 15:35:33 +00:00
Reinhard Pointner 1f055065d6 * better error message for MacOS where UserDefinedFileAttributeView is not supported 2014-04-17 15:32:24 +00:00
Reinhard Pointner 03ce43e6f9 * use proper Groovy DefaultTypeTransformation instead of hacky "value as boolean" script 2014-04-17 06:14:38 +00:00
Reinhard Pointner ed9413afe7 * prefix with package name to make sure it's unique, and also it adheres to how xattr are used on OSX
-- lose compatibility with previously written xattr :(
2014-04-16 19:38:04 +00:00
Reinhard Pointner f360c4f99a * continue porting 2014-04-16 17:23:25 +00:00
Reinhard Pointner 3c1306ec2c * allow Windows case-change only if filename differs 2014-04-16 14:37:52 +00:00
Reinhard Pointner 68df1b7c09 * continued work on porting ScriptShell to the new extension mechanism 2014-04-16 08:52:57 +00:00
Reinhard Pointner 8945478a6b * temporary compatibility fix 2014-04-15 17:55:34 +00:00
Reinhard Pointner 12c5c6809c * do query pattern matching in strict mode and in non-strict mode as fallback 2014-04-15 17:34:28 +00:00
Reinhard Pointner e9a33eed19 * compatibility settings 2014-04-15 16:27:48 +00:00
Reinhard Pointner 34b2dd3b34 * start updating ScriptShell extensions as well (so things are broken until finished) 2014-04-15 14:31:40 +00:00
Reinhard Pointner 8cee5b9a2a * avoid overloading issues 2014-04-15 14:29:13 +00:00
Reinhard Pointner 45a00a7d4b * fetch scripts from per-version-branches on github to avoid future compatibility problems 2014-04-15 14:03:31 +00:00
Reinhard Pointner c4ba95b24b + new bindings {defines} and {label} for accessing --def options passed via cmdline 2014-04-15 12:26:09 +00:00
Reinhard Pointner 1a730c3ec6 * finish rewrite of ExpressionFormat customizations 2014-04-15 12:23:58 +00:00
Reinhard Pointner 3339dc36d1 * minor refactoring 2014-04-15 12:14:43 +00:00
Reinhard Pointner 76fd500de4 * fix overloading issue 2014-04-14 14:46:57 +00:00
Reinhard Pointner 1eed7ffbf9 * more patters for when to to use "disk folder logic"
@see http://www.filebot.net/forums/viewtopic.php?f=5&t=1538&p=9129#p9129
2014-04-14 14:36:43 +00:00
Reinhard Pointner 86cb93c040 * remove "sandbox" feature which isn't used and probably wouldn't work that well anyhow 2014-04-14 12:51:01 +00:00
Reinhard Pointner dc6cc5e9c1 * move groovy default imports into ScriptShell.properties 2014-04-14 07:18:49 +00:00
Reinhard Pointner ab62379e72 * while removeBrackets may be too much, normalizePunctuation is probably required 2014-04-14 07:17:17 +00:00
Reinhard Pointner a0ae0392da * use new groovy extension mechanisms (but keep slow *.lib.groovy backwards compatibility for now) 2014-04-13 20:08:50 +00:00
Reinhard Pointner 9aa97268c5 * improve series detection, and make sure to not scrub things too aggressively as not to loose information
* skip search if all files are tagged already
2014-04-13 19:42:41 +00:00
Reinhard Pointner db86aa5153 * refactor static field names for scripting 2014-04-13 19:39:46 +00:00
Reinhard Pointner 6bd298d478 * reduce unnecessary redirects 2014-04-13 19:37:59 +00:00
Reinhard Pointner 6e8f5a1445 * inject methods using the Groovy Extension Module system (and slowly phase out the *.lib.groovy code) 2014-04-13 19:37:11 +00:00
Reinhard Pointner 5030f6926e * make sure application arguments can be accessed at anytime at runtime 2014-04-13 19:35:23 +00:00
Reinhard Pointner 208f8f1ed8 * make sure to include url to malformed xml in error log 2014-04-10 13:48:01 +00:00
Reinhard Pointner 91bf489c0c * misc fixes 2014-04-10 05:55:01 +00:00
Reinhard Pointner 50156874a4 * update release info tokens 2014-04-09 06:42:25 +00:00
Reinhard Pointner e9e8b17e4d * make sure xml data is valid and well-formed before caching it 2014-04-09 06:38:44 +00:00
Reinhard Pointner 4038e7a6af * make sure SxE matcher doesn't fall back on release info patterns like x264 or 720p 2014-04-07 06:00:14 +00:00
Reinhard Pointner cf062bbe44 * disable useCreationDate by default
* if useCreationDate  is enabled set the movie release date, not just the year
2014-04-06 05:35:53 +00:00
Reinhard Pointner d8c56c637a * allow "unselection" of subtitle options 2014-04-05 16:25:38 +00:00
Reinhard Pointner 9cbef475c6 * disable search-by-name completely in strict-mode 2014-04-05 11:42:11 +00:00
Reinhard Pointner dba98f9a6d * make -get-missing-subtitles more aware of different language code standards 2014-04-04 07:35:30 +00:00
Reinhard Pointner 7f48ca67e9 * increase default width just in case 2014-04-02 11:51:11 +00:00
Reinhard Pointner 37d8c1f63e * update 2014-04-01 19:56:37 +00:00
Reinhard Pointner 3802cc6965 * provide API method for getting or overriding the fpcalc command used 2014-04-01 12:59:49 +00:00
Reinhard Pointner 37d55d4867 * organize imports 2014-04-01 12:41:50 +00:00
Reinhard Pointner 664f83ced0 * move package net.sourceforge.tuned to net.sourceforge.filebot.util 2014-04-01 12:36:34 +00:00
Reinhard Pointner 55217e3ceb * add source Laserdisc 2014-04-01 12:19:08 +00:00
Reinhard Pointner 92a433a77f * fix NPE 2014-03-29 02:24:37 +00:00
Reinhard Pointner 9aed2be884 * better error messages 2014-03-27 18:26:41 +00:00
Reinhard Pointner bd482562e0 * when in doubt, just pick the top 5 most likely hits => never fail in -non-strict mode 2014-03-27 07:40:30 +00:00
Reinhard Pointner 91f37a5d20 * refactoring 2014-03-26 16:39:21 +00:00
Reinhard Pointner 1ca8de3ab7 * make sure substring metric only matches word sequences, rather than simple substrings which may match half of a word which wouldn't never make sense and could only cause issues 2014-03-24 20:32:27 +00:00
Reinhard Pointner f61f30e862 * fix issues with multi-episode anime default numbering bindings {sxe} and {s00e00} 2014-03-24 17:11:56 +00:00
Reinhard Pointner 8f31ed3977 * fix fix 2014-03-24 15:30:59 +00:00
Reinhard Pointner 5011546e71 * also clear reports folder created by amc script 2014-03-24 07:30:23 +00:00
Reinhard Pointner 84e4140b54 * fix potential html markup validation issues 2014-03-24 06:37:28 +00:00
Reinhard Pointner bd136671ff * fix for alias-aware matching 2014-03-22 09:51:43 +00:00
Reinhard Pointner 56424aafe1 * update patters to make 1x01-1x02 take precendence over 1x01-02 pattern 2014-03-22 07:46:40 +00:00
Reinhard Pointner b365bf48c3 * support setting request properties for post requests (required for PushBullet support in AMC script) 2014-03-21 16:32:51 +00:00
Reinhard Pointner 1ae64235f1 * make sure the Episode/Movie object graphs don't share any objects so json-io won't write json with @ref attributes 2014-03-20 17:36:56 +00:00
Reinhard Pointner 8aa33750a6 * ensure rename map is always sorted by path 2014-03-20 07:45:56 +00:00
Reinhard Pointner c745ea01a3 * fix anidb {sxe} format bugs 2014-03-20 05:43:31 +00:00
Reinhard Pointner 89c1744fd3 * remove some Java 6 compatibility hacks 2014-03-19 19:09:10 +00:00
Reinhard Pointner 33ca22c1bb * don't hardcode pushover application key 2014-03-19 19:04:16 +00:00
Reinhard Pointner cf8b3d835f + REQUIRE min JRE 7 and update all libs 2014-03-18 20:16:39 +00:00
Reinhard Pointner deb37c8ffd * fix 001 => 0xSpecial 1 false match issues
@see http://www.filebot.net/forums/viewtopic.php?f=5&t=1399
2014-03-18 06:08:46 +00:00
Reinhard Pointner 24cd64ec03 * fix corner-case
@see http://www.filebot.net/forums/viewtopic.php?f=8&t=1425
2014-03-16 17:46:30 +00:00
Reinhard Pointner 751cf116e9 + ignore owner/permissions when using COPY (sadly also xattr, but at least the file will be readable on the destination) 2014-03-16 11:33:31 +00:00
Reinhard Pointner cab2a89e20 * fix error messages to sound less like "filebot failure" 2014-03-11 14:18:02 +00:00
Reinhard Pointner 1495ba19e4 * fix series index 2014-03-10 06:21:25 +00:00
Reinhard Pointner d9dde4fdf9 * enhanced support for documentary numbering, e.g. 1of6
@see http://www.filebot.net/forums/viewtopic.php?f=6&t=1398
2014-03-08 08:25:04 +00:00
Reinhard Pointner db75f66b7b * allow switching between filebot app and groovy pad app 2014-03-07 17:42:40 +00:00
Reinhard Pointner 97263aa5d3 * added File.copyAs(File) 2014-03-07 17:21:17 +00:00
Reinhard Pointner bff47228c0 * xattr 1st class by default if possible 2014-03-06 14:28:46 +00:00
Reinhard Pointner b6eee5d405 * enhanced support for uploading subtitles for episode files 2014-03-05 16:17:43 +00:00
Reinhard Pointner 0db4bc410e + version bump 4.0 2014-03-03 09:55:26 +00:00
Reinhard Pointner 12a77f44fd * convenience binding {genre} which is equivalent to {genres[0]} 2014-02-28 16:04:54 +00:00
Reinhard Pointner 70c22e2cdb * fine-tune subtitles exclusion logic 2014-02-27 19:48:31 +00:00
Reinhard Pointner 223c797de5 * make clear that donations go to me personally as a sort of thank-you-present, and not some sort of project fund 2014-02-27 08:21:57 +00:00
Reinhard Pointner 90fb9bbb77 * force lower-case extensions 2014-02-24 02:12:33 +00:00
Reinhard Pointner 7ac73b24a6 * work around weird folder file listing permission issues 2014-02-21 16:53:29 +00:00
Reinhard Pointner 408efd166d * manual force name via F2 2014-02-19 21:07:41 +00:00
Reinhard Pointner cb10a44ce4 * improve {group} name extraction 2014-02-19 20:28:00 +00:00
Reinhard Pointner 486d720e0b * try fixing layout issues via auto-pack 2014-02-19 20:17:25 +00:00
Reinhard Pointner 8f647622f0 * HACK to keep things working on Java 6 2014-02-19 18:59:37 +00:00
Reinhard Pointner f33cf35627 * HACK to keep things working on Java 6 2014-02-19 18:57:58 +00:00
Reinhard Pointner 40b68ba6c9 * fixed "Can't move across drives on Windows" bug
@see http://www.filebot.net/forums/viewtopic.php?f=6&t=1326
2014-02-17 11:48:23 +00:00
Reinhard Pointner 1c3af8506c * fix "Can't Rename Folders" bug
@see http://www.filebot.net/forums/viewtopic.php?f=8&t=1321
2014-02-17 11:44:59 +00:00