I
Immich•2y ago
Pancake

Wrong order on timeline?

Hello, Today I adjusted the EXIF data for most of my photos, and also checked the videos. However, I'm stuck with videos on the date 11/03/2022, which was the file creation date. The modified date has the correct video date. Immich correctly picked the modified date as the video date (checked by clicking on the video and seeing the details on the right). However, on the timeline, said videos are still showing on the 11/03/2022 and not on their dates. Is there a way to force refresh the timeline somehow? Thanks!
20 Replies
etnoy
etnoy•2y ago
Run the metadata extraction job for all items
Pancake
PancakeOP•2y ago
that would take quite long. do you think it would fix it? because for images, after correcting the date, and refreshing metadata just for that item, when I refresh the timeline it goes in the correct place
etnoy
etnoy•2y ago
You can also select the offending images and just run the job for them Wait, is this an external library or mobile uploads?
Pancake
PancakeOP•2y ago
external library for images that works, it's videos that seem bugged?
etnoy
etnoy•2y ago
Ah, for external library you need to refresh metadata for changed files, it's all in the docs
Pancake
PancakeOP•2y ago
Yes, but Immich does get the correct date for the metadata it's just not putting it in the correct order on the timeline
etnoy
etnoy•2y ago
can you give a screenshot or two? which version of immich are you using?
Pancake
PancakeOP•2y ago
1.81.1
Pancake
PancakeOP•2y ago
No description
No description
Pancake
PancakeOP•2y ago
The date on that first video is saying 2018, but on the timeline it's still placed in 2022 I think it's probably related to transcoding, since I cancelled the transcoding tasks as I didn't think they were necessary As a test, I made a copy of that video and added to a new library, and it is correctly placed in the date from the metadata. Something seems to be stuck with these ones. I don't want to have to redo all my library because it's huge. Any way of removing and adding again just those videos?
etnoy
etnoy•2y ago
can you check the metadata of the video (i.e. in windows) and see if there is any reference to 2022 in there?
Pancake
PancakeOP•2y ago
there isn't. it used to be the created date when I first added it to Immich but since then I corrected created date, modified date, etc on the file
etnoy
etnoy•2y ago
what is the order of events here? Did you try a metadata refresh of the video after changing the metadata?
Pancake
PancakeOP•2y ago
Added to immich, lots of videos and photos were grouped on that same 2022 date. Checked all of those and corrected EXIF and created date for all Refreshed metadata for the whole library, and for individual items Immich correctly picked up the new date for each file, as shown on the screenshot Images correctly moved in the timeline to their dates. Videos, however, are stuck on that original date. I tried refreshing metadata and refreshing library, but that position seems stuck. Only way of correcting is to rename the file.
etnoy
etnoy•2y ago
I wonder if this could be a bug in the library refresh code for videos specifically there was a bug in the initial release that used the wrong date for items
Pancake
PancakeOP•2y ago
It looks like it I found something else that's quite interesting, possibly related: I have a video which the time is: 19 Jul 2017 Wed, 17:44 GMT-07:00 That's how immich detected it, and all is well. However, it is placed on the 20th of July, not 19th, because my timezone is GMT 00:00 (on the timeline) I think I found the answer! The problem lays in the transcoded videos After correcting the original video, the date was correctly read, but it looks like for the timeline, it still reads the date from the transcoded one, which wasn't updated
etnoy
etnoy•2y ago
that's very interesting, would you like to file a github issue about that?
Pancake
PancakeOP•2y ago
sure I'm working on a workaround, which is basically deleting the transcoded video, which forces immich to recreate it do you know when does immich detect the transcoded video is missing? is it only when you try to play it?
etnoy
etnoy•2y ago
I don't know, but I'd like to investigate 🙂
Pancake
PancakeOP•2y ago
GitHub
[BUG] Correcting Video Date - Original date persists because of tra...
The bug Hey everyone, I imported my external libraries into Immich, and I had a lot of photos and videos with the wrong dates. They were mostly grouped in the same date. I corrected most of them. F...

Did you find this page helpful?