Using libraires as an alternative to partner sharing

The title says it all, I am planning to use the libraries feature as an alternative to partner sharing, specifically with my wife. I am planning to put the immich library directory as a ro mount and then cross share her profile library with me and vice-versa. Tha way we can both see each other's photos in the main time line. So I have a few questions on this approach: 1. Is it advisable to do? like can it cause any issues with the functioning of the app? 2. Can this cause any duplicate issues? 3. Apart from the data it takes to generate the thumbnails, tags etc, would it cause any extra space consumption? 4. Is there a cli command that I can use to maybe setup a cron to periodically scan the libraries automatically? 5. If I want to get away from this approach in the future, How difficult would this be to reset?
7 Replies
etnoy
etnoy2y ago
On my phone right now. 1. No worries! 2. No worries. 3. Nope 4. Not yet, but you can call the REST api with a client. See the api docs 5. No worries, just delete the library
abbhishek_chakra
abbhishek_chakraOP2y ago
Thanks Would the api be called from inside the server container? What auth header to use? Generate an api token from the admin account and use it as the x-api-key header? Also what's the difference between the scanlibrary and updatelibrary endpoints?
etnoy
etnoy2y ago
scan library = queue a scan. update library = change library settings. You can call the api from any client, like from your desktop computer if you want download a program called Postman and play around with the api
abbhishek_chakra
abbhishek_chakraOP2y ago
what auth token would I be using?
etnoy
etnoy2y ago
create api key in user settings
Jim
Jim2y ago
Why should the thumbnails be duplicated? It would be great if they can just be reused
abbhishek_chakra
abbhishek_chakraOP2y ago
The thumbnails get generated per user. What I'm doing is just a workaround for using the library function to perform sharing across accounts. So it has the drawback of having to generate the thumbnails, tags, faces etc.

Did you find this page helpful?