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

986 Commits

Author SHA1 Message Date
Reinhard Pointner
441063f257 * support renaming folders via scripting rename(...) call
* improved nfo/imdb lookup for disk folders
2012-07-26 05:50:47 +00:00
Reinhard Pointner
165c66a319 * support parsing .nfo from video folders 2012-07-26 03:52:11 +00:00
Reinhard Pointner
9ac886f214 added constant MediaTypes.NFO_FILES file filter 2012-07-26 03:33:44 +00:00
Reinhard Pointner
6fdf3170b4 * log all by default is still better i think 2012-07-25 20:52:26 +00:00
Reinhard Pointner
faea58b7c7 * improve subtitle/nfo matching here as well 2012-07-25 20:45:58 +00:00
Reinhard Pointner
7cc54fc59e * added lots of caching to OpenSubtitlesClient (not much tested yet because the xml-rpc ws is broken again...) 2012-07-25 04:38:22 +00:00
Reinhard Pointner
3145245341 * make sure to work around all ehcache diskcache problems, unexpected exceptions, inconsistency, etc 2012-07-25 04:34:20 +00:00
Reinhard Pointner
581fd76265 * avoid special logger clashing with normal logging namespaces 2012-07-25 04:28:18 +00:00
Reinhard Pointner
a95b983e73 * handle invalid / not-existing imdb ids from nfo files gracefully 2012-07-25 01:40:11 +00:00
Reinhard Pointner
d143e3feb5 * major performance improvements for mass-movie matching by optimizing data caching
* caching of requests didn't work in parallel searches because threads would always hit similar files (in order) at the same time and can't benefit from caching. new logic is one thread per folder as all files resulting in the same query are usually in the same folder
2012-07-24 20:01:48 +00:00
Reinhard Pointner
d33a907f2f * use proper caches 2012-07-24 19:54:26 +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
7ec109cce1 * plain skip files that are renamed from the same to the same path 2012-07-24 17:34:53 +00:00
Reinhard Pointner
921554f126 * make sure validated filenames are trimmed just in case 2012-07-24 17:29:38 +00:00
Reinhard Pointner
ea7fb729b6 * set default CLI log level to CONFIG 2012-07-24 17:12:40 +00:00
Reinhard Pointner
0861220aed * fixed some corner case issues with the imdb scraper 2012-07-23 16:15:42 +00:00
Reinhard Pointner
09ec7c9dfb * fix movie/nfo matching 2012-07-23 16:14:19 +00:00
Reinhard Pointner
380aeea966 * allow configuring osdb/sublight logins via Preferences and add another script that'll set these Preferences 2012-07-23 06:58:36 +00:00
Reinhard Pointner
6b6839579e * support all -rename -get-subtitles -extract functionality out of the box in housekeeping and watcher scripts 2012-07-23 04:54:50 +00:00
Reinhard Pointner
f9d2e9dbf8 * use {imdb} binding as object for imdbapi data
* use {imdbid} as imdb id
2012-07-22 11:54:49 +00:00
Reinhard Pointner
09ed8c2a18 * make it easy to get rotten tomatoes info if necessary 2012-07-22 10:28:32 +00:00
Reinhard Pointner
5526f7311c * added binding {imdbapi} for getting data from www.imdbapi.com 2012-07-22 09:44:08 +00:00
Reinhard Pointner
61a098ceb3 * add ogm/ogg as video/audio extensions 2012-07-22 03:09:35 +00:00
Reinhard Pointner
1335105a58 * make watcher/housekeeping more general 2012-07-21 20:35:13 +00:00
Reinhard Pointner
47cd4a8a2d * don't show annoying logging by default 2012-07-21 20:32:45 +00:00
Reinhard Pointner
20ed98147f * connect nfo files to video files as well just like subtitles to make media info bindings match 2012-07-21 15:54:39 +00:00
Reinhard Pointner
425902f15d * better logging 2012-07-21 15:49:22 +00:00
Reinhard Pointner
ffa1783e30 * make sure specials can't take priority over normal episodes 2012-07-21 15:47:49 +00:00
Reinhard Pointner
a15ee1dd98 * updated episode/movie detection (esp. for {n} {e} pattern) 2012-07-21 14:32:55 +00:00
Reinhard Pointner
e64d97b222 * consider headless environments 2012-07-21 13:55:07 +00:00
Reinhard Pointner
baf65babcc * show episode/movie datasources as equals 2012-07-21 03:15:15 +00:00
Reinhard Pointner
43c5e992b7 * index original title as well as engish AKA title 2012-07-20 11:49:07 +00:00
Reinhard Pointner
d0f32dd0f7 * make movie detection resilient against unavailable local movie index 2012-07-20 04:04:55 +00:00
Reinhard Pointner
7c44c29b11 * catch possible NPE 2012-07-20 03:54:08 +00:00
Reinhard Pointner
6963eb41eb * added -DuseNativeShell to jnlp
* don't create auto-create folders when not necessary
* manually set java/jna.library.path to make sure it's in the install folder
2012-07-20 03:38:47 +00:00
Reinhard Pointner
306eda5c8a * make sure to resolve relative paths NativeRenameAction 2012-07-18 10:48:56 +00:00
Reinhard Pointner
bc14bf6fc0 * 1/3 emphasis on numberic patterns when sorting by similarity in order to help match movies by name and year 2012-07-18 10:45:47 +00:00
Reinhard Pointner
0a4b68f289 * only accept proper Movies or TV Shows 2012-07-18 09:50:39 +00:00
Reinhard Pointner
5379c39be3 * don't just use nfo files from the selected fileset for matching but all nfo files that are available 2012-07-18 09:14:58 +00:00
Reinhard Pointner
dc3415eb35 * updates 2012-07-17 20:55:01 +00:00
Reinhard Pointner
0d2314eab0 * integrate native MOVE/COPY on Windows 2012-07-17 20:52:03 +00:00
Reinhard Pointner
df91452cc0 * don't colorize items without a corresponding match on the other side 2012-07-17 20:46:56 +00:00
Reinhard Pointner
0e2c1ecf36 * allow auto-select or auto-ignore in movie mode to make it possible to skip all user interaction 2012-07-17 17:47:07 +00:00
Reinhard Pointner
27e8ec1806 * experimental support for windows shell operations 2012-07-16 19:11:07 +00:00
Reinhard Pointner
d9df1f21af * pluggable rename action! new it's possible to pass in a closure as rename action
* fixed some problems with absolute paths being resolved as relative paths
2012-07-16 19:08:35 +00:00
Reinhard Pointner
45594c4179 * use JDK7 Files.copy() if possible 2012-07-16 19:04:45 +00:00
Reinhard Pointner
5cb775fdac * finally fix this logger problem?? 2012-07-16 18:38:07 +00:00
Reinhard Pointner
c6037b03d3 * support 360 and 240 as standard height as well for {vf} 2012-07-16 11:43:14 +00:00
Reinhard Pointner
8bdfaaec46 * fine-tuning as suggested by part timer 2012-07-16 11:32:09 +00:00
Reinhard Pointner
5abb1f7abe * can't test drives that don't exist for being a folder or not 2012-07-16 11:24:34 +00:00
Reinhard Pointner
4fcc3def80 * workaround scrollpane problems by always showing the type label 2012-07-16 10:58:00 +00:00
Reinhard Pointner
8bd737ae71 * lots of improvements to subtitle-automatching esp. when handling movies 2012-07-16 10:09:21 +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
dfc9f118e8 * support fanart.tv 2012-07-16 02:42:15 +00:00
Reinhard Pointner
a5f75ca7ae * keep 8 recently used expressions around
* added acronym() function
2012-07-15 09:22:02 +00:00
Reinhard Pointner
b4706ac468 * extras: ant functions for scripting, better initial window size, updated RG names 2012-07-15 07:48:47 +00:00
Reinhard Pointner
80e6b9ef1a * allow sequence multi-selection 2012-07-15 07:46:43 +00:00
Reinhard Pointner
53f6b531fb * don't get tricked so easily by random extra nfo files or hash matches 2012-07-15 07:42:06 +00:00
Reinhard Pointner
3b3de961cd * rainbow highlighting of folder structure 2012-07-14 19:51:46 +00:00
Reinhard Pointner
917b6ca174 * separate processing threads from blocking user input thread 2012-07-14 19:04:30 +00:00
Reinhard Pointner
b0d8bd9cff * bridge Java/TheTVDB language code differences 2012-07-14 14:54:07 +00:00
Reinhard Pointner
3182f15d03 * optimize startup user experience 2012-07-14 14:50:07 +00:00
Reinhard Pointner
8a5422bb3d * really fixed it now, i think... damn race conditions... 2012-07-14 08:57:45 +00:00
Reinhard Pointner
d6b207d234 * fixed annoying analytics failed request logging 2012-07-14 08:52:48 +00:00
Reinhard Pointner
ebb9f068bb * FAILED to make Groovy RootLoader work. The Groovy RootLoader ClassLoader didn't play well with ehcache serialization/deserialization basically disabled caching and causes sporadic AssertError crashes. Gave up after many hours of trying to fix that... 2012-07-14 07:58:53 +00:00
Reinhard Pointner
7fa0d86a7d * fix that caused "All Languages" to be restored as "undefined" 2012-07-13 12:51:51 +00:00
Reinhard Pointner
d496a97ac8 * removed icon cache, just crashes the app sometimes and it's not really necessary anyway
* improved startup error handling
2012-07-13 12:39:21 +00:00
Reinhard Pointner
d29fe49390 * build my own imdb index from osdb movie data for ids and using my imdb scraper to get the original aka names
* lots of extra RG names and blacklisted terms (esp useful for dokus)
* updated cleaner script to handle video clutter like samples etc
2012-07-13 11:41:50 +00:00
Reinhard Pointner
7cf02bb235 * small refinements 2012-07-13 11:15:14 +00:00
Reinhard Pointner
8255d1d332 * remove deprecated stuff 2012-07-13 10:52:55 +00:00
Reinhard Pointner
bff13c898d * decided to make Analyze -> Types case-insensitive 2012-07-13 07:22:46 +00:00
Reinhard Pointner
9e7f3618d2 * make matchMovieName CWS maxStartIndex customizable 2012-07-13 06:52:20 +00:00
Reinhard Pointner
155a487e31 * handle illegal imdb ids properly 2012-07-13 06:46:58 +00:00
Reinhard Pointner
8fd4576ff4 * better error messages when anti-leech limits are reached 2012-07-13 05:00:27 +00:00
Reinhard Pointner
9effd7cc6d * allow local file override for fn:script scheme. Scripts must be saved as "{appdir}/scripts/name.groovy" 2012-07-13 04:58:46 +00:00
Reinhard Pointner
6631740d98 + support all rename actions (move, copy, hardlink, ...) in GUI as well
+ include/exclude extension mode evolved to Relative Name / Absolute Path modes
2012-07-12 11:23:23 +00:00
Reinhard Pointner
44bd9e2480 * make sure to load 7-Zip-JBinding via the system classloader and not the Groovy RootLoader 2012-07-11 20:39:39 +00:00
Reinhard Pointner
4b073df2d5 * ignore video games 2012-07-11 20:35:25 +00:00
Reinhard Pointner
d25bae2d42 * use starts-with-name logic for matching nfo files to movie files 2012-07-11 20:22:09 +00:00
Reinhard Pointner
30f05c1f9c * make sure to gracefully ignore all cache errors 2012-07-11 20:17:58 +00:00
Reinhard Pointner
fa6909ddfe * init application with Groovy RootLoader to make @Grapes work properly in scripting 2012-07-11 17:18:14 +00:00
Reinhard Pointner
1dd86ad2b0 * new binding {dim} to easily get video dimensions as int[] 2012-07-10 06:20:01 +00:00
Reinhard Pointner
24ea7ab334 * added plex integration sample 2012-07-10 05:14:43 +00:00
Reinhard Pointner
2217eed537 * allow non-strict threshold in strict mode when there is only one possible option 2012-07-10 04:50:32 +00:00
Reinhard Pointner
c833f0c521 * updated to Groovy 2.0
* bundled @Grape support into the fatjar
* automatically trust all local scripts and endorsed online scripts, no need for -trust-script anymore in these cases
2012-07-09 19:46:18 +00:00
Reinhard Pointner
b771eb7286 * non-strict mode: auto-pick first and only result even if it seems to be a bad match 2012-07-09 19:13:16 +00:00
Reinhard Pointner
4b40e02888 * slight match auto-selection tweaks 2012-07-09 12:14:13 +00:00
Reinhard Pointner
eae1887e83 * fixfix 2012-07-09 11:22:12 +00:00
Reinhard Pointner
0490e2c770 * easy access to rename log from scripting 2012-07-09 10:50:18 +00:00
Reinhard Pointner
70aa36f3b7 * accept result with only beginsWith() in non-strict mode 2012-07-09 04:21:13 +00:00
Reinhard Pointner
861d557e92 * make {vf} only evaluate to standard tags like 1080p, 720p, 480p
* the old {vf} binding is now {hpi}
2012-07-08 12:38:34 +00:00
Reinhard Pointner
9cd320431a * allow filename matches in -get-subtitles strict mode 2012-07-08 12:35:38 +00:00
Reinhard Pointner
84fbad6ab3 * fuck stupid sublight for restricting their api 2012-07-08 10:34:52 +00:00
Reinhard Pointner
85d736bf75 * improved matchMovieFromStringWithoutSpacing method 2012-07-08 09:47:13 +00:00
Reinhard Pointner
34b01c63dc * updated integrated sample movie expressions 2012-07-08 09:33:28 +00:00
Reinhard Pointner
02b2317f89 * added helpers for xml processing 2012-07-08 09:30:51 +00:00
Reinhard Pointner
c0a9d70d5d * allow -Xflag syntax for boolean variable injection 2012-07-08 06:32:03 +00:00
Reinhard Pointner
a8452bed7f * make AssociativeScriptObject exception behavior more generic 2012-07-08 03:09:42 +00:00
Reinhard Pointner
ae71d809ea * pre-load MediaTypes, MediaDetection and Groovy classes and resources on a low-priority background thread right after startup 2012-07-06 03:10:26 +00:00
Reinhard Pointner
f844b96f05 * cmdline option -r: resolve folders recursively
* get canonical representation of input paths before processing
2012-07-05 04:08:34 +00:00
Reinhard Pointner
e535b692ff * simplified certain scripting use-cases 2012-07-04 10:22:41 +00:00
Reinhard Pointner
811f945daf * improved series detection for certain cases 2012-07-04 10:20:52 +00:00
Reinhard Pointner
5145d906dd * support -DthreadPool=n to override background matcher thread pool size (default is number of cores) 2012-06-30 08:46:55 +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
f8b0eaea95 handle contractions (e.g. should not capitalize to Don'T but Don't) 2012-06-29 09:03:23 +00:00
Reinhard Pointner
8b887055aa * make movie detection smarter (hopefully) and cover more cases 2012-06-28 15:48:09 +00:00
Reinhard Pointner
473cc6bd44 * slightly improved matching for special cases 2012-06-28 04:04:37 +00:00
Reinhard Pointner
3e197b2263 * slightly improved release {group} matching 2012-06-28 02:36:32 +00:00
Reinhard Pointner
90705fd66f * improved multi-episode pattern matching 2012-06-25 17:30:21 +00:00
Reinhard Pointner
2e0c89d140 * version bump and update descriptor 2012-06-24 07:29:55 +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
a5284ccb40 * lots of testing & improvement for movie auto-detection
* more robust CLI movie-mode
2012-06-22 07:47:26 +00:00
Reinhard Pointner
d4b38f918f * slightly tweak movie name detection 2012-06-18 17:06:37 +00:00
Reinhard Pointner
ce339c273d * fixed possible PermGen memory problems caused by repeatedly initializing the Groovy with custom additions 2012-06-18 08:47:48 +00:00
Reinhard Pointner
e48bbbe2ee * separate cache with large diskstore capacity for full web pages 2012-06-18 08:40:05 +00:00
Reinhard Pointner
edba15e3f4 * use TheTVDB and TheMovieDB as default datasource for episode/movie data 2012-06-17 12:39:51 +00:00
Reinhard Pointner
5d35c903ca * better logging 2012-06-17 12:38:14 +00:00
Reinhard Pointner
ec5c492274 * auto-create folders if necessary 2012-06-17 12:36:59 +00:00
Reinhard Pointner
5b84cfaf51 * added 64x64 application IconImage 2012-06-17 12:15:44 +00:00
Reinhard Pointner
31d7141b41 * guess movie name from folder only 2 levels deep 2012-06-15 12:11:28 +00:00
Reinhard Pointner
c67b0d0d47 * improved handling of clutter files like samples/trailers/etc
* improved movie detection
2012-06-15 10:45:35 +00:00
Reinhard Pointner
ad79f0c13d * NPE bugfix for parallel() function 2012-06-15 10:04:11 +00:00
Reinhard Pointner
379df2dea8 * make sure --output is resolved against current working dir (as opposed to --format which is resolved against the folder of the file to rename) 2012-06-08 05:21:32 +00:00
Reinhard Pointner
be08a2a050 * remove annoying logging 2012-06-01 02:31:17 +00:00
Reinhard Pointner
19b6dd47d2 * fix syntax error 2012-05-31 12:08:13 +00:00
Reinhard Pointner
dd3f7e64b2 + hide "Override Extension" feature because people seem to activate it by mistake and then complain file extensions are being overriden 2012-05-31 11:47:30 +00:00
Reinhard Pointner
6ba1626666 * added "series X episode Y" as recognized pattern 2012-05-30 03:02:26 +00:00
Reinhard Pointner
c64d44cbad + release r993 2012-05-02 06:02:56 +00:00
Reinhard Pointner
f76ea32e10 * fixed bug that caused [.rar, .r00, .r01, ...] to be ignored 2012-05-02 02:40:21 +00:00
Reinhard Pointner
1f10c59364 * extract: make --output path relative to archive file 2012-05-01 16:33:55 +00:00
Reinhard Pointner
36a7eb5e5a * allow direct mapping of nfos to movies in the same folder as well as subfolders 2012-04-29 05:59:12 +00:00
Reinhard Pointner
077db7af74 * include(script) method for scripting
* fn:script handler for scripting
* completed the utorrent-postprocess script with artwork/nfo/subtitles/etc
* minor bugfixes
2012-04-29 05:28:38 +00:00
Reinhard Pointner
a7104877bb * display only relevant info in dialog title 2012-04-28 18:13:22 +00:00
Reinhard Pointner
cfc52cd215 * a little bit more robust movie-detection 2012-04-28 17:46:46 +00:00
Reinhard Pointner
7a355d676f * added a groovy sample post-processing script for utorrent 2012-04-26 11:25:58 +00:00
Reinhard Pointner
999045765a * update filetype and release-group data 2012-04-22 18:09:55 +00:00
Reinhard Pointner
f84f62b6fd * more fault-tolerant on headless systems 2012-04-16 12:28:04 +00:00
Reinhard Pointner
30a2d5153c * disable filename validation against characters not support by Windows via -Dunixfs=true 2012-04-15 15:38:59 +00:00
Reinhard Pointner
7b82fce064 * allow passing of variables directly into the groovy shell 2012-04-15 15:14:53 +00:00
Reinhard Pointner
4b50c9b042 * make strict -rename movie mode more flexible 2012-04-13 17:52:49 +00:00
Reinhard Pointner
07e0b20dc1 * ignore missing episode lists and continue 2012-04-13 01:56:22 +00:00
Reinhard Pointner
7ba5bb52d9 * don't clean up part identifier from title for single episodes
* remember manual input
2012-04-10 01:19:34 +00:00
Reinhard Pointner
ec796fc478 * fix local file script call
* stop any unnecessary scraping of subscene
2012-04-09 14:37:16 +00:00
Reinhard Pointner
32b2d35e0c * turn off annoying gat background logging 2012-04-09 13:38:23 +00:00
Reinhard Pointner
a295f24645 * Scala-style switch/case pattern matching for format engine 2012-04-08 15:52:21 +00:00
Reinhard Pointner
4521ee16b4 * added flood limit to TheMovieDB 2012-04-08 08:41:48 +00:00
Reinhard Pointner
596471c885 * make cmdline scripting more flexible (allow system://in and script://<expression>) 2012-04-06 04:50:46 +00:00
Reinhard Pointner
4d037086a9 * added .3gp as video type 2012-04-02 12:02:26 +00:00
Reinhard Pointner
8f193afdef * make -get-subtitles more fault-tolerant 2012-03-31 01:42:35 +00:00