Replies: 3 comments 9 replies
|
I am not using external libraries so I don't have a setup to test that, but here is an example of asset: Original path should be the one you want to use for this. |
1 reply
|
I was trying to test this out. For reference my old CRITERIA (working in [
{
"key": "originalFileName",
"split": {
"delimiters": [
".",
"_cropped",
"_edited",
"_crop",
"_edit"
],
"index": 0
}
},
{
"key": "localDateTime",
"delta": {
"milliseconds": 1000
}
}
]My new one (also not working): [
{
"key": "originalFileName",
"regex": {
"key": "^(.*?)([\\._\\-](crop|cropped|edit|edited).*)?\\.([^\\.]*)$",
"index": 1
}
},
{
"key": "originalPath",
"regex": {
"key": "^(.*/)[^/]+/?$",
"index": 1
}
}
] |
8 replies
|
It works! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The problem I have now, is that I have related images, that I want stacked, that have EXIF info stripped and a different file creation time.
Using my current method of comparing filename and date does not work because some files won't get stacked.
And if I remove the date condition then photos across different folders get stacked that coincidentally have the same
IMG_1234.So what I actually need, is a way to only stack images if they are in a common folder (I'm mainly using external libraries).
Is it already possible to use
originalPathas a key? I didn't see it in the docs.Still I would need some additional features to only compare the directory path with the filename stripped.
A supercharged
spliton/would do where I can specify a range like0:-1to get back the whole string except for the last split part (filename).This would also work with regex, I believe.
All reactions