Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stacks: Stack files by dc:identifier #4094

Open
EricMyhrer opened this issue Mar 10, 2024 · 1 comment
Open

Stacks: Stack files by dc:identifier #4094

EricMyhrer opened this issue Mar 10, 2024 · 1 comment
Labels
enhancement Refactoring, improvement or maintenance task

Comments

@EricMyhrer
Copy link

EricMyhrer commented Mar 10, 2024

1. What is not working as documented?

Images are not stacking at all. Both Unique ID and Sequential Name options are turned on. Seems similar to #576, but my files are closely named

These images do not get put into a stack

Filename examples:
111353204_p0.xmp
111353204_p1.xmp
111353204_p0.jpg
111353204_p1.jpg

111353204_p0.xmp dc:identifier="111353204"
111353204_p1.xmp dc:identifier="111353204"

In fact, the xmp sidecars are identical aside from filename.

2. How can we reproduce it?

Steps to reproduce the behavior:

  1. Move files via ftp or command line, etc
  2. Start an index
  3. Check Library->Stacks to see no images stacked

When reporting an import, indexing, or performance issue, please include the number and type of pictures in your library, as well as any configuration options you have changed, such as for thumbnail quality.

3. What behavior do you expect?

For these images to be staacked

4. What could be the cause of your problem?

No idea.

5. Can you provide us with example files for testing, error logs, or screenshots?

Filename examples:
111353204_p0.xmp
111353204_p1.xmp
111353204_p0.jpg
111353204_p1.jpg

111353204_p0.xmp dc:identifier="111353204"
111353204_p1.xmp dc:identifier="111353204"

Log file example:

2024-03-09 23:24:18 INFO indexing completed in 7 s

2024-03-09 23:24:18 INFO index: updated 4 files [7.329822166s]

2024-03-09 23:24:17 INFO index: stacked related xmp file 116712697_p0.xmp

2024-03-09 23:24:17 INFO index: added main png file 116712697_p0.png

2024-03-09 23:24:17 INFO index: stacked related xmp file 116712697_p1.xmp

2024-03-09 23:24:17 INFO index: added main png file 116712697_p1.png

2024-03-09 23:24:17 INFO index: matched 1 label with 116712697_p1.png [3.092411089s]

2024-03-09 23:24:14 INFO media: 116712697_p0.png was taken at 2024-03-10 04:23:33.85586975 +0000 UTC (file birth time)

2024-03-09 23:24:14 INFO media: 116712697_p1.png was taken at 2024-03-10 04:23:33.779870866 +0000 UTC (file birth time)

2024-03-09 23:24:14 INFO media: created 12 thumbnails for 116712697_p0.png [638.673368ms]

2024-03-09 23:24:14 INFO media: created 12 thumbnails for 116712697_p1.png [463.485427ms]

2024-03-09 23:24:13 INFO index: found no .ppignore file

2024-03-09 23:24:13 INFO classify: loading labels from labels.txt

2024-03-09 23:24:10 INFO classify: loading nasnet

2024-03-09 23:24:10 INFO indexing originals...

image

6. Which software versions do you use?

(a) PhotoPrism Architecture & Build Number: AMD64, ARM64, ARMv7,...
Build 231128-f48ff16ef

(b) Database Type & Version: MariaDB, MySQL, SQLite,...
https://github.com/truecharts/charts/tree/master/charts/stable/photoprism

(c) Operating System Types & Versions: Linux, Windows, Android,...
TrueNAS-SCALE-23.10.1.3

(d) Browser Types & Versions: Firefox, Chrome, Safari on iPhone,...
Firefox 123.0.1

(e) Ad Blockers, Browser Plugins, and/or Firewall Software?
None

7. On what kind of device is PhotoPrism installed?

This is especially important if you are reporting a performance, import, or indexing issue. You can skip this if you're reporting a problem you found in our public demo, or if it's a completely unrelated issue, such as incorrect page layout.

(a) Device / Processor Type: Raspberry Pi 4, Intel Core i7-3770, AMD Ryzen 7 3800X,...

Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz

(b) Physical Memory & Swap Space in GB

32GB

(c) Storage Type: HDD, SSD, RAID, USB, Network Storage,...

Western Digital 12TB WD

(d) Anything else that might be helpful to know?

N/A

8. Do you use a Reverse Proxy, Firewall, VPN, or CDN?

No

@EricMyhrer EricMyhrer added the bug Something isn't working label Mar 10, 2024
@EricMyhrer EricMyhrer changed the title SHORT DESCRIPTION OF THE PROBLEM YOU ARE REPORTING Images are not stacking at all. Both Unique ID and Sequential Name options are turned on. Mar 10, 2024
@graciousgrey graciousgrey added enhancement Refactoring, improvement or maintenance task and removed bug Something isn't working labels Mar 11, 2024
@graciousgrey
Copy link
Member

graciousgrey commented Mar 11, 2024

Thanks for your feedback!

I assume the files are not stacked because your naming pattern is not considered sequential by PhotoPrism. You can find examples of supported patterns in our documentation.

https://docs.photoprism.app/user-guide/settings/library/

Is this a custom pattern you are using or are these names created by another tool?

Regarding stacking by unique identifier, we currently stack by Unique Image ID (Exif), Document ID, or Instance ID (XMP). In a future version, we may be able to add stacking by dc:identifier.

@graciousgrey graciousgrey changed the title Images are not stacking at all. Both Unique ID and Sequential Name options are turned on. Stacks: Stack files by dc:identifier Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Refactoring, improvement or maintenance task
Projects
None yet
Development

No branches or pull requests

2 participants