summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreferencesController.m
diff options
context:
space:
mode:
authorMatthew Lazarow <[email protected]>2018-08-13 15:56:01 -0400
committerScott <[email protected]>2018-08-13 20:56:01 +0100
commita9daef1e18b93f793479155210110322234bb655 (patch)
tree0bd762a171c18d9999ec13dfc65f025f1e7db160 /macosx/HBPreferencesController.m
parent223dc7bd007bfd665948f7e11a9f4681d580cb35 (diff)
Autoname creation date
Adds {creation-date} and {creation-time} templates to autoname preference option.
Diffstat (limited to 'macosx/HBPreferencesController.m')
-rw-r--r--macosx/HBPreferencesController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m
index aa02821f6..3f66bd717 100644
--- a/macosx/HBPreferencesController.m
+++ b/macosx/HBPreferencesController.m
@@ -122,7 +122,7 @@
[self.formatTokenField setTokenizingCharacterSet:[NSCharacterSet characterSetWithCharactersInString:@"%%"]];
[self.formatTokenField setCompletionDelay:0.2];
- _buildInFormatTokens = @[@"{Source}", @"{Title}", @"{Date}", @"{Time}", @"{Chapters}", @"{Quality/Bitrate}"];
+ _buildInFormatTokens = @[@"{Source}", @"{Title}", @"{Date}", @"{Time}", @"{Creation-Date}", @"{Creation-Time}", @"{Chapters}", @"{Quality/Bitrate}"];
[self.builtInTokenField setTokenizingCharacterSet:[NSCharacterSet characterSetWithCharactersInString:@"%%"]];
[self.builtInTokenField setStringValue:[self.buildInFormatTokens componentsJoinedByString:@"%%"]];