-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
πΌοΈπ Limit Photos to a single folder + subtree #141
Comments
Yes, @Mikescops and I briefly talked about this at the Contributor Week as well. What we could go for:
That way itβs an automatic setup process but can still be adjusted later. |
I would say it doesn't cover my needs. I have multiple folders with pictures that I want to be shown. Android is using all available photos, no idea for other galleries. Could be nice to check what users expect before pushing such drastic changes :) Also, just having a setting to include/exclude some folders is probably the easiest/most universal way to do? π€·ββοΈ |
@skjnldsv the point of @jancborchardt during our discussion was to have the most easy and transparent way to have the folder setups. I agree include/exclude would be the prefered way (as it is done on the sync for desktop client) but Jan thought choosing a single folder and having a per default on the Photos folder is the easiest way. |
Defaut is indeed always preferable, I'm not arguing this part. |
Let's take root folder but provide an option asap to restrict it to a given folder |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
does .noimage apply to a folder and all subfolders or just the folder itself? |
folder and subfolders :) |
ok, in that case it simply does not work for me ... latest stable release of nextcloud 18 |
@bendschs please file a separate issue then. Make sure to search for duplicates beforehand. |
Can this be developed? the .noimage/.nomedia trick isn't working for any of my folders. |
@kicker334 sure thing β are you interested in contributing? :) |
@jancborchardt I honestly wouldn't know where to start, develop, or test this type of thing... :( I have to ask strangers on the internet for help. |
I'd love to help out - I'm super new to this kind of thing but if I could get some starting tips I can definitely have a go! |
@jancborchardt we already have a setting to configure upload directory for photos. I guess we should keep only one, right? Currently, the default value for this setting is the hard-coded string One limitation could be that a user could want the Photos app to show pictures from its root directory, while wanting new pictures to be uploaded in a specific one. We can internationalize the default value with the way we usually do our translations. |
I would personally vote for a second config option as people might want to set these independently... |
I wouldn't do that, on Android have have this -> AutoUpload folder is translated: So whenever you switch the language of the device, or have a new device or several with different languages it gets messy. The only thing that comes to mind could be to have a way to display this fact as some meta info at the folder within the files app. Just my 2 cents. |
Translated on init would be enough, no? |
Yes, that would be fine π |
Should we also restric the search to the specified folder in other timeline views?
Same question for automated collections:
|
As discussed, the folders from which media is shown can be configurable, and the folder to which photos are added is just one. Then it totally makes sense to restrict the timeline views, favourites, etc to only the selected folders :) It could look like this in the settings :)
Nice-to-have little details:
ccing @jancborchardt in case you had something different in mind and also to double-check the wording :) Edit: changed wording of button ("Choose another folder" to "Add folder") |
@nimishavijay mockup looks great, we just need to make sure that the default for both Media folder and Upload folder is "Photos". :) And one detail, instead of "Choose another folder" I would say "Add folder" because itβs not a switch-choice like for the upload folder. |
@nimishavijay @jancborchardt I agree with removing the limitiation of having only 1 folder, and the nice-to-haves look neat. I'm splitting this into a separate subtask to get the current "finished" PR merged and make the individual steps and progress more transparent! EDIT: |
π π₯³ |
@dermalikmann thanks for the really nice (and popular) suggestion! :) We hope you will enjoy the upcoming release! |
@tobiasKaminsky I guess this needs to be taken into account by mobile clients. The setting is stored as a user config. Not sure whether you can easily access those from the clients ? |
OK.. interesting breaking change. Since now it gives me "No photos or videos in here" at all media & photos. While 1 user shared me folder with 10k images (basically all our personal/family photos), which I saw before. But not anymore ;(. So I changed the media folder, to the shared folder we have (called "Photos & videos"). After selecting that folder, I get: " An error occurred ". [ERROR] photos: Error fetching files
Object { app: "photos", uid: "melroy", level: 3, error: Error }
photos-main.js:2:38563
value https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
value https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
VueJS 2
un https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
n https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
un https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
$emit https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
needContent https://cloud.melroy.org/apps/photos/js/photos-src_mixins_AbortControllerMixin_js-src_mixins_FilesSelectionMixin_js-src_components_File_vue--80ca54.js?v=043159e94cc23a1fb765:2
un https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
n https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
un https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
$emit https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
visibleSections https://cloud.melroy.org/apps/photos/js/photos-src_mixins_AbortControllerMixin_js-src_mixins_FilesSelectionMixin_js-src_components_File_vue--80ca54.js?v=043159e94cc23a1fb765:2
un https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
run https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
er https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
Fn https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
gn https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
(Async: promise callback)
hn https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
Fn https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
tr https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
update https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
notify https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
set https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
set https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
resizeObserver https://cloud.melroy.org/apps/photos/js/photos-src_mixins_AbortControllerMixin_js-src_mixins_FilesSelectionMixin_js-src_components_File_vue--80ca54.js?v=043159e94cc23a1fb765:2
(Async: ResizeObserverCallback)
mounted https://cloud.melroy.org/apps/photos/js/photos-src_mixins_AbortControllerMixin_js-src_mixins_FilesSelectionMixin_js-src_components_File_vue--80ca54.js?v=043159e94cc23a1fb765:2
un https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
Gn https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
insert https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
k https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
ki https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
_update https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
r https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
get https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
run https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
er https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
Fn https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
gn https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
(Async: promise callback)
hn https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
Fn https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
tr https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
update https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
notify https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
set https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
init https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2
init https://cloud.melroy.org/apps/photos/js/photos-main.js?v=d01aad25-1:2 |
This comment was marked as spam.
This comment was marked as spam.
Easiest, not best. This degrades the system. |
I think it would be really nice to create an option where the user can select a single folder (like
/Photos
) and the app only scans this folder and its subfolders.I have tons and tons of images all over my nextcloud, but only in
/Photos
are my, well, photos. And it's kind of a tedious task to create always a.nomedia
file in all other directories.The text was updated successfully, but these errors were encountered: