Hi everyone,
I have a question about adding video files to a “Photos” library. My initial observation was, for example, that if I take a picture on my phone at 5:00pm, take a video at 5:01pm, and take another photo at 9pm, the order of the items in a Plex photos library (timeline, or photos view) is always photo 1, photo 2, video 1. I’m primarily taking photos/videos on an iPhone 6 and a Galaxy S5.
After doing some digging into the actual file metadata of several video files using ExifTool from both phones, it appears that the FileModifyDate and FileCreateDate show information about the time, as well as the time zone. These fields are just the values the system uses. The QuickTime tag “CreationDate” (applicable to at least mp4 and MOV files) also has a time and a time zone.
So for a given video (mp4 or MOV), for example:
FileModifyDate, FileCreateDate (both system metadata fields), CreationDate (a QuickTime metadata field) = 2017:08:31 17:12:11-07:00
This is the correct time, and timezone (PDT) the video was taken.
QuickTime metadata fields:
TrackCreateDate, MediaCreateDate = 2017:09:01 00:12:12
TrackModifyDate, MediaModifyDate = 2017:09:01 00:13:05
The last two sets of fields are exactly 7 hrs ahead of the correct time taken.
Given these findings, it appears to me that when Plex is loading videos into a Photos library, it’s sorting by the time that’s 7 hrs ahead of when the video was actually taken. This causes some of the videos to appear as if they were taken on the following day in Timeline view and nowhere near the photos that were taken minutes before or after the video.
Can someone tell me what metadata is imported by Plex to determine how videos are sorted in the “Photos” library? (And “other videos” if you know that as well.) It seems like it’d make much more sense if Plex would use “CreationDate” instead, which would lead to correct placement of the videos near pictures that were taken close together in time.
If this could be fixed, that would be awesome and it’d make viewing my photos libraries even more enjoyable! Go Plex.