.nomedia not respected
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
If a folder has a .nomedia file, the images in it should not be displayed in the media tab. This is common practice for both Nextcloud's own webinterface and among other gallery apps.
Steps to reproduce
- Upload images to Nextcloud to a new folder
- Create a
.nomediafile in that folder - The files are still visible under the media tab
Expected behaviour
Just like in Nextcloud's webinterface, the images should not be visible in the media tab.
Actual behaviour
The images are not ignored, previews are generated and they are visible in the media tab.
Reasoning or why should it be changed/implemented?
The app should mirror the webinterface. Having the iOS app behave differently here is irritating.
I know this technically duplicates #1474 , but the reasoning in that ticket was wrong. I agree that feature parity to Android apps is not required under iOS. However, in my opinion, mirroring Nextcloud's other products is a valid reason to implement this on iOS as well.
Environment data
iOS version: 16.4.1
Nextcloud iOS app version: 5.2.4.2
Server operating system: Debian 12/alpine container
Web server: nginx
Database: PG 15.6
PHP version: 8.2.17
Nextcloud version: 28.0.4
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
No files or tests are named in the issue. Start by tracing the iOS media tab's file enumeration and preview generation, then verify that images under a folder containing .nomedia are excluded from the media tab and do not receive previews.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100