Replies: 2 comments 6 replies
-
Hi, this is strange because your config looks OK. |
Beta Was this translation helpful? Give feedback.
-
If the media file includes starts with two asterisks, it works, but it is not unique, since two files with the same name can exist in different subdirectories. A definition with (one or more) subfolders (subdir1/file.ext, subdir1/subdir2/file.ext) only works if include entries for the subfolders also exist (subdir1/, subdir1/subdir2/). The reason is that the stream from "readdir-enhanced" uses the same options (including filter method) for directories and files. If a directory does not find a match, it is not searched deeper. |
Beta Was this translation helpful? Give feedback.
-
I wont to generate album containing selected media files. For examle the folder "/home/user/Album/2023" contains 5 images IMG_x.JPG, where x is 1 to 5. I wont skip 2 and 4. My config lok like:
{
"input": "/home/user/Album",
"output": "/home/user/Web",
"include": [
"2022/IMG_0.JPG",
"2023/IMG_1.JPG",
"2023/IMG_3.JPG",
"2023/IMG_5.JPG"
]
}
On generate no files are detected: 1 albums, 0 photos, 0 videos
This is a simplified example. In fact, I have several hundred directories with photos and generate the include lists with tool.
What is the solution for this?
Beta Was this translation helpful? Give feedback.
All reactions