Better UI and key names.

This commit is contained in:
Damiano Galassi committed 2016-07-29 09:15:50 +02:00
1 parent 892c1dffc1
commit 17ac5d1da1
10 files changed
+223 -149

No files matched your search

+2 -1
View File
@@ -732,7 +732,8 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
SBMetadataResultMap *map = metadataToBeImported.mediaKind == 9 ?
[defaults SB_resultMapForKey:@"SBMetadataMovieResultMap"] : [defaults SB_resultMapForKey:@"SBMetadataTvShowResultMap"];
MP42Metadata *mappedMetadata = [metadataToBeImported metadataUsingMap:map];
BOOL keepEmptyKeys = [defaults boolForKey:@"SBMetadataKeepEmptyAnnotations"];
MP42Metadata *mappedMetadata = [metadataToBeImported metadataUsingMap:map keepEmptyKeys:keepEmptyKeys];
[self.mp4.metadata mergeMetadata:mappedMetadata];