Digikam "offline mode"

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

Digikam "offline mode"

matteo.fortini
Is there a way of having digikam work even when disconnected from MySQL DB?
I mean: using a SQLite DB for "local" pictures, while using MySQL for
the "remote" ones.

I have a setup with a NAS+MySQL storing all my pics, but would like to
be able to bring some with me when I travel and still open/work on
them with Digikam. I can't move to the obvious SQLite-only setup,
since I need to be able to access the pics from multiple places at
home.

Thank you
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam "offline mode"

Martin
This post was updated on .
Hi,

from what I understand the digikam settings for the user are stored in /home/[user-name]/.kde/share/config/digikamrc file. There is a session looking like this (copy of mine):

[Database Settings]
Database Connectoptions=
Database Hostname=
Database Name=/home/[... my-path]/
Database Name Thumbnails=/home/[... mypath]/
Database Password=
Database Port=-1
Database Type=QSQLITE
Database Username=
Internal Database Server=false

So for your setup I would asume to have two digikamrc files like digikamrc.nas and digikamrc.lokal and a shell script to start digikam. In that shell script you just rename or better copy the one of the digikamrc files to digikamrc and then start digikam.

But may be there are better solutions for this.

Cheers
Martin
Reply | Threaded
Open this post in threaded view
|

Re: Digikam "offline mode"

Manuel Bock
Martin's solution works well as far as you keep in mind, what meta data gets
stored in the pictures. Everything else is not being transferred, importing
your 'mobile' pictures into your nas later on (e.g. no faces, no album info,
...)  --> adjust your workflow

I personally keep one dummy picture with all tags applied for syncing that
part of the meta data between the two databases.

To make sure, my configs survive upgrades I don't modify the config, but rather
keep two copies generated by digikam and rename them.

Regards
Manuel

Am Freitag, 12. Juli 2013, 08:48:57 schrieb Martin:

> Hi,
>
> from what I understand the digikam settings for the user are stored in
> /home/[user-name]/.kde/share/config/digikamrc file. There is a session
> looking like this (copy of mine):
>
> [Database Settings]
> Database Connectoptions=
> Database Hostname=
> Database Name=/home/[... my-path]/
> Database Name Thumbnails=/home/[... mypath]/
> Database Password=
> Database Port=-1
> Database Type=QSQLITE
> Database Username=
> Internal Database Server=false
>
> So for your setup I would asume to have two digikamrc files like
> digikamrc.nas and digikamrc.lokal and a shell script to start digikam. In
> that shell script you just rename the one of the digikamrc files to
> digikamrc and then start digikam.
>
> But may be there are better solutions for this.
>
> Cheers
> Martin
>
>
>
> --
> View this message in context:
> http://digikam.1695700.n4.nabble.com/Digikam-offline-mode-tp4664552p4664555
> .html Sent from the digikam-users mailing list archive at Nabble.com.
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users