Remove a dependency on MP42Metadata.
This commit is contained in:
1 parent
e22d91be80
commit
4de9b53874
18 files changed
+336
-159
No files matched your search
@@ -0,0 +1,55 @@
|
||||
//
|
||||
// SBMetadataResult.h
|
||||
// Subler
|
||||
//
|
||||
// Created by Damiano Galassi on 17/02/16.
|
||||
//
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MP42Image;
|
||||
@class MP42Metadata;
|
||||
|
||||
@interface SBMetadataResult : NSObject {
|
||||
@private
|
||||
NSMutableDictionary<NSString *, id> *_tagsDict;
|
||||
|
||||
NSMutableArray<MP42Image *> *_artworks;
|
||||
|
||||
NSArray<NSURL *> *_artworkThumbURLs;
|
||||
NSArray<NSURL *> *_artworkFullsizeURLs;
|
||||
NSArray<NSString *> *_artworkProviderNames;
|
||||
|
||||
NSString *_ratingiTunesCode;
|
||||
|
||||
uint8_t _mediaKind;
|
||||
uint8_t _contentRating;
|
||||
}
|
||||
|
||||
- (void)merge:(SBMetadataResult *)aObject;
|
||||
|
||||
- (void)removeTagForKey:(NSString *)aKey;
|
||||
- (void)setTag:(id)value forKey:(NSString *)key;
|
||||
|
||||
- (nullable id)objectForKeyedSubscript:(NSString *)key;
|
||||
- (void)setObject:(id)obj forKeyedSubscript:(NSString *)key;
|
||||
|
||||
@property (nonatomic, readonly) NSMutableDictionary<NSString *, id> *tags;
|
||||
|
||||
@property (nonatomic, readwrite) uint8_t mediaKind;
|
||||
@property (nonatomic, readwrite) uint8_t contentRating;
|
||||
|
||||
@property (nonatomic, readonly) NSMutableArray<MP42Image *> *artworks;
|
||||
|
||||
@property (nonatomic, readwrite, retain, nullable) NSArray<NSURL *> *artworkThumbURLs;
|
||||
@property (nonatomic, readwrite, retain, nullable) NSArray<NSURL *> *artworkFullsizeURLs;
|
||||
@property (nonatomic ,readwrite, retain, nullable) NSArray<NSString *> *artworkProviderNames;
|
||||
|
||||
@property (nonatomic, readonly) MP42Metadata *metadata;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in new issue
Block a user