[digiKam-users] New to DK - questions.

Maik Qualmann metzpinguin at gmail.com
Thu Mar 21 07:00:10 GMT 2019


Here we have a patch (https://bugs.kde.org/show_bug.cgi?id=384820) for a 
different album root with different operating systems. However, I want to 
complete the patch so that each digiKam instance can set its own album root.

Maik

Am Donnerstag, 21. März 2019, 04:26:36 CET schrieb Cleaneasy:
> Could I use a UNC for my albumroot (mountpath) rather than mounting it to a
> drive letter?  (ex. \\FREENAS\media\AllPics )
> 
> The example I was using from bugs.kde.org is:
> 
> 
> "networkshareid:?mountpath=/mnt/test1&mountpath=/mnt/test2"
> 
> This test works:
> 
>     QUrl url;
>     url.setScheme("networkshareid");
>     url.addQueryItem("mountpath", "/mnt/test1");
>     url.addQueryItem("mountpath", "/mnt/test2");
>     QByteArray urlString = url.toEncoded();
>     QUrl url2 = QUrl::fromEncoded(urlString);
>     qDebug() << url2.toEncoded()
>              << url.toString();
>     qDebug() << url2.allQueryItemValues("mountpath");
> 
> Output
> 
> "networkshareid:?mountpath=/mnt/test1&mountpath=/mnt/test2"
> "networkshareid:?mountpath=/mnt/test1&mountpath=/mnt/test2" ("/mnt/test1",
> "/mnt/test2")
> 
> 
> 
> 
> 
> -----Original Message-----
> From: Digikam-users <digikam-users-bounces at kde.org> On Behalf Of Andrew
> Goodbody Sent: Wednesday, March 20, 2019 3:53 AM
> To: digikam-users at kde.org
> Subject: Re: [digiKam-users] New to DK - questions.
> 
> Yes there is a way to use the same db from different OSes. See
> https://bugs.kde.org/show_bug.cgi?id=261277 where a patch was added to let
> you specify multiple paths in albumroot so each system can have its own
> version at the same time. However there is STILL no UI to do this and
> everyone keeps forgetting about it and it is not mentioned anywhere!
> 
> Also IMHO a better plan would be to move the albumroot setting into the rc
> file (which is local to each system), but that suggestion is simply ignored
> by the developers.
> 
> Getting this sorted properly would be a major step forward in the usability
> of digikam.
> 
> Andrew
> 
> On 20/03/2019 03:11, Andrey Goreev wrote:
> > Hello,
> > 
> > You are correct on what digiKam DB is.
> > You would need to add your images as Collections in Settings.
> > I am not sure if there is way to use the same database from both linux
> > and windows though because paths to images will be different.
> > The only way I see is to write to sidecar files.
> > But maybe someone else in this room already figured that out?
> > 
> > Thanks,
> > Andrey
> > 
> > -----Original Message-----
> > From: Digikam-users <digikam-users-bounces at kde.org> On Behalf Of
> > Cleaneasy
> > Sent: March 19, 2019 9:00 PM
> > To: digikam-users at kde.org
> > Subject: [digiKam-users] New to DK - questions.
> > 
> > Greetings!  I am really looking forward to getting more familiar with
> > digiKam!
> > 
> > I may have been too enthusiastic starting out. I read the article "Use
> > digiKam with a NAS and MariaDB" and then installed the windows version
> > and a linux version, and put a MariaDB on my freenas.  All went well
> > after a short learning curve.  I do still have a few questions I could
> > not find in past posts or the FAQ.
> > 
> > Perhaps this is obvious, but where are the images stored?  Does the DB
> > just store thumbnails, metadata and pointers to images? If so how can
> > I use both linux and windows since the pointers stored in the DB will
> > be different even if they point to the NAS which both machine can see,
> > but with a slightly different paths?
> > 
> > In any case I am sure it will be pretty important to update digiKam on
> > each platform at the same time. Until I get this figured out I'm only
> > using linux to add photos.
> > 
> > Thanks!
> > Kip







More information about the Digikam-users mailing list