nextcloud / nextcloud/android

Auto upload: support USB mounted storage

Aperta
#396 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement feature: auto upload hotspot: device storage hotspot: media scanner
Lingua principale
Kotlin
Stelle
5.6k
Fork
2k
Merge medio
2g 20h
PR unite (30g)
105

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Non viene indicato alcun file sorgente né alcun test. Inizia ricercando il comportamento di Android Media Scan per USB-mounted storage e confronta il comportamento della camera app con Google Photos; definisci come le scansioni periodiche potrebbero rendere individuabili quelle cartelle nella media database, quindi valida auto upload al verificarsi di un USB mount.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android, kotlin
Ambito
mobile
Tipo di issue
Funzionalità
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.