Indexing: Add "Groom metadata" option to UI

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2019-12-11 04:57:32 +01:00
parent 559da16f23
commit 592a6eac7a
2 changed files with 10 additions and 1 deletions

View file

@ -30,13 +30,19 @@
:label="labels.convertRaw"
></v-checkbox>
<v-checkbox
v-if="!readonly"
class="ma-0 pa-0"
v-model="options.createThumbs"
color="secondary-dark"
:disabled="busy"
:label="labels.createThumbs"
></v-checkbox>
<v-checkbox
class="ma-0 pa-0"
v-model="options.groomMetadata"
color="secondary-dark"
:disabled="busy"
:label="labels.groomMetadata"
></v-checkbox>
<v-btn
:disabled="busy"
@ -75,11 +81,13 @@
skipUnchanged: true,
createThumbs: false,
convertRaw: false,
groomMetadata: false,
},
labels: {
skipUnchanged: this.$gettext("Skip unchanged files"),
createThumbs: this.$gettext("Pre-render thumbnails"),
convertRaw: this.$gettext("Convert RAW to JPEG"),
groomMetadata: this.$gettext("Groom metadata and estimate locations"),
}
}
},

View file

@ -4,4 +4,5 @@ type IndexerOptions struct {
SkipUnchanged bool `json:"skipUnchanged"`
CreateThumbs bool `json:"createThumbs"`
ConvertRaw bool `json:"convertRaw"`
GroomMetadata bool `json:"groomMetadata"`
}