I am confused, do you run nextcloud on top of the NAS OS (probably DSM) or nextcloud exclusively or should be expexted that nextcloud account can access any generic WebDAV solution?
I am confused, do you run nextcloud on top of the NAS OS (probably DSM) or nextcloud exclusively or should be expexted that nextcloud account can access any generic WebDAV solution?
I am using Synology NAS with newst DSM 7.x Operating-System which doesn´t allow to install Nextcloud-Support like in the old Days. I enabled WebDAV on the Synology-NAS and connection and manual Backup to it/from it works always so i wonder why it isn’t the same with the Gallery.
If this isn´t supposed to work so then i have a wish that Jolla can add a generic “WebDAV Resources” to Accounts.
So installation Nextcloud to Synology is a deep operation/modification which i doesn´t want for several reasons (securtiy, clearness of the vanilla system…etc)
So there is no other “easy” solution to show a WebDAV-Resource in Gallery?
I think there is a tool to mount WebDAV resources to the filesystem. If the mount point is set properly, the tracker should include pictures in gallery then.
Edit: It is called davfs2 and is available from Chum and Openrepos.
I use dafs2 also but i will only show certain Dirs because there are Gigabytes of Pictures which tracker3 shouldn ´t scan/create thumbnails for Days creating them.
The Question was how to add a new Direcory-Item to Gallery.
In the meantime i create a android_storage Directory in home-Dir (my used Tama-Port has sadly no official Android-Support, so this Dir doesn´t exists) and now the Gallery shows there an Empty new Line, i try around with Softlinks if this could work and will post here.
Looks alright, but that only configures the display of the folder.
I’m not 100% sure this is enough modification, at least the Gallery should show an empty Entry but it doesn´t. And Videos from the ~/NAS/Bilder/2023 are shown inside the Video-Dir of Gallery without Thumbnail. So there must be something of a sorting Part inside the Gallery-Code.
Tracker3 is working and Tracking, so this Part should be adressed.
Thanks for that Code-Snippet, now its displayed and also the Thumbnails but the Pictures can´t be opened but it shows the Exif-Data correct, i guess Gallery have no rights to access the Pictures?
(tracker index:2400): Tracker-WARNING **: 11:14:30.353: Could not expand XDG user directory $HOME/android_storage/Music /home/defaultuser/NAS/Bilder/2023 *
I get the same warnings but everything seems to work despite them.
If I copy pictures to android_storage/Pictures, Gallery shows them in the Android Storage folder.
This does not work, though:
If there are videos in android_storage/Movies, Gallery does not show them. This is because android_storage/Movies does not seem to belong to the default folders to be indexed.
After this command
devel-su -p tracker3 index --add --recursive "$HOME/android_storage/Movies"
it gets better. Gallery starts showing those videos in the Videos folder (although not in Android Storage). No need to run tracker3 index .