Media on iPhone is not always numbered and import name is odd
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
- Open iMovie or some other apps that you can export media from like GoPro
- Create a movie and export to Photos
- Look at photo information. It will say something like “My Movie 1”
- Import to Nextcloud
- 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
Reasoning or why should it be changed/implemented?
The name “My Movie 8” is much more useful info than “ovie”
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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