Remove some unrelated properties.
This commit is contained in:
1 parent
99edb689d0
commit
5ba205be44
2 files changed
+4
-19
No files matched your search
+1
-9
@@ -20,10 +20,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
NSMutableArray<MP42Image *> *artworks;
|
NSMutableArray<MP42Image *> *artworks;
|
||||||
|
|
||||||
NSArray<NSURL *> *artworkThumbURLs;
|
|
||||||
NSArray<NSURL *> *artworkFullsizeURLs;
|
|
||||||
NSArray<NSString *> *artworkProviderNames;
|
|
||||||
|
|
||||||
NSString *ratingiTunesCode;
|
NSString *ratingiTunesCode;
|
||||||
|
|
||||||
uint8_t mediaKind;
|
uint8_t mediaKind;
|
||||||
@@ -48,7 +44,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
/**
|
/**
|
||||||
* Returns the complete list of available metadata.
|
* Returns the complete list of available metadata.
|
||||||
*/
|
*/
|
||||||
- (NSArray<NSString *> *) availableMetadata;
|
+ (NSArray<NSString *> *) availableMetadata;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the complete list of writable metadata.
|
* Returns the complete list of writable metadata.
|
||||||
@@ -90,10 +86,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|||||||
|
|
||||||
@property(nonatomic, readwrite, retain) NSMutableArray<MP42Image *> *artworks;
|
@property(nonatomic, readwrite, retain) 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;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_END
|
NS_ASSUME_NONNULL_END
|
||||||
+3
-10
@@ -195,9 +195,6 @@ static const genreType_t genreType_strings[] = {
|
|||||||
@synthesize artworks;
|
@synthesize artworks;
|
||||||
|
|
||||||
@synthesize isArtworkEdited;
|
@synthesize isArtworkEdited;
|
||||||
@synthesize artworkThumbURLs;
|
|
||||||
@synthesize artworkFullsizeURLs;
|
|
||||||
@synthesize artworkProviderNames;
|
|
||||||
|
|
||||||
@synthesize mediaKind;
|
@synthesize mediaKind;
|
||||||
@synthesize contentRating;
|
@synthesize contentRating;
|
||||||
@@ -247,10 +244,6 @@ static const genreType_t genreType_strings[] = {
|
|||||||
|
|
||||||
[artworks release];
|
[artworks release];
|
||||||
|
|
||||||
[artworkThumbURLs release];
|
|
||||||
[artworkFullsizeURLs release];
|
|
||||||
[artworkProviderNames release];
|
|
||||||
|
|
||||||
[ratingiTunesCode release];
|
[ratingiTunesCode release];
|
||||||
[tagsDict release];
|
[tagsDict release];
|
||||||
|
|
||||||
@@ -259,7 +252,7 @@ static const genreType_t genreType_strings[] = {
|
|||||||
|
|
||||||
#pragma mark - Supported metadata
|
#pragma mark - Supported metadata
|
||||||
|
|
||||||
- (NSArray<NSString *> *) availableMetadata
|
+ (NSArray<NSString *> *) availableMetadata
|
||||||
{
|
{
|
||||||
return @[
|
return @[
|
||||||
@"Name",
|
@"Name",
|
||||||
@@ -547,9 +540,9 @@ static const genreType_t genreType_strings[] = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
- (NSArray<NSString *> *)availableGenres {
|
- (NSArray<NSString *> *)availableGenres {
|
||||||
return [NSArray arrayWithObjects: @"Animation", @"Classic TV", @"Comedy", @"Drama",
|
return @[@"Animation", @"Classic TV", @"Comedy", @"Drama",
|
||||||
@"Fitness & Workout", @"Kids", @"Non-Fiction", @"Reality TV", @"Sci-Fi & Fantasy",
|
@"Fitness & Workout", @"Kids", @"Non-Fiction", @"Reality TV", @"Sci-Fi & Fantasy",
|
||||||
@"Sports", nil];
|
@"Sports"];
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma mark - Mutators
|
#pragma mark - Mutators
|
||||||
|
|||||||
Reference in new issue
Block a user