Add a preference to overwrite or not existing metadata
This commit is contained in:
7 files changed
+36
-18
No files matched your search
+5
-1
@@ -170,7 +170,8 @@ enum MetadataPrefs {
|
||||
_movieImporter, _movieiTunesStoreLanguage,
|
||||
_tvShowImporter, _tvShowiTunesStoreLanguage,
|
||||
_tvShowTheTVDBLanguage, _tvShowTheMovieDBLanguage,
|
||||
_keepEmptyAnnotations, _keepImportedFilesMetadata])
|
||||
_keepEmptyAnnotations, _overwriteExistingAnnotations,
|
||||
_keepImportedFilesMetadata])
|
||||
}
|
||||
|
||||
@StoredCodable(key: "SBMovieFormatTokens", defaultValue: [Token(text: "{Name}")])
|
||||
@@ -219,6 +220,9 @@ enum MetadataPrefs {
|
||||
@Stored(key: "SBMetadataKeepEmptyAnnotations", defaultValue: false)
|
||||
static var keepEmptyAnnotations: Bool
|
||||
|
||||
@Stored(key: "SBMetadataOverwriteExistingAnnotations", defaultValue: true)
|
||||
static var overwriteExistingAnnotations: Bool
|
||||
|
||||
@Stored(key: "SBFileImporterImportMetadata", defaultValue: false)
|
||||
static var keepImportedFilesMetadata: Bool
|
||||
}
|
||||
Reference in new issue
Block a user