nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.29k stars 1.77k forks source link

Option to hide all auto-upload folders, only scan watched folders. #8583

Open matthewlswanson10 opened 3 years ago

matthewlswanson10 commented 3 years ago

When I go into the settings for auto upload it shows every single folder containing any media file in it. Would be extremely helpful to turn off scanning and only watch manually set folders. It took me over 3 hours just to tap next to each folder and then tap hide. I don't really think we should be forced to have the app scan our whole phone when we could just set the 1 folder we want to have auto-update.

AndyScherzinger commented 3 years ago

This might be considered 'yet another edge case setting pattern' Can you elaborate a bit on the folders that where auto detected and displayed since you imply it too be that many?

We already filter out certain cases so maybe we just need to have some more 😊

matthewlswanson10 commented 3 years ago

Sure thing! And thanks for the response. Basically I only want my main camera roll to auto-upload. But I have 20-30 other folders of my photos. Things like Downloads, Whatsapp, Reddit, each app that has a separate folder for the photos associated with it. On top of that I have about 400 albums of music on my phone, each with their own album art files.

This makes the list of folders that the Nextcloud app scans enormous, and for me constantly crashing the app when I try to go into the Settings > Auto upload. Probably because of the size? I am attaching a screenshot and painted over the photos of my family.

It would be really nice when the first time you go into the Auto upload setting to be asked something like "Would you like Nextcloud to scan your device for photos and other media files?".

nextcloud

AndyScherzinger commented 3 years ago

Thanks for the update!

Would you like Nextcloud to scan your device for photos and other media files?

Well we don't actively scan but simply ask the Android Operating System (which always does this) I have already added a filter for cover art which only applies of the file has a certain name and is the only image in the folder. Can you provide some examples (as in image-names within one album folder)? That way we might be able to fine tune the ignore filter.

matthewlswanson10 commented 3 years ago

I appreciate your work looking into this! Most if the album art has custom names, made years ago while ripping several hundred CDs. It would be really nice to have to option to not scan the first time you go into the setting, or set a specific directory to scan only. Not sure if that is possible with the way the Android system works. Here's one example:

image

AndyScherzinger commented 3 years ago

Outch, that one is impossible to catch I think. AFAIK you could add a file '.nomedia' which would prevent Android itself from scanning (including the audio files though...)

What is the complete path (folders beginning at the top) where your albums live on your device since I though I already ignore the music folder?

matthewlswanson10 commented 3 years ago

Oh interesting didn't know about .nomedia files. Would that make my music not show up in a media player though?

Most of the music I have on my SD card. It would be something like /SD card/Music/. I may have some on internal storage too but most are on external. I also have a Movies and Downloads directory and things like that on external and internal and I don't need to sync to Nextcloud since I have them backed up several places. So the music albums are about 400 of the folders that show up in the Auto upload settings and the 24 others are various other media and download folders.

joshtrichards commented 1 month ago

Related: #3239 & #5982