immich/server/src
cford256 10141504a2
fix: exif rating rounding (#20457)
* fix_Exlif_Metadata_Rating_Rounding_to_Interger

Rounding Exlif Rating Interger
Images support having numbers other than integers for the rating metadata in EXLIF. The database expects it to be an integer though. Trying to upload an image that has a rating other than an integer results in it failing to parse the image and defaulting to showing a corrupted file icon. 

Rather than changing the database type, I would like to round the rating to the nearest integer so that Immich works with images that have a rating like this in their metadata.

* Changing Metadata validateRange to always round.

* Update server/src/services/metadata.service.ts

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>

---------

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
2025-08-04 14:29:51 -05:00
..
bin feat!: remove typeorm (#20366) 2025-07-29 17:28:02 -04:00
commands feat: change default media location to /data (#20367) 2025-07-29 16:58:50 -04:00
controllers feat!: remove typeorm (#20366) 2025-07-29 17:28:02 -04:00
cores feat: change default media location to /data (#20367) 2025-07-29 16:58:50 -04:00
dtos fix(mobile): add partial index based on library ID to remote assets (#20214) 2025-07-30 23:59:00 +05:30
emails fix: email button (#19675) 2025-07-01 22:48:41 -04:00
middleware feat: better endpoint descriptions (#20439) 2025-07-30 13:29:36 -03:00
queries fix: automatic media location migration without internal assets (#20489) 2025-07-31 22:58:35 +00:00
repositories fix: automatic media location migration without internal assets (#20489) 2025-07-31 22:58:35 +00:00
schema fix: user profile images not working in beta timeline (#20203) 2025-07-30 11:09:28 -05:00
services fix: exif rating rounding (#20457) 2025-08-04 14:29:51 -05:00
sql-tools feat: rename schema (#19891) 2025-07-14 10:13:06 -04:00
utils feat: better endpoint descriptions (#20439) 2025-07-30 13:29:36 -03:00
workers feat: allow unordered migrations in dev (#19881) 2025-07-11 10:58:34 -04:00
app.module.ts feat!: absolute file paths (#19995) 2025-07-18 10:57:29 -04:00
config.ts refactor: enum casing (#19946) 2025-07-15 14:50:13 -04:00
constants.ts feat: change default media location to /data (#20367) 2025-07-29 16:58:50 -04:00
database.ts fix(mobile): add partial index based on library ID to remote assets (#20214) 2025-07-30 23:59:00 +05:30
decorators.ts refactor: enum casing (#19946) 2025-07-15 14:50:13 -04:00
enum.ts feat: better endpoint descriptions (#20439) 2025-07-30 13:29:36 -03:00
main.ts feat: remove dep on cwd for workers (#20012) 2025-07-18 10:57:49 -04:00
types.ts feat!: absolute file paths (#19995) 2025-07-18 10:57:29 -04:00
validation.spec.ts fix(server): use luxon for maxdate validator (#11651) 2024-08-08 09:02:39 -05:00
validation.ts feat(web): Remove from Stack (#19703) 2025-07-22 22:17:06 -04:00