immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
44.98k stars 2.18k forks source link

[BUG] iOS app shows Live Photo as well as seperate video file #2665

Closed ronbruins closed 11 months ago

ronbruins commented 1 year ago

The bug

Timeline view of the iOS app shows the live(motion) photo but also the video file separate. Uber search ‘motion photos’ it shows fine and also at the web it shows correct (even with the motion photo icon)

The OS that Immich Server is running on

Ubuntu 22.04

Version of Immich Server

V1.60

Version of Immich Mobile App

V1.60

Platform with the issue

Your docker-compose.yml content

Default

Your .env content

Default

Reproduction steps

1.open timeline view in iOS app
2.
3.
...

Additional information

No response

jrasm91 commented 11 months ago

Is this an issue?

ronbruins commented 11 months ago

Hi,Yes it is. And I found some more reproductive steps. When I upload via CLI and create album with —album option the following happens:  open iOS app and Live Photos show OK. When I click in ‘library’ where the generated album exists and go back to main screen I see the Live Photo and the video file. When I delete the album all looks good again.So it looks like the automatic creation of an album includes both the image and video file for live and doesn’t combine them there. This somehow is back inherited on the main page of the iOS app.So it seems to do with auto generated albums. However with the new library feature, I don’t know what has changed for this. Because now albums can’t be generated on scan, so the problem will not be seen. But issue 4209 is not fixed yet, so nothing to test right now. Regards,RonOn 27 Sep 2023, at 22:56, Jason Rasmussen @.***> wrote: Is this an issue?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

jrasm91 commented 11 months ago

Hmm, can you help clarify a few things for me? Do you see a live photo properly linked on the web, but the same photo shows up as two individual files in the mobile app?

There is an existing bug in the current, released version of the immich server where live photos are not getting linked automatically. This has been fixed, but not released yet. I want to make sure you are not just experiencing this issue, but that when a live photo is linked properly on the server, there is still an issue with how the mobile app is displaying it, which I think is what the original issue was.

ronbruins commented 11 months ago

Hi, Web is fine. Only happens on mobile. Yeah I had the same issue with 1.79 where everything was a mess :) I also saw that it’s in the latest commits. It is definitely not that current issue. What I had was: - cli upload with —album option- open mobile app and all looked fine. - selected albums and opened an album and then the files were split - back to home page and files showed split as well. As long as I did it go to the album page the main page was fine. When I went to the album page it got messed up, but when deleting the album all was fine again. I can test with the latest release when 4209 is fixed to see if I get the same behavior still. However I believe I can’t automatically create albums when using the library feature, is it? I will try the upload then again, to reproduce the issue. And let you know. On 28 Sep 2023, at 06:00, Jason Rasmussen @.***> wrote: Hmm, can you help clarify a few things for me? Do you see a live photo properly linked on the web, but the same photo shows up as two individual files in the mobile app? There is an existing bug in the current, released version of the immich server where live photos are not getting linked automatically. This has been fixed, but not released yet. I want to make sure you are not just experiencing this issue, but that when a live photo is linked properly on the server, there is still an issue with how the mobile app is displaying it, which I think is what the original issue was.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

ronbruins commented 11 months ago

This seems to be resolved too. I tested it and the behaviour is gone.

ronbruins commented 11 months ago

Issues has been resolved

EK1288 commented 2 months ago

Hi @jrasm91, I have experienced the same bug. Please let me know if you'd like me to open as a new issue.

As with @ronbruins I have used CLI with the album flag to get my photos into Immich. On Web all of my assets look correct but on iOS, my entire timeline has split images and live photos.

I tested deleting and recreating one album with live images. Signed out of the iOS app, signed back in to force a timeline rebuild, and those images now render correctly (single asset) but all others still in CLI created albums do not. I then recreated the album by manually adding from my timeline and everything is rendering correctly.

For CLI albums I see a doubled item count for albums, which suggests the album has added MOV files as separate assets. If I select all from a CLI album and then add to a fresh album, the count goes down to the correct number of (combined single) assets.

Immich Server: v1.109.2 Immich Mobile App: 1.109.0 build.164