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
Import: Index keywords from non-primary filenames as well #920
Comments
Thanks for reporting, we will take a look at it! |
Keywords and titles are created from the original file name of the primary (JPEG) file in a stack. Take a look at the details in the photo edit dialog. It's also possible that the keywords are on our stoplist, like ios, android, iphone, apple,... as those words are all over the place in metadata and not helpful for searching. |
Do you actually import your files (let them move and rename by PhotoPrism) or index them in place (without renaming them)? We indeed only store the original name of the main file when importing (with renaming) as we expect all related files to be in the same directory and sharing the same file name prefix. Files in different directories or with different names wouldn't be imported together - at best PhotoPrism may be able to stack them later based on their metadata (like same place and time). |
Yeah, I was importing them from the import folder with the move box checked. As for file name prefix, does this mean PhotoPrism assumes imported files already have a consistent naming structure? The files I was importing are old files from unorganized backups that may or may not have been renamed. I can check in an hour or two. |
Started a preview build, you may test when it's done: https://drone.photoprism.app/photoprism/photoprism/915 |
Thanks for the speedy fix! And apologies for my delay in testing it. Path keywords are now being generated for my 3gp and AVI files. I noticed a few things about keyword and title generation from the path that weren't expected but may or may not be intended.
Is all of this intended? I think the exclusion of numbers was the most unexpected. |
|
Yeah that makes sense. Another idea could be to have an option to, when
importing, show a list of tags that would be generated and allow the user
to select/deselect/modify each before continuing. By no means an important
issue.
…On Wed, Feb 10, 2021, 12:29 PM Michael Mayer ***@***.***> wrote:
1. Numbers and certain stopwords like IMG, JPG, IPHONE,... may be
ignored when generating titles as there are many files named IMG_1234.JPG
out there. Using the title "IMG 1234" is not helpful. When we have too much
time, we'll figure out how to recognize useful numbers in all the noise.
2. Just in 1., there are many files named IMG_1234.JPG or
My_file_title.JPG out there. Using My_file_title or IMG_1234 as keywords is
typically not helpful. When we have too much time, we'll figure out when a
_ doesn't just serve as a space placeholder.
3. Basically the same as 1. and 2.: When you export files from Flickr,
they'll be named My-file-title.JPG, so dashes serve a space placeholder.
When we have too much time, we'll figure out when a - doesn't just serve as
a space placeholder.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#920 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADJKW2SDA3GKVADH6Y4VOS3S6LF7JANCNFSM4WIII5SQ>
.
|
The docs state
When I did an import of JPEG files, keywords were created as expected. A second import of 3gp files resulted in no path-related keywords. A third import of AVI files also resulted in no path-related keywords. I was able to reproduce this.
Files were imported by putting them in the import directory and using the import with move from the web interface. Let me know if you'd like me to try anything else.
The text was updated successfully, but these errors were encountered: