nextcloud / ios

📱 Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.99k stars 882 forks source link

Media on iPhone is not always numbered and import name is odd #2531

Open jth134 opened 1 year ago

jth134 commented 1 year ago

Steps to reproduce

  1. Open iMovie or some other apps that you can export media from like GoPro
  2. Create a movie and export to Photos
  3. Look at photo information. It will say something like “My Movie 1”
  4. Import to Nextcloud
  5. Imported filename will end with “ovie” because the import simply takes the next 4 characters after the first 4.

Expected behaviour

If the filename does not start with “IMG_” it should just take the full filename or a trimmed version that starts at the beginning of the filename.

Actual behaviour

Imported filename will end with “ovie” because the import simply takes the next 4 characters after the first 4.

Screenshots

IMG_7840 IMG_7839

Reasoning or why should it be changed/implemented?

The name “My Movie 8” is much more useful info than “ovie”

Joeri-MS commented 1 year ago

I noticed the same behavior with autoupload and images that Threema stores in the Media Galerie.

The images are stored like this in the galarie Threema_2023-09-0720-56-05, that is the name shown with the Information button in the galerie. The autoupload changes these file to 2023-09-07-ema, and also every other image from that day what Threema stores. So only one image per day stays an the Nexcloud Server.

Images taken with the camera are stored like this, IMG_8248 which are corectly renamed to 2023-09-07-8248. Also Whatsapp images are correct: 658a3526-e7dc-4bdf-b059-dc101819a05 are renamed to 2023-09-06-3526.

App Version is: 4.8.6.4

I think Threema changes there behavior, old images are stored with these pattern image-YYYYMMDD-number