nextcloud / nextcloud/maps

Prevent scanning for photos/tracks in specific folders

Open
#1,324 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement feature: 🖼 photos
Dominant language
JavaScript
Stars
598
Forks
113
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
Would it be possible to limit what folders Maps scans for photos/tracks - something like the '.nomedia' file Android supports? I have multiple external storages in NC that are CIFS/SMB mounts, and some of them contain a lot of picture files such as book covers, etc. that I would prefer Maps not scan since they're not relevant to what I'd like Maps to display.

Describe the solution you'd like
The ability to place a file (something like 'no.index.maps') into a folder and have Maps skip scanning that folder and all subfolders for any pictures or tracks.

Describe alternatives you've considered
I haven't been able to find any workarounds.

Additional context
Add any other context or screenshots about the feature request here.

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

The issue names no files or tests. Start by locating the Maps code that scans folders for photos and tracks, then check how recursive traversal is tested; done means a marker file causes that folder and all subfolders to be skipped while other folders continue to be scanned.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.