All videos from Camera Upload from iPhone have wrong date

When using the camera upload functionality from the iPhone I noticed that all the videos that were taken and uploaded are organized by the day they were uploaded rather than the day they were taken. Even if I manually edit the metadata through plex (Edit->Originally Available) they still are sorted incorrectly and continue to display based on upload date rather than taken date. Has anyone found a workaround for this?

Strange! I pinged some of the iOS team to see if they have any insight, it shouldn’t be like this.

I have the exact same problem. I also seem to have a group of videos that always show up with “today’s date”, whatever today is.

Server version 1.5.5.3634, web version 3.2.1, and iOS app version 4.10

I have the exact same problem.this not good idea~

The date format you’re using needs to pad a 0 in front in order to be YYY-MM-DD, which is a workaround for this issue. It is a known issue, and not sure of an ETA, because it’s a hard problem to solve.

For the geeks out there, here’s an article about it: https://blog.codinghorror.com/sorting-for-humans-natural-sort-order/

I don’t think that there is a way to control the format of a file name on the iPhone nor how the file is named when it is uploaded. Manually going back and padding is not a reasonable long term option. If the Plex team doesn’t want to fix this properly at the moment then maybe adding the ability to rename the files on upload would be a reasonable short term solution.

Shouldn’t be enough to put the "Originally available date equal to the “Sort Tile” date part ? Manually setting that after the Camera Upload is doing the trick for me when viewing “By Date Taken”.

I have the same issue with Android (Sony Xperia XZ). Photos have the ‘uploaded’ date rather than the date taken. I can’t seem to see the date taken in the metadata either. I have just uploaded the server app to the latest version a few days ago. Very frustrating.

@keithah said:
The date format you’re using needs to pad a 0 in front in order to be YYY-MM-DD, which is a workaround for this issue. It is a known issue, and not sure of an ETA, because it’s a hard problem to solve.

For the geeks out there, here’s an article about it: Sorting for Humans : Natural Sort Order

I don’t understand how it is related to the natural sorting problem? The file name contains a perfectly formatted ISO 8601 date. The only issue is, is that instead of using the date from file name, the upload date copied into originallyAvailableAt. Am I missing something?

I am having this issue. Extremely Annoying. Any updated information on the fix?
Thanks.

It looks like this issue might be fixed (sort of) as of server version 1.11.0.4666. If you’re still seeing videos in the wrong spot in the timeline see if this helps:

Symptom(s)

  • Videos are appearing in the photo library timeline with the date uploaded (not the date the photos were taken).
  • When using Get Info
 and viewing the XML the originallyAvailableAt date is the actual date the video was taken on the device

Fix

First try waiting for all uploads from devices to complete. Then right click on the Photos library and pick Analyze. This should fix issues where the video was imported into an older version of the server.

If that doesn’t work


  1. Open the photo library in the web browser app (http://app.plex.tv) and hover over the video until a pencil icon appears in the bottom left corner of the view. Click it.

  2. Verify the Originally Available At date is correct. If so you do not need to edit it.

  3. Click the Save Changes button. Do this even though you did not make a change.

  4. Plex will move the photo to the proper location in the timeline.

Thanks a lot buddy. I will take a look at this soon and verify I can fix it.

Greg

Bump.

This is still broken. I just uploaded over 2000 photos and videos. Most of the videos have the wrong date. I know they can be manually fixed, but there are 100s of them.

Does anyone know if you can manually edit the database to fix this?

1 Like