[digiKam-users] Digikam with Inotify

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[digiKam-users] Digikam with Inotify

leoutation
Hi
I use Inotify with Gerbera (Mediatomb fork) to monitor directories
changes. Very useful  to automatically update directories when adding or
deleting files.
Would it be possible to use inotify with Digikam to avoid manual
directories updates?
Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Digikam with Inotify

Gilles Caulier-4
In digiKam album engine:


...we use QFileSystemWatcher which use inotify already under Linux :


Gilles Caulier

Le dim. 28 oct. 2018 à 19:21, <[hidden email]> a écrit :
Hi
I use Inotify with Gerbera (Mediatomb fork) to monitor directories
changes. Very useful  to automatically update directories when adding or
deleting files.
Would it be possible to use inotify with Digikam to avoid manual
directories updates?
Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Digikam with Inotify

leoutation
On 10/28/18 9:50 PM, Gilles Caulier wrote:
> In digiKam album engine:
>
> https://cgit.kde.org/digikam.git/tree/core/libs/album/engine/albumwatch.cpp#n62
>
> ...we use QFileSystemWatcher which use inotify already under Linux :
>
> http://doc.qt.io/qt-5/qfilesystemwatcher.html
>
> Gilles Caulier
I asked this question because, with my previous dk,  I had to update
manually each time I added files. Now, I see "real time" autoscan  works
for new files but not for their thumbnails. To create png thumbnail, I
have to open new file with dk editor.

>
> Le dim. 28 oct. 2018 à 19:21, <[hidden email]
> <mailto:[hidden email]>> a écrit :
>
>     Hi
>     I use Inotify with Gerbera (Mediatomb fork) to monitor directories
>     changes. Very useful  to automatically update directories when
>     adding or
>     deleting files.
>     Would it be possible to use inotify with Digikam to avoid manual
>     directories updates?
>     Thanks
>