1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 16:58:51 -05:00
Commit Graph

1076 Commits

Author SHA1 Message Date
Reinhard Pointner
4063f57e54 * easy way for accessing optional --def variables via _def.name 2012-10-29 14:46:25 +00:00
Reinhard Pointner
99a2013153 * added retry { ... } construct 2012-10-28 15:01:31 +00:00
Reinhard Pointner
c6daa17f60 * make absolutely sure state is reset before building the new popup 2012-10-28 06:36:07 +00:00
Reinhard Pointner
b6fd00cae6 * show recent formats via right-click as well as DOWN as a work-around for Mac 2012-10-28 03:54:43 +00:00
Reinhard Pointner
1372944851 * try to fix Mac keyEvent issues 2012-10-28 03:36:36 +00:00
Reinhard Pointner
c6433e5c81 * fix possible cache startup race conditions 2012-10-28 02:52:49 +00:00
Reinhard Pointner
e277ea2af3 * auto-shutdown ehcache (so it's only shut down if it has been initialized before) 2012-10-27 06:34:22 +00:00
Reinhard Pointner
c0828bb8a5 * adjusted initial window size for Mac 2012-10-27 06:16:24 +00:00
Reinhard Pointner
06edf38d3f * allow to use xattr metaobject as template for testing format expressions against 2012-10-27 04:57:24 +00:00
Reinhard Pointner
130fd657c0 * try to fix KeyStroke action for Mac 2012-10-27 03:29:45 +00:00
Reinhard Pointner
7ac1eeb5a4 * respect xattr settings 2012-10-26 19:13:08 +00:00
Reinhard Pointner
1a65d31d60 * fix {imdb.released} problems 2012-10-26 10:17:23 +00:00
Reinhard Pointner
e3dde62618 * revert back to imdbapi code since it's been moved and renamed to omdbapi 2012-10-26 09:57:28 +00:00
Reinhard Pointner
649a9f1e4d * added null checks and make sure to verify serienjunkies data 2012-10-25 19:28:30 +00:00
Reinhard Pointner
aa9cccc285 * fix SerienJunkies NPE problems 2012-10-25 16:20:50 +00:00
Reinhard Pointner
bfe4add9ab * use MetaAttributes for matching only when enabled via system properties 2012-10-25 16:19:53 +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
d0194aae25 * improved error handling if xattr/createDate are not supported 2012-10-24 12:56:27 +00:00
Reinhard Pointner
cb4f1251bf * gracefully ignore if creationTime not supported on the given OS 2012-10-24 12:16:56 +00:00
Reinhard Pointner
c2398cc6b0 * make use of original-filename xattr in {source} and {group} bindings 2012-10-24 11:57:36 +00:00
Reinhard Pointner
2d9242a13b * fine-tune xattr related logging and standard settings 2012-10-24 10:10:03 +00:00
Reinhard Pointner
2d3b6cf3a4 * save metadata as extended file attributes for each file
* set file creation date to episode/movie release date
2012-10-23 19:05:55 +00:00
Reinhard Pointner
0b4b353912 * special case for movie detection in folder-mode that should eliminate many possible (possible in folder mode anyway) false positives 2012-10-22 12:49:12 +00:00
Reinhard Pointner
b638092409 * tuned basic -rename series/movie-mode decision logic
* update fn:renall to support --def target=folder option to easily rename folders specifically (only works for movie mode)
2012-10-22 12:31:15 +00:00
Reinhard Pointner
89aa1c5b91 + added special handling to enable LINK-Drop as "Do-not-resolve-Folders-to-Files-Drop" 2012-10-22 09:01:50 +00:00
Reinhard Pointner
c4082db18d JNAs Platform might throw an LinkageError in it's initializer when used on certain headless platform, make sure to gracefully ignore any and all errors caused by JNAs Platform. 2012-10-22 02:46:46 +00:00
Reinhard Pointner
417d1f6256 * workaround ehcache bug that causes it to crash on startup if there is an xml entity like & in the system property. Oddly enough this can be fixed by just not using the system property syntax 2012-10-21 16:19:52 +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
04b6d25030 * forgot about MultiEpisode type Episode objects... 2012-10-15 18:04:38 +00:00
Reinhard Pointner
e9cada4393 * merge specials into first SxE group 2012-10-15 14:40:44 +00:00
Reinhard Pointner
c60ce414f9 * fix listitem duplication bug 2012-10-15 13:48:14 +00:00
Reinhard Pointner
bd6d1d4659 * make TheTVDB local search more restrictive 2012-10-14 12:13:45 +00:00
Reinhard Pointner
caafbca373 + TheTVDB: extend API search with LocalSearch from cached database index 2012-10-14 11:57:25 +00:00
Reinhard Pointner
d4a365af5c * clean-up and little tweaks 2012-10-14 04:30:52 +00:00
Reinhard Pointner
f50e0450c6 * helper for enforcing filename length limits 2012-10-10 16:15:04 +00:00
Reinhard Pointner
03ab54ddcc * fck osdb moviehash collisions 2012-10-09 17:36:21 +00:00
Reinhard Pointner
ac90b544bb + basic logic for hard-coding filename->series lookup (designed primarily as a workaround for database search limitations and issues) 2012-10-09 15:04:14 +00:00
Reinhard Pointner
03cb4febd1 * exclude episodes without airdate data from ReleaseDate metric matching step 2012-10-09 15:00:21 +00:00
Reinhard Pointner
a248021ebf + ReleaseDate metric matching step for differentiating multiple shows with the same name, usually nudging things towards the more recent episode/series. 2012-10-09 13:30:32 +00:00
Reinhard Pointner
bf6cccfbbb * hard-code highlight colors 2012-10-08 12:42:23 +00:00
Reinhard Pointner
a8bec2fb09 * support DELETE button on OSX (which is actually BACK_SPACE) 2012-10-06 15:19:50 +00:00
Reinhard Pointner
ee6ff94c85 * no long support the {imdb.name} binding that doesn't work stable anyway 2012-09-27 14:26:23 +00:00
Reinhard Pointner
639fc97b51 + added ed2k hash support to SFV panel (special thanks to thraash) 2012-09-26 16:09:00 +00:00
Reinhard Pointner
cc5aec8374 * fixfix 2012-09-26 01:00:36 +00:00
Reinhard Pointner
79b58654ca * fix type panel NPE that crashed it 2012-09-17 15:22:23 +00:00
Reinhard Pointner
b97f509e19 * allow SSxEx pattern 2012-09-17 05:35:02 +00:00
Reinhard Pointner
2631ceda0a * make sure special episodes are matched to S00Exx files 2012-09-08 07:25:18 +00:00
Reinhard Pointner
233f4c1aac * fix watch service problems as far as possible (still might miss some changes for unkown reasons...) 2012-09-02 05:58:47 +00:00
Reinhard Pointner
4fb02fe187 * force proper return value for custom closure 2012-08-27 11:21:11 +00:00
Reinhard Pointner
92ca448eb6 * don't check trusted/non-trusted in scripting interface 2012-08-19 03:04:57 +00:00
Reinhard Pointner
f3dda44f8c * set unixfs system property via filebot option -unixfs rather than -Dunixfs=true in the startup scripts 2012-08-15 10:47:46 +00:00
Reinhard Pointner
2834fa76d5 * fix problems with files not being cleared after rename/copy via native integration 2012-08-13 05:58:27 +00:00
Reinhard Pointner
1ab5c7d75d * don't delete cache/temp folders because deleting the temp folder would later crash ImageIO if java.io.tmpdir doesn't exist 2012-08-11 14:23:16 +00:00
Reinhard Pointner
03c31459a4 * make sure java.io.tmpdir exists, ImageIO crashes the filebot startup sequence if it doesn't 2012-08-11 12:26:00 +00:00
Reinhard Pointner
d56f19f9c3 * fix -script g:code URI encoding problems 2012-08-11 12:23:30 +00:00
Reinhard Pointner
b5cdd5fd63 * ignore double click action if nothing is selected 2012-08-11 06:48:54 +00:00
Reinhard Pointner
0eda51b0ac * initial commit for 3.0 2012-08-11 02:40:25 +00:00
Reinhard Pointner
33d2ce4dfd * switch to http://www.deanclatworthy.com/imdb/ because fucking IMDb shut down IMDBAPI.com 2012-08-11 02:37:43 +00:00
Reinhard Pointner
ae528b5c96 * added matchAll to make it easy to match multiple regex matches 2012-08-09 05:11:59 +00:00
Reinhard Pointner
acf5ad8aba * make match() case insensitive by default 2012-08-08 10:45:11 +00:00
Reinhard Pointner
999f53a6d3 * function for disk folder detection
* more default excludes for utorrent-postprocess
* blacklist genre folders
2012-08-05 01:55:14 +00:00
Reinhard Pointner
42ecf32100 * extract only archives that contain at least one video file 2012-07-31 16:17:15 +00:00
Reinhard Pointner
87cfae4c76 * added <sortitle> (set :: name :: year) to .nfo files
* make sure everything is trimmed
2012-07-31 07:46:33 +00:00
Reinhard Pointner
0cb56f905d * utorrent integration: + fancy notification mails + force movie/series/anime + basic anime support (no auto-detection, only if forced) 2012-07-30 16:59:09 +00:00
Reinhard Pointner
14e4b86344 * include MediaInfo data when creating nfo files 2012-07-30 12:05:18 +00:00
Reinhard Pointner
f56010bcd1 * infer media info bindings from just any video file if necessary 2012-07-29 12:42:05 +00:00
Reinhard Pointner
100d5c5a4f * restrict imdb language prefs to "international" titles (basically only english) 2012-07-29 11:41:49 +00:00
Reinhard Pointner
397cec83d5 * ignore invalid movies 2012-07-29 08:49:13 +00:00
Reinhard Pointner
859564bc15 * setup double-click actions for files (reveal in explorer) and movies (open tmdb/imdb page) 2012-07-29 08:30:33 +00:00
Reinhard Pointner
3ba2b40327 * auto-detect queries only from video files 2012-07-29 06:31:56 +00:00
Reinhard Pointner
dfc6fa7419 * automatically resolve relative script paths against the original base url 2012-07-29 06:09:21 +00:00
Reinhard Pointner
6d341807d4 * simplify syntax for passing in script variables
=> changed -Xa=x -Xb=y... to --def a=x b=y ...
2012-07-28 21:17:29 +00:00
Reinhard Pointner
ce5ac2dec2 * simplify 2012-07-28 21:11:03 +00:00
Reinhard Pointner
e6260ef0f9 * maybe a bad idea to delete any hidden folders... delete my .svn folder... limit cleanup to cache|temp|grape so nothing unexpected ever gets deleted 2012-07-28 20:55:20 +00:00
Reinhard Pointner
5dbd5b7c6d * fixfix 2012-07-28 12:00:40 +00:00
Reinhard Pointner
fa28b23a56 * fixfix 2012-07-28 11:01:29 +00:00
Reinhard Pointner
d9d8e5ab75 * special handling for disk folders 2012-07-28 10:57:50 +00:00
Reinhard Pointner
07f44e13c9 * special handling for disk folders 2012-07-28 10:54:41 +00:00
Reinhard Pointner
5a6a5dcdd0 * extra data for nfos
* fanart from FanartTV
* notify xmbc or plex in utorrent script
2012-07-28 10:21:30 +00:00
Reinhard Pointner
ae6a2cb0ae * make sure each filebot instance gets it's own locked ehcache dir 2012-07-28 10:04:52 +00:00
Reinhard Pointner
01d7650e9b * make Movie hashcode/equals case-insensitive 2012-07-27 07:48:17 +00:00
Reinhard Pointner
6b6d7e380d * remember select dialog size 2012-07-27 07:17:21 +00:00
Reinhard Pointner
6579d8ce1d * handle folders that contain a movie.nfo files same as diskfolders => rename/move the whole folder 2012-07-27 06:59:38 +00:00
Reinhard Pointner
5e359d0b11 * improved movie detection (e.g. take folder name better into account) 2012-07-27 02:03:44 +00:00
Reinhard Pointner
7d1fa79855 * support inferred media file for folder types => use first child video file
* auto-clean path separators / \ from binding results
2012-07-26 18:25:44 +00:00
Reinhard Pointner
493eabb215 * osdb might cache many many hash lookup results, so lets allow a huge number of cache elements be written to disk 2012-07-26 11:14:31 +00:00
Reinhard Pointner
1222aa11a6 * tested OSDB cashing and it works very well 2012-07-26 11:09:42 +00:00
Reinhard Pointner
3f9c0ab67e * switch to using an online exclude pattern list that can be updated anytime for everybody 2012-07-26 08:45:15 +00:00
Reinhard Pointner
e3fde5f139 * improved error messages 2012-07-26 08:40:20 +00:00
Reinhard Pointner
45c773855a * if updating cached data doesn't work, make due with what we have 2012-07-26 08:36:53 +00:00
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