New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Portrait mode saves each photo in a new directory #3271
Comments
This comment has been minimized.
This comment has been minimized.
|
r2evans thinks that nextcloud-android-bot and gitmate.io are missing the point. This issue is completely unrelated to all of those suggestions. (Not bad for a bot, though.) The problem is that the nextcloud-android app only looks for specific files within each camera directory. The camera app (at least on my pixel 3) creates a few types of images:
The last one is a relatively recent introduction to the android scene (as far as I'm aware), so it's not surprising that it is not immediately recognized. The previous assumption that all images to sync would be on the top level has been safe up until now. I suggest that specifically looking for directory names that follow this convention will not work with all phone manufacturers, so perhaps the solution could be:
If the default is "false" (no subdirs), then the original behavior remains unchanged. |
For a/b:
|
|
Is there a reason to deviate from the naming structure that android is already using to deconflict file-naming? (That is, sync the dirs as-is, no renaming.) You don't have to do any translation, and the android naming convention already mitigates name conflicts. |
|
I think this would be solved by #285 increment 5: real one way sync. In the meantime with the current logic it might be feasible to just scan for every **/*.jpg and upload it as if they were in the parent directory? There could be a setting to enable/disable this, but I think that's it. If there is a naming conflict said file could be ignored for now (or saved with a suffix), but I don't think there should be any, at least not with the photo app/DCIM folder. So one could restrict this feature for the DCIM folder to be sure for now. I think syncing camera photos is really important, maybe so important that such quick fix is worth it. |
|
I came here because I saw all those The two files in the top level This makes me wonder if there already is something in place that is uploading the Portrait pictures from the To double check I just took a Portrait picture now and instantly saw the upload notification. and on the phone they only exist within the |
|
This should solve it, can you give it a try? |
|
I also have the problem on my Pixel 4 XL: a new subfolder is created with each photo in Portrait mode. I tested the latest version of the application Nextcloud on the Play Store and the APK of #4425. It doesn't change anything unfortunately... The result with the app on the Play Store: The result with the APK of #4425: Thanks... |
|
@tobiasKaminsky I also can still see the issue with portrait photos with the latest playstore release as described by @nephthys The photos get uploaded just fine, the issue is that there is still a new media folder detected for each portrait photo. |
|
Tobias I'm having this issue in a Pixel 3a. Will try the APK o your PR. |
|
This seems a veery old bug, which I thought is already fixed. |
|
So I clarified this. |
|
Yes, this is still an issue with 3.12.1 RC1 Isn't there a way to somehow ignore directories from showing them in the autoupload if they are a child of another folder that is offered to autoupload? As an alternative, how about just showing auto upload folders that are enabled by default and just show the full list after pressing a plus button to setup new auto uploads? That would already help a lot to get a cleaner UI for such cases? |
yes that would be possible but isn't implemented atm
the simpler solution is probably rather the initial idea of hidding such folders at all times (since they don't make any sense for auto upload) A question (since i don't have such a device/behavior): Are these images uploaded or ignored at the moment when the parent folder has been activated? |
|
Yes, they are uploaded just fine, the only problems I see with it are:
|
|
I also get a lot of "New photo media folder detected" and "File upload conflict" with the Pixel 3a. It has a negative effect on the WAF (Wife Acceptance Factor) in this house and my general mood. |
|
I want to chime in and add another request for hiding subfolders of folders which are already selected for auto upload. One particular annoyance we've had with the 'New photo media folder detected' notifications is that there isn't a wya to hide them without hiding all NextCloud notifications. Since my wife alternates between taking pictures and videos of our kids often, lots of her videos get vibrations recorded because the previously taken pictures trigger the notifications. Ultimately, since the pictures are already being uploaded (because the parent folder is uploading them), the notifications feel pretty unnecessary and redundant. And unfortunately NextCloud doesn't seem to have granular control over which notifications to show either. |
|
Interesting - it looks like #4738 does allow this notification to be hidden, which is exactly what I wanted. That's excellent to know. Thanks for pointing it out! |




Is your feature request related to a problem? Please describe.
Google Camera on Pixel 2/3 in Portrait mode saves each photo in a new folder.
See:
This makes camera photo backups impossible because you'd need to add a new folder to backup.
Describe the solution you'd like
It would be awesome if Nextcloud app could recognize DCIM/IMG_* folders and back their content into Camera upload location together with all other photos.
Describe alternatives you've considered
I can manually move each portrait to the Camera directory, but that sucks.
The text was updated successfully, but these errors were encountered: