Add the formatting options to the metadata map.
This commit is contained in:
14 files changed
+400
-190
No files matched your search
@@ -263,8 +263,8 @@ extension Array where Element == Artwork {
|
||||
}
|
||||
|
||||
let defaults = UserDefaults.standard
|
||||
if let map = metadata.mediaKind == .movie ? defaults.map(forKey: "SBMetadataMovieResultMap")
|
||||
: defaults.map(forKey: "SBMetadataTvShowResultMap") {
|
||||
if let map = metadata.mediaKind == .movie ? defaults.map(forKey: "SBMetadataMovieResultMap2")
|
||||
: defaults.map(forKey: "SBMetadataTvShowResultMap2") {
|
||||
return metadata.mappedMetadata(to: map, keepEmptyKeys: false)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in new issue
Block a user