1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-26 01:38:57 -05:00
Commit Graph

3163 Commits

Author SHA1 Message Date
Reinhard Pointner
42305c0df6 Port to MigLayout 5.0 2016-10-17 03:11:02 +08:00
Reinhard Pointner
32a1d60e7b Fix potential NPE
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=4234&p=23851#p23851
2016-10-17 02:41:33 +08:00
Reinhard Pointner
23542c58c5 Fix potential NPE
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=4234&p=23851#p23851
2016-10-17 02:37:36 +08:00
Reinhard Pointner
d7215de8c5 Port to MigLayout 5.0 2016-10-16 17:50:56 +08:00
Reinhard Pointner
f1bf5e798f Fix NPE bug 2016-10-16 17:44:26 +08:00
Reinhard Pointner
18ce7c0096 Port to MigLayout 5.0 2016-10-16 17:34:31 +08:00
Reinhard Pointner
9b13064e62 preload data files 2016-10-16 17:34:10 +08:00
Reinhard Pointner
8c4c9a46ba Port to MigLayout 5.0 2016-10-16 16:49:06 +08:00
Reinhard Pointner
b32fc0c35f Avoid unnecessary error messages 2016-10-16 16:38:28 +08:00
Reinhard Pointner
1363389b60 preload data files 2016-10-16 15:46:42 +08:00
Reinhard Pointner
e119d00b52 Pass Closure as FileFilter 2016-10-16 01:11:53 +08:00
Reinhard Pointner
618832f092 Added e00 convenience binding 2016-10-15 02:16:39 +08:00
Reinhard Pointner
0fb7f80a79 Added e00 convenience binding 2016-10-15 02:10:47 +08:00
Reinhard Pointner
c402511f56 Added static convenience method for command-line escaping arguments (e.g. filebot/amc --def exec option)
e.g. quote(f) => "/path/to/file"
2016-10-14 02:30:21 +08:00
Reinhard Pointner
372bbcd5be Use Wait Cursor when loading/filtering files (can take a while because of listing files or because of loading Groovy classes) 2016-10-14 01:07:13 +08:00
Reinhard Pointner
40f19f22b1 Use Wait Cursor when loading/filtering files (can take a while because of listing files or because of loading Groovy classes) 2016-10-14 00:25:43 +08:00
Reinhard Pointner
956e284b11 Refactor ExpressionFormatMethods 2016-10-12 04:56:56 +08:00
Reinhard Pointner
2cdebbfbd1 Use expression unwind behaviour (i.e. throw exceptions) in check / joining / joiningDistinct 2016-10-10 21:31:39 +08:00
Reinhard Pointner
2e5484d2ec Use expression unwind behaviour (i.e. throw exceptions) in check / joining / joiningDistinct 2016-10-10 21:29:55 +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
f7a69ab559 Show Please install JavaFX error popup on startup if JavaFX is not installed 2016-10-10 14:05:00 +08:00
Reinhard Pointner
42459b5c45 Added File.div(File) to support plex[0]/az/plex[1..-1] style formats 2016-10-10 05:39:25 +08:00
Reinhard Pointner
ae723574b9 com.cedarsoftware.util.io.JsonReader requires a public constructor with no arguments (otherwise it'll try to find another constructor and call it with default values, e.g. null may change to 0) 2016-10-10 05:15:47 +08:00
Reinhard Pointner
35c6c33941 Remove unused methods 2016-10-09 19:10:21 +08:00
Reinhard Pointner
cd2e0c0478 Added binding mediaPath for relative media path 2016-10-09 18:40:05 +08:00
Reinhard Pointner
8f1969b50b Added binding path for relative media path 2016-10-09 18:33:34 +08:00
Reinhard Pointner
4833391729 com.cedarsoftware.util.io.JsonReader requires a public constructor with no arguments (otherwise it'll try to find another constructor and call it with default values, e.g. null may change to 0) 2016-10-09 17:39:04 +08:00
Reinhard Pointner
fe30f8a8d5 Refactor Movie (use 0 as undefined ID) 2016-10-09 16:19:39 +08:00
Reinhard Pointner
37cdce1111 JSON_TYPE_MAP 2016-10-09 04:02:54 +08:00
Reinhard Pointner
202c9d2dd5 SKIP_NULL_FIELDS / MetaAttributes.toJson() / MetaAttributes.toObject() 2016-10-09 03:55:45 +08:00
Reinhard Pointner
b9f0a9ef0e Minor optimizations 2016-10-09 03:16:32 +08:00
Reinhard Pointner
6c98f249d1 Minor optimizations 2016-10-09 03:14:09 +08:00
Reinhard Pointner
fb8d6bd64c SwingUI.copyToClipboard(String text) 2016-10-09 00:30:29 +08:00
Reinhard Pointner
e3fbd3825f SwingUI.copyToClipboard(String text) 2016-10-09 00:28:40 +08:00
Reinhard Pointner
8b3e2825be Press F7 to Copy Debug Information 2016-10-09 00:23:06 +08:00
Reinhard Pointner
8ee1b06b3a Minor optimizations 2016-10-08 23:56:47 +08:00
Reinhard Pointner
5ca51e1d7d Minor optimizations 2016-10-08 23:56:29 +08:00
Reinhard Pointner
db85b77dad Added List.joining(delim, prefix, suffix) convenience method 2016-10-08 23:13:07 +08:00
Reinhard Pointner
845dc26c83 Minor optimizations 2016-10-08 05:45:31 +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
f6a473a816 Minor optimizations 2016-10-07 01:47:10 +08:00
Reinhard Pointner
f7d45346fd Minor optimizations 2016-10-07 01:46:37 +08:00
Reinhard Pointner
297a69be33 Minor optimizations 2016-10-07 00:56:52 +08:00
Reinhard Pointner
14e87227bc Update filebot -help 2016-10-06 12:45:04 +08:00
Reinhard Pointner
b4be431035 Experiment with appx build 2016-10-05 21:48:59 +08:00
Reinhard Pointner
2d0a16688e Support "Generic File" renaming via the command-line tools by using --db xattr -non-strict so that only xattr-tagged files are processed in strict mode, but any generic file can be processed in non-strict mode (File object is used in absence of Episode/Movie object) 2016-10-05 15:00:03 +08:00
Reinhard Pointner
bbc1bef181 Ignore hidden files by default (fix regression issue) 2016-10-05 14:56:33 +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
55d06dc87d Read MBID from ID3 Tags if possible 2016-10-05 02:27:35 +08:00
Reinhard Pointner
3f7c985db5 Map {id} to MusicBrainz ID for AudioTrack objects 2016-10-05 02:11:18 +08:00
Reinhard Pointner
850818373d Use HUMAN_NAME_ORDER for args file listing 2016-10-04 23:47:51 +08:00
Reinhard Pointner
89a48c26a1 ignore empty arguments 2016-10-04 23:47:10 +08:00
Reinhard Pointner
892e56a246 account for {n}/{s00e00} folder structure (e.g. Firefly/S01E01 - Pilot) 2016-10-03 13:29:01 +08:00
Reinhard Pointner
9c1b19d43f Use static Pattern 2016-10-02 01:24:33 +08:00
Reinhard Pointner
34e20b5f47 Fix for unexpected Channels MediaInfo values
@see https://www.filebot.net/forums/viewtopic.php?f=6&t=4182
2016-10-02 01:10:23 +08:00
Reinhard Pointner
bc421e6b8a Make sure to load Groovy (i.e don't just use simple variables) before displaying the Format Editor window 2016-10-01 01:50:26 +08:00
Reinhard Pointner
527cd91a0d Let Groovy deal with Java keywords like null, case, etc 2016-10-01 01:49:24 +08:00
Reinhard Pointner
a589cb1dcd Access simple bindings directly instead of accessing them via the Groovy engine 2016-10-01 01:41:30 +08:00
Reinhard Pointner
7afe232264 Access simple bindings directly instead of accessing them via the Groovy engine 2016-10-01 01:18:44 +08:00
Reinhard Pointner
9209349f0c Refactor FAIL 2016-10-01 01:17:11 +08:00
Reinhard Pointner
5a2087c2b4 Use human sort order for all paths loaded into the UI 2016-09-29 13:45:42 +08:00
Reinhard Pointner
5b290cf0ae Refactor 2016-09-29 13:45:15 +08:00
Reinhard Pointner
e3fe2fd094 CASE_INSENSITIVE_PATH_ORDER
HUMAN_NAME_ORDER
2016-09-29 12:17:34 +08:00
Reinhard Pointner
56316af826 Use human sort order for all paths loaded into the UI 2016-09-29 02:12:29 +08:00
Reinhard Pointner
1743884c17 Use human sort order for all paths loaded into the UI 2016-09-29 02:02:59 +08:00
Reinhard Pointner
8efd30ab38 Use human sort order for all paths loaded into the UI 2016-09-28 23:40:41 +08:00
Reinhard Pointner
6094599436 Fix ListPanel issues 2016-09-28 23:31:17 +08:00
Reinhard Pointner
846e4166ed Use human sort order for all paths loaded into the UI 2016-09-28 23:09:38 +08:00
Reinhard Pointner
aea553b154 Use human sort order for all paths loaded into the UI 2016-09-28 20:25:11 +08:00
Reinhard Pointner
99ad431994 Load files in Human Sort Order as well when dropping them into the "New Names" list 2016-09-28 15:16:13 +08:00
Reinhard Pointner
d829ef97c8 Refactor 2016-09-28 13:34:04 +08:00
Reinhard Pointner
b1a30e4bc3 List files in human order (Original Files area only)
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=4174
@see http://stackoverflow.com/questions/12640280/looking-for-a-combination-of-alphabetical-and-natural-order-aka-user-sane-sort
2016-09-28 13:19:20 +08:00
Reinhard Pointner
477aa7019c Fix English 2016-09-28 13:14:42 +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
dc27cc9428 Refactor ResourceManager 2016-09-26 16:17:00 +08:00
Reinhard Pointner
da885fd5f2 Make sure that notification boundaries don't exceed screen bounds 2016-09-26 16:16:33 +08:00
Reinhard Pointner
4b44495782 Copy error messages to clipboard on click 2016-09-26 16:15:37 +08:00
Reinhard Pointner
61e78ec16b Use indirect links in application bundles 2016-09-26 01:33:36 +08:00
Reinhard Pointner
8d1478c830 {tags} now supports "Ultimate Directors Cut" kind of patterns
@see https://www.filebot.net/forums/viewtopic.php?f=5&t=4167
2016-09-25 19:56:17 +08:00
Reinhard Pointner
9e70409ab2 Fix various HistorySpooler issues 2016-09-24 19:51:03 +08:00
Reinhard Pointner
5e3cce10f4 Update to libmediainfo 0.7.88 2016-09-23 23:57:47 +08:00
Reinhard Pointner
6f0791a6a8 Import <Airs_Time> from XML series record
@see https://www.filebot.net/forums/viewtopic.php?f=4&t=3891&p=23354#p23354
2016-09-23 02:30:57 +08:00
Reinhard Pointner
2cbdd095c2 Support for Despecialized in {tags} 2016-09-21 00:48:32 +08:00
Reinhard Pointner
0bd6625095 Refactor SupportDialog 2016-09-20 15:32:50 +08:00
Reinhard Pointner
d745be08ab Helper for adding custom tags to the standard Plex name (after name but before subtitle language tag)
e.g. plex.derive{" by $director"}{" [$vc, $ac]"}
2016-09-20 13:56:10 +08:00
Reinhard Pointner
2ce5fb1343 Refactor ReleaseInfo 2016-09-20 13:10:31 +08:00
Reinhard Pointner
de21009913 Revise SupportDialog behaviour 2016-09-20 00:24:15 +08:00
Reinhard Pointner
84d5cfbb9d Update deployment properties 2016-09-19 15:00:18 +08:00
Reinhard Pointner
bf1776942b Fix default window size issues (on Windows 10) 2016-09-19 06:57:38 +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
b6a0ad5d17 Update SupportDialog behaviour 2016-09-16 23:34:39 +08:00
Reinhard Pointner
536a8c3a3a Fix --conflict auto issue (PROPER/REPACK)
@see https://www.filebot.net/forums/viewtopic.php?f=10&t=4131
2016-09-16 13:28:02 +08:00
Reinhard Pointner
6a19f83539 Avoid bad position issues 2016-09-11 11:10:51 +08:00
Reinhard Pointner
098491bb7f Internal support for language+country locale-specific TheMovieDB data 2016-09-10 01:33:40 +08:00
Reinhard Pointner
b2d2df1883 Try fix java.lang.IncompatibleClassChangeError: vtable stub 2016-09-09 13:03:46 +08:00
Reinhard Pointner
6602af3f91 Refactor HighPerformanceMatcher into separate class files 2016-09-08 16:40:08 +08:00
Reinhard Pointner
0472084dc7 Check if file name matches a language name (e.g. English.srt) 2016-09-08 16:27:45 +08:00
Reinhard Pointner
81d9b6a2f6 Improved movie grouping for subtitle files 2016-09-08 10:58:10 +08:00
Reinhard Pointner
46a181b9b1 getMirror must not return null 2016-09-04 00:40:23 +08:00
Reinhard Pointner
2210fbca9d Make sure file handles are closed immediately 2016-08-24 03:27:27 +08:00
Reinhard Pointner
d5cf630fe5 Fix non-strict isMovie check 2016-08-24 03:25:50 +08:00
Reinhard Pointner
8464020de4 Improved single/multi episode title default format {t} 2016-08-23 13:07:43 +08:00
Reinhard Pointner
aab1c33859 Improved single/multi episode title default format {t} 2016-08-23 12:58:27 +08:00
Reinhard Pointner
bdc81b3501 Fix inconsistent SubstringFields metric behaviour 2016-08-23 00:51:47 +08:00
Reinhard Pointner
90e1846dc5 Look up season numbers via TheTVDB for AniDB episode data 2016-08-22 09:02:43 +08:00
Reinhard Pointner
6f675d42cb Improved conflict dialog 2016-08-18 01:11:23 +08:00
Reinhard Pointner
800d61543b Refactor Ep\EpisodeMetrics 2016-08-17 15:23:09 +08:00
Reinhard Pointner
13e6360c4d Java 8 Refactoring 2016-08-17 05:37:59 +08:00
Reinhard Pointner
95427f05b3 Improved conflict dialog 2016-08-17 05:27:11 +08:00
Reinhard Pointner
51bc124062 Refactor ValidateDialog 2016-08-17 05:24:27 +08:00
Reinhard Pointner
ad4befb36b Use new ConflictDialog in RenameAction 2016-08-17 03:37:30 +08:00
Reinhard Pointner
049d84fa6b We can only reveal / select one file per revealed folder 2016-08-17 03:36:01 +08:00
Reinhard Pointner
fc73de25d7 Refactor trash(File) 2016-08-17 03:11:56 +08:00
Reinhard Pointner
150ce19092 Refactor RenameWorkers 2016-08-17 02:32:25 +08:00
Reinhard Pointner
08c6382839 Refactor Presets and enable keyboard shortcuts for Presets 1..9 via number keys 2016-08-17 02:19:57 +08:00
Reinhard Pointner
ab2aeee4f1 Improved conflict dialog 2016-08-16 23:42:23 +08:00
Reinhard Pointner
226559683b compatibility constructor for sysinfo.groovy script 2016-08-15 22:14:03 +08:00
Reinhard Pointner
2bcb574f28 Fix FormatDialog background color issues 2016-08-15 03:06:38 +08:00
Reinhard Pointner
76619dbfdf Refactor NativeRenameAction 2016-08-15 02:55:05 +08:00
Reinhard Pointner
d06352e507 Simplify json xattr metadata 2016-08-13 23:07:24 +08:00
Reinhard Pointner
53c0e6593d Improved disk folder detection for incomplete DVD folders 2016-08-12 21:04:49 +08:00
Reinhard Pointner
fd4778ba8a Replace ":" with " - " when using {plex} 2016-08-12 03:33:05 +08:00
Reinhard Pointner
2a2fee18bb Fix retry behaviour [CRITICAL] 2016-08-12 03:04:17 +08:00
Reinhard Pointner
c34411f0c1 Resolve poster movie info only when full metainfo is requested 2016-08-12 03:03:27 +08:00
Reinhard Pointner
e6f57fa3a6 Fix {info.poster} 2016-08-12 02:04:41 +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
cd01fe26bf Better error message when bad --q parameter is passed 2016-08-11 19:27:05 +08:00
Reinhard Pointner
49e82b7824 Minor refactoring and UI optimizations 2016-08-11 10:45:43 +08:00
Reinhard Pointner
e6a36a2e88 Minor refactoring and UI optimizations 2016-08-11 10:19:12 +08:00
Reinhard Pointner
824ce14c62 Refactor Presets and enable keyboard shortcuts for Presets 1..9 via number keys 2016-08-11 07:06:18 +08:00
Reinhard Pointner
dcfcc91090 Refactor JavaFX UserFiles 2016-08-11 03:54:27 +08:00
Reinhard Pointner
985556b3f2 Allow paste of multi-line expression formats 2016-08-10 21:01:05 +08:00
Reinhard Pointner
0ae7161b47 Strip newline characters from format expression results 2016-08-10 21:00:27 +08:00
Reinhard Pointner
5818685e1f Hide "Count" column in HistoryDialog 2016-08-10 19:37:27 +08:00
Reinhard Pointner
cf4314708a Change button label 2016-08-10 19:25:47 +08:00
Reinhard Pointner
d92b67396e Fix {sy} issues 2016-08-10 19:11:23 +08:00
Reinhard Pointner
4b25cd6983 Refactor LazyDocumentListener 2016-08-10 18:43:26 +08:00
Reinhard Pointner
7ac41d2c36 Allow paste of multi-line expression formats 2016-08-10 18:25:32 +08:00
Reinhard Pointner
135c28d456 Refactor FormatDialog 2016-08-10 18:10:05 +08:00
Reinhard Pointner
3ca390678d readXml helper function 2016-08-10 17:53:52 +08:00
Reinhard Pointner
3529f11cc2 Try to fix FormatDialog editable issues 2016-08-10 07:52:58 +08:00
Reinhard Pointner
67a884f03c Throw IOException if server sends bad response data 2016-08-10 06:34:31 +08:00
Reinhard Pointner
7dd1898761 Refactor SimpleDate 2016-08-10 06:05:27 +08:00