nextcloud / nextcloud/android

Auto upload: support USB mounted storage

Offen
#396 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement feature: auto upload hotspot: device storage hotspot: media scanner
Vorherrschende Sprache
Kotlin
Sterne
5.6k
Forks
2k
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
102

Beschreibung

The new auto upload utilizes the Media Scan implementation of Android. This works fine for internal memory and also SD cards mounted as internal storage. If the SD card is mounted as a USB storage the media scan doesn't seem to get triggered by the camera app but for some reason the Google Photos app will show the media folders on the storage point.
In order to be able to "just" query the USB storage folders a workaround might be that we simply trigger media scans of USB mounts from time to time which will add the media folders to the media database and thus makes them discoverable for us.

cc @tobiasKaminsky

This is an open issue for now and need some research on how this can be solved.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Es wird keine Quelldatei und kein Test genannt. Beginne mit der Untersuchung des Android Media Scan-Verhaltens für USB-mounted storage und vergleiche das Verhalten der camera app mit Google Photos; lege fest, wie regelmäßige Scans dafür sorgen könnten, dass diese Ordner in der media database auffindbar werden, und validiere anschließend auto upload bei einem USB mount.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
android, kotlin
Bereich
mobile
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.