diff --git a/client/components/modals/libraries/EditModal.vue b/client/components/modals/libraries/EditModal.vue
index 633b7646..1fd011cf 100644
--- a/client/components/modals/libraries/EditModal.vue
+++ b/client/components/modals/libraries/EditModal.vue
@@ -54,6 +54,9 @@ export default {
buttonText() {
return this.library ? this.$strings.ButtonSave : this.$strings.ButtonCreate
},
+ mediaType() {
+ return this.libraryCopy?.mediaType
+ },
tabs() {
return [
{
@@ -66,12 +69,19 @@ export default {
title: this.$strings.HeaderSettings,
component: 'modals-libraries-library-settings'
},
+ {
+ id: 'scanner',
+ title: this.$strings.HeaderSettingsScanner,
+ component: 'modals-libraries-library-scanner-settings'
+ },
{
id: 'schedule',
title: this.$strings.HeaderSchedule,
component: 'modals-libraries-schedule-scan'
}
- ]
+ ].filter((tab) => {
+ return tab.id !== 'scanner' || this.mediaType === 'book'
+ })
},
tabName() {
var _tab = this.tabs.find((t) => t.id === this.selectedTab)
@@ -105,7 +115,9 @@ export default {
disableWatcher: false,
skipMatchingMediaWithAsin: false,
skipMatchingMediaWithIsbn: false,
- autoScanCronExpression: null
+ autoScanCronExpression: null,
+ hideSingleBookSeries: false,
+ metadataPrecedence: ['folderStructure', 'audioMetatags', 'txtFiles', 'opfFile', 'absMetadata']
}
}
},
diff --git a/client/components/modals/libraries/LibraryScannerSettings.vue b/client/components/modals/libraries/LibraryScannerSettings.vue
new file mode 100644
index 00000000..95ae801a
--- /dev/null
+++ b/client/components/modals/libraries/LibraryScannerSettings.vue
@@ -0,0 +1,129 @@
+
+ Metadata order of precedence
+
+ {{ $strings.LabelSettingsParseSubtitles }} + +
++ {{ $strings.LabelSettingsFindCovers }} + +
++ {{ $strings.LabelSettingsPreferMatchedMetadata }} + +
++ {{ $strings.LabelSettingsEnableWatcher }} + +
+- {{ $strings.LabelSettingsParseSubtitles }} - -
-- {{ $strings.LabelSettingsFindCovers }} - -
-- {{ $strings.LabelSettingsOverdriveMediaMarkers }} - -
-- {{ $strings.LabelSettingsPreferAudioMetadata }} - -
-- {{ $strings.LabelSettingsPreferOPFMetadata }} - -
-- {{ $strings.LabelSettingsPreferMatchedMetadata }} - -
-- {{ $strings.LabelSettingsEnableWatcher }} - -
-