Skip to content

CLI: Create thumbs and convert files in deterministic order #3194

@Rolf-Smit

Description

@Rolf-Smit

1. Problem:

When running photoprism thumbs I can see in the debug logs that thumbnails are being created for files in folders that are otherwise ignored by the indexer (due to the .ppignore files).

log lines like these appear:

media: created 11 thumbnails for photos/should-be-ignored/some-photo-2.jpg [3.649349277s]

I can also see files being created in the cache folder for the images that should be ignored.

2. Reproduce:

Setup an ignored folder using a .ppignore file (put it inside of the folder you want to ignore), then run photoprism thumbs.

Example contents:

# Ignore all files
*

3. Expected behavior:

Thumbnails should not be created for files that are supposed to be ignored by the .ppignore files.

4. Environment:

4a. Software

  • PhotoPrism Build Number: 230211-fd635c0ce (preview)
  • PhotoPrism Architecture: x86_64 (AMD64)
  • Database Type & Version: MariaDB 10.7
  • Operating System Types & Versions: Linux (QNAP 5.10.60-qnap)

4b. Hardware

  • Device / Processor Type: Intel® Celeron® J4125
  • Physical Memory & Swap Space in GB: 16GB
  • Storage Type: HDD (RAID) with SSD read cache

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleasedAvailable in the stable release

Type

No type

Projects

Status

Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions