Open bo0tzz opened 8 months ago
Yeah I've been recently talking with @jrasm91 about this in a different context and it's a little weird either way. I believe showing the total of all assets can also be confusing because then you upload e.g. 20GB and it shows you 22GB or something (live photos and stuff).
@danieldietzler
Especially when you bring zpools into the equation. Total disk space is always weird there. My photo library shows 51.1GB used of 139.3GB total while my photo directory is 25GB and by total free disk space in the pool has 204GB free. Though I suspect the "used" comes from a du -h type listing of the root mounted folder of the external + root of upload folder size as that correlates to the 51GB.
Perhaps immich should go the path that Apple went... Showing the whole story, but possibly use other
or unkown
when things are not photo/video media.
Discussed in https://github.com/immich-app/immich/discussions/5884
It seems like the statistics query only counts assets that are marked
isVisible
: https://github.com/immich-app/immich/blob/main/server/src/infra/repositories/user.repository.ts#L91-L92