Made some MP42Metadata methods class methods.
This commit is contained in:
1 parent
8c1980c81c
commit
d837d60945
2 files changed
+3
-3
No files matched your search
+2
-2
@@ -343,7 +343,7 @@ static const genreType_t genreType_strings[] = {
|
||||
@"Sort TV Show"];
|
||||
}
|
||||
|
||||
- (NSArray<NSString *> *) writableMetadata
|
||||
+ (NSArray<NSString *> *) writableMetadata
|
||||
{
|
||||
return @[
|
||||
@"Name",
|
||||
@@ -569,7 +569,7 @@ static const genreType_t genreType_strings[] = {
|
||||
|
||||
[metadata retain];
|
||||
|
||||
for (NSString *key in [self writableMetadata]) {
|
||||
for (NSString *key in [MP42Metadata writableMetadata]) {
|
||||
if ((tagValue = metadata.tagsDict[key])) {
|
||||
[tagsDict setObject:tagValue forKey:key];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user