nextcloud / nextcloud/ios

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

Open
#2,531 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

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”

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the iOS media import flow for the logic that derives imported filenames from exported Photos media, then reproduce the issue with a name such as “My Movie 1” and an “IMG_” name. Done means non-“IMG_” names retain the full name or a sensible leading trim, while existing “IMG_” imports continue to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.