Closed clombt closed 3 months ago
Thanks for that idea! One question about your use case: Since Immich has the possibility to add exclusion paths in the external library settings, do you want to import images from your external libraries to Immich but you do not to add them to any albums?
Yes, this is the case for me sometimes. For example, when the folder just contains a bunch of random pictures. I guess it's not very common.
Implemented with 0.7.0.
I used your code as a template, but the actual implementation is a little bit different. Instead of removing entries from album_to_assets
, the asset is not considered for album creation if its path contains an entry from ignore_albums
.
Thanks again for the proposal!
Hello! How I add a list of folders to be ignored? IGNORE: "folder_1" "folder_2" ? Thanks
When using Docker, pass a colon :
separated string
IGNORE: "folder_1:folder_2"
Hi,
I really like this tool. It works great and is perfect for my usecase of immich. Due to the way how my photo library is structured I wanted to add the feature to ignore certain folders. I thought this might be a nice feature for other users too and it could be added to this repo.
I just added an additional argument at the top, which takes the folder list separated by a colon:
After fetching all the assets and the object
album_to_assets
is created, I remove the albums that are in the ignored list:Thanks for creating this script!