summaryrefslogtreecommitdiffstats
path: root/macosx/HBTitle.h
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/HBTitle.h
parent223dc7bd007bfd665948f7e11a9f4681d580cb35 (diff)
Autoname creation date
Adds {creation-date} and {creation-time} templates to autoname preference option.
Diffstat (limited to 'macosx/HBTitle.h')
-rw-r--r--macosx/HBTitle.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/macosx/HBTitle.h b/macosx/HBTitle.h
index 79869ea20..3979b6d4c 100644
--- a/macosx/HBTitle.h
+++ b/macosx/HBTitle.h
@@ -11,6 +11,21 @@ NS_ASSUME_NONNULL_BEGIN
@class HBChapter;
@class HBPreset;
+@interface HBMetadata : NSObject
+
+@property (nonatomic, readonly, nullable) NSString *name;
+@property (nonatomic, readonly, nullable) NSString *artist;
+@property (nonatomic, readonly, nullable) NSString *composer;
+@property (nonatomic, readonly, nullable) NSString *releaseDate;
+@property (nonatomic, readonly, nullable) NSString *comment;
+@property (nonatomic, readonly, nullable) NSString *album;
+@property (nonatomic, readonly, nullable) NSString *albumArtist;
+@property (nonatomic, readonly, nullable) NSString *genre;
+@property (nonatomic, readonly, nullable) NSString *description;
+@property (nonatomic, readonly, nullable) NSString *longDescription;
+
+@end
+
/**
* HBTitles is an interface to the low-level hb_title_t.
* the properties are lazy-loaded.
@@ -46,6 +61,8 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic, readonly) NSArray<NSDictionary<NSString *, id> *> *subtitlesTracks;
@property (nonatomic, readonly) NSArray<HBChapter *> *chapters;
+@property (nonatomic, readonly) HBMetadata *metadata;
+
@end
NS_ASSUME_NONNULL_END