mirror of
https://github.com/simon987/sist2.git
synced 2025-04-20 02:36:43 +00:00
Update thumbnail-quality parameter in sist2-admin
This commit is contained in:
parent
610882112d
commit
b3b3005692
@ -7,7 +7,7 @@
|
|||||||
<b-form-input type="number" min="1" v-model="options.threads" @change="update()"></b-form-input>
|
<b-form-input type="number" min="1" v-model="options.threads" @change="update()"></b-form-input>
|
||||||
|
|
||||||
<label>{{ $t("scanOptions.thumbnailQuality") }}</label>
|
<label>{{ $t("scanOptions.thumbnailQuality") }}</label>
|
||||||
<b-form-input type="number" min="1" max="31" v-model="options.thumbnail_quality" @change="update()"></b-form-input>
|
<b-form-input type="number" min="0" max="100" v-model="options.thumbnail_quality" @change="update()"></b-form-input>
|
||||||
|
|
||||||
<label>{{ $t("scanOptions.thumbnailCount") }}</label>
|
<label>{{ $t("scanOptions.thumbnailCount") }}</label>
|
||||||
<b-form-input type="number" min="0" max="1000" v-model="options.thumbnail_count" @change="update()"></b-form-input>
|
<b-form-input type="number" min="0" max="1000" v-model="options.thumbnail_count" @change="update()"></b-form-input>
|
||||||
|
@ -66,7 +66,7 @@ export default {
|
|||||||
path: "Path",
|
path: "Path",
|
||||||
threads: "Number of threads",
|
threads: "Number of threads",
|
||||||
memThrottle: "Total memory threshold in MiB for scan throttling",
|
memThrottle: "Total memory threshold in MiB for scan throttling",
|
||||||
thumbnailQuality: "Thumbnail quality, on a scale of 2 to 32, 2 being the best",
|
thumbnailQuality: "Thumbnail quality, on a scale of 0 to 100, 100 being the best",
|
||||||
thumbnailCount: "Number of thumbnails to generate. Set a value > 1 to create video previews, set to 0 to disable thumbnails.",
|
thumbnailCount: "Number of thumbnails to generate. Set a value > 1 to create video previews, set to 0 to disable thumbnails.",
|
||||||
thumbnailSize: "Thumbnail size, in pixels",
|
thumbnailSize: "Thumbnail size, in pixels",
|
||||||
contentSize: "Number of bytes to be extracted from text documents. Set to 0 to disable",
|
contentSize: "Number of bytes to be extracted from text documents. Set to 0 to disable",
|
||||||
|
@ -109,7 +109,7 @@ ARCHIVE_RECURSE = "recurse"
|
|||||||
class ScanOptions(BaseModel):
|
class ScanOptions(BaseModel):
|
||||||
path: str
|
path: str
|
||||||
threads: int = 1
|
threads: int = 1
|
||||||
thumbnail_quality: int = 2
|
thumbnail_quality: int = 50
|
||||||
thumbnail_size: int = 552
|
thumbnail_size: int = 552
|
||||||
thumbnail_count: int = 1
|
thumbnail_count: int = 1
|
||||||
content_size: int = 32768
|
content_size: int = 32768
|
||||||
|
Loading…
x
Reference in New Issue
Block a user